Commit Graph

656 Commits

Author SHA1 Message Date
Daniel James Smith 86d6be3187
[PM-8448] Create BItwarden Send UI library package (#9402)
* Create the send-ui library package

Create folder
Create package.json
Create jest config
Create tsconfig and tsconfig.spec.json
Create README
Add empty barrel file for exporting future members

* Register @bitwarden/send-ui with all clients and libs

* Register with eslint

* Fix linting issue with README

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-05-29 11:26:40 +01:00
Alex Urbina 81c1456f6b
BRE-87 ADD: Slack notification enable feature and check in version-bump workflow (#9385) 2024-05-27 15:35:19 -06:00
Thomas Rittson c0bb7b9edf
[AC-2631] Add device-approval command scaffolding (#9351)
* Add device-approval scaffolding

* Refactor: move helpers to BaseProgram

* Update CODEOWNERS
2024-05-27 11:03:23 +10:00
Matt Bishop f3b82c30f2
Use latest PR template (#9360) 2024-05-24 10:47:16 -04:00
Addison Beck 954d427539
Account for commercial licensed CLI code in pipelines (#9293)
* Add `:oss` prefix to preexisting npm commands

* Build `bit` and `oss` versions in `build-cli` workflow

* Update release job to publish new artifacts

* Rename build job tasks for clarity
2024-05-24 09:36:26 -05:00
Vince Grassia cdaded2049
BRE-64 - Fix version bump message (#9321) 2024-05-23 15:05:54 +02:00
Alex Urbina b0cc480853
FIX: version-auto-bump.yml trigger parameters (#9298) 2024-05-21 16:34:19 -06:00
Opeyemi acb153520e
[BRE-50] - Update Slack Notif Channel Ref (#9267)
* delete slack notif channel ref

* update slack channel reference
2024-05-21 19:22:15 +01:00
Alex Urbina f0a3d942c7
BRE-40 ADD: step to report upcoming release version to Slack (#9201) 2024-05-21 14:07:04 -04:00
Robyn MacCallum f07840339e
Add autofill as codeowners to ddg files (#9268)
* Add autofill as codeowners to ddg files

* Add comments
2024-05-20 10:37:52 -04:00
Daniel James Smith e774089d0e
Make premium.component to be owned by team-billing-dev (#8935)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-05-02 15:04:38 -04:00
MtnBurrit0 f07d1039c1
Display commit status in GH summary (#8918) 2024-04-29 08:25:59 -06:00
Cesar Gonzalez 5dc200577c
[PM-7663] Update Build Pipeline for Beta Labelling (#8903)
* [PM-7663] Update build pipeline for beta labeling

* [PM-7663] Update build pipeline for beta labelling

* [PM-7663] Update build pipeline for beta labelling

* [PM-7663] Update build pipeline for beta labelling

* [PM-7663] Update build pipeline for beta labelling

* [PM-7663] Incorporate build workflow for the Chrome manifest v3 beta

* [PM-7663] Update build pipeline for beta labeling

* [PM-7663] Update build pipeline for beta labeling

* [PM-7663] Update build pipeline for beta labeling

* [PM-7663] Ensure we can have a valid version number based on the github run id

* [PM-7663] Ensure we can have a valid version number based on the github run id

* [PM-7663] Reverting change made to the run id, as it will not function

* [PM-7663] Reverting change made to the run id, as it will not function

* [PM-7663] Reverting change made to the run id, as it will not function

* [PM-7663] Reverting change made to the run id, as it will not function

* [PM-7663] Reverting a typo

* Fix Duplicate `process.env

* Learn how to use

---------

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2024-04-26 15:15:36 -04:00
watsondm 423d8c71b5
CLOUDOPS-1592 Remove artifacts R2 steps from desktop release workflows (#8897)
* CLOUDOPS-1592 Remove artifacts R2 steps from desktop release workflows

* CLOUDOPS-1592 Remove artifacts R2 steps from staged rollout workflow
2024-04-24 11:01:51 -04:00
MtnBurrit0 c8a3cb5708
[DEVOPS-1919] - Slack messages contain the incorrect git commit sha (#8813)
* Initial run to see what data I can access

* Update to use JQ

* Use dev action

* Implement artifact build sha
- Moved notify job to happen post artifact check
- Removed git sha job
- Updated jobs to use real artifact sha

* Update .github/workflows/deploy-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Handle web build triggers
- Update GH environment with commit as well

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2024-04-19 13:39:06 -06:00
Cesar Gonzalez 1cde2dbaef
[PM-7527] Add `Build Manifest v3` build step to the build-browser.yml Github action (#8777)
* [PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released

* [PM-7527] Add `Build Manifest v3` build step to the build-browser.yml Github action
2024-04-17 14:38:47 +00:00
Cesar Gonzalez 65f1bd2e3a
[PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released (#8771)
* [PM-7527] Get MV3 build artifacts in main branch with clear messaging that that the build is not to be released

* Update .github/workflows/build-browser.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2024-04-16 16:35:53 -05:00
Matt Bishop 7375dc9aab
Exclude not exploitable state from scanner SARIF results (#8603) 2024-04-04 08:41:39 -04:00
cyprain-okeke 9956f020e7
[AC-1911] Clients: Create components to manage client organization seat allocation (#8505)
* implementing the clients changes

* resolve pr comments on message.json

* moved the method to billing-api.service

* move the request and response files to billing folder

* remove the adding existing orgs

* resolve the routing issue

* resolving the pr comments

* code owner changes

* fix the assignedseat

* resolve the warning message

* resolve the error on update

* passing the right id

* resolve the unassign value

* removed unused logservice

* Adding the loader on submit button
2024-04-02 17:04:02 +01:00
watsondm 07c172d3a3
Revert "CLOUDOPS-1369 Remove R2 bucket secrets and step from artifacts (#8534)" (#8546)
This reverts commit 7021e94475.
2024-03-29 09:43:06 -04:00
watsondm 7021e94475
CLOUDOPS-1369 Remove R2 bucket secrets and step from artifacts (#8534) 2024-03-28 16:44:40 -04:00
Matt Bishop 14e8e34b2d
Adjust scan permissions (#8513) 2024-03-27 12:35:13 -04:00
Daniel García 2064862afc
[PM-6832][PM-7030] Rollback macos runner version to 11 (#8450) 2024-03-26 12:23:01 -04:00
Alex Urbina 2ae6fbe275
DEVOPS-1843 Fix US DEV Web Vault deploys one commit behind (#8458)
* DEVOPS-1843 REFACTOR: Trigger web vault deploy step to send the build-web run-id to deploy-web workflow

* DEVOPS-1843 ADD: build-web-run-id input to deploy-web workflow to download specific run_id artifact

* DEVOPS-1843 FIX: build-web-run-id input in build-web workflow

* DEVOPS-1843 REFACTOR: build-web-run-id parameter type to number

* DEVOPS-1843 ADD: build-web-run-id input to deploy-web workflow to workflow_dispatch

* DEVOPS-1843 FIX: build-web-run-id type in deploy-web.yml

* DEVOPS-1843 REFACTOR: web vault deploy action to use GitHub Run ID

* DEVOPS-1843 REFACTOR: cloud asset download steps in deploy-web.yml

* DEVOPS-1843 REFACTOR: description for build-web workflow Run ID

Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>

---------

Co-authored-by: MtnBurrit0 <77340197+mimartin12@users.noreply.github.com>
2024-03-25 11:05:25 -06:00
Daniel García 5bd5147457
Update renovate to group napi packages (#8469) 2024-03-25 17:04:06 +01:00
Vince Grassia b81d6a78db
Version Bump Workflow - Fix set-final-version-output step (#8468) 2024-03-25 16:15:05 +01:00
Oscar Hinton 51f46e797c
[PM-5571] Migrate enableDDG to state provider framework (#8384)
Migrate enableDuckDuckGo to state provider framework.
2024-03-22 13:32:03 -04:00
Vince Grassia 4c89156b0c
Remove gh-pages job as it's no longer used (#8434) 2024-03-21 19:56:49 -06:00
Matt Bishop 087d174194
Scanning (#8079)
* Scanning

* Indicate test code

* Set test inclusions correctly

* Provide full depth for Sonar scans

* Latest standards
2024-03-18 12:53:08 -04:00
Vince Grassia 6b1da67f3a
DEVOPS-1840 - Update version bump workflow for automatic version calculation (#8306) 2024-03-12 11:20:40 -06:00
Daniel García 6b74daacd6
Remove clean-webpack-plugin (#8240) 2024-03-12 18:02:47 +01:00
Todd Martin c10a59b019
[PM-6695][PM-6717] Revert Linux build to Ubuntu 20.04 runner (#8289)
* Revert Linux build to Ubuntu 20.04 runner

* Updated notes.
2024-03-11 12:40:14 -04:00
Joseph Flinn 1259890f17
Update Deploy Web Inputs (#8236)
* Switch from bool to string comparison

* Switching to a simpler boolean logic for file deletion
2024-03-06 20:07:54 -08:00
renovate[bot] bd4453cce5
[deps] DevOps: Update gh minor (#8179)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 13:49:15 -05:00
Daniel García af2c75cb4b
Update snap base to core22 (#8224)
* Update snap base to core22

* Add version warnings to the workflows
2024-03-06 13:10:56 -05:00
Joseph Flinn 06993594cc
azcopy - Switch hash comparison from timestamp (#8218)
* Switch from timestamp to hash comparison

* Switch flag placement

* Add a value to the --compare-hash option

* Setting compare-hash to a string value

* undo debug default
2024-03-06 07:22:37 -08:00
Opeyemi 450b5b6e8c
Update Failure Jobs (#8223) 2024-03-06 14:59:18 +01:00
Alex Urbina ed2bd7c900
DEVOPS-1826 Add sync-delete-destination-files flag to stop deleting remote files in Storage Accounts (#8200)
* DEVOPS-1826 ADD: sync-not-delete-destination-files flag to deployment workflow

* DEVOPS-1826 REFACTOR: sync utility to delete destination files

* DEVOPS-1826 FIX: sync-delete-destination-files step in deploy-web.yml

* DEVOPS-1826 ADD: invert-sync-delete-destination-files option to deploy-web.yml

* DEVOPS-1826 REFACTOR: deploy-web.yml with invert-default-sync-delete-destination-files-value

* DEVOPS-1826 REFACTOR: sync-delete-destination-files value in deploy-web.yml

* DEVOPS-1826 REFACTOR: debug mode default value
2024-03-05 17:03:49 -06:00
Alex Urbina 621205232a
DEVOPS-1743 REFACTOR: environment name for Web Vault deployment (#8148) 2024-03-01 10:47:58 -06:00
MtnBurrit0 bf884ac279
Add git hash to all lower environment builds (#8142) 2024-02-28 12:01:15 -07:00
Vince Grassia 1c5cf18746
DEVOPS-1800 - Migrate Secrets (#8139) 2024-02-28 11:06:50 -07:00
Alex Urbina e833e93b3b
DEVOPS-1743 Web Vault Migration workflow improvements (#7966)
* DEVOPS-1743 REFACTOR: Azure Storage Account sync process

* DEVOPS-1743 REFACTOR: deploy-web.yml to include branch or tag information on run

* DEVOPS-1743 REFACTOR: Slack channel for devops alerts

* DEVOPS-1743 DEBUG: display index.html content

* DEVOPS-1743 REFACTOR: Azure storage blob sync command in deploy-web.yml

* DEVOPS-1743 Update Azure Storage Account connection string retrieval

* DEVOPS-1743 DEGUG: azcopy version check before syncing to Azure Storage Account

* DEVOPS-1743 REFACTOR: azcopy command in deploy-web.yml

* DEVOPS-1743 REFACTOR: add recursive flag to azcopy command

* DEVOPS-1743 REFACTOR: azcopy command in deploy-web.yml

* DEVOPS-1743 FIX: azcopy sync command in deploy-web.yml

* DEVOPS-1743 FIX: URL formatting in deploy-web.yml

* DEVOPS-1743 ADD: azcopy login command to deploy-web.yml

* DEVOPS-1743 ADD: AZCOPY_AUTO_LOGIN_TYPE to AZCLI

* DEVOPS-1743 REFACTOR: azcopy sync command to include date parameter

* DEVOPS-1743 REFACTOR: deploy-web.yml script to fix sync command

* DEVOPS-1743 ADD: Azure Storage Account sync with debug logging

* DEVOPS-1743 Add debug logs for azcopy

* DEVOPS-1743 ADD: sync-utility parameters to use either az sync or azcopy in subsequent steps in deploy-web.yml

* DEVOPS-1743 FIX: conditional statements in deploy-web.yml

* DEVOPS-1743 ADD: debug logs for azcopy utility

* DEVOPS-1743 REFACTOR: sync utility to az-sync

* DEVOPS-1743 REFACTOR: azcopy logs and sync utility

* DEVOPS-1743 REFACTOR: sync-utility option to deploy-web workflow

* DEVOPS-1743 REFACTOR: AZCOPY_AUTO_LOGIN_TYPE to SPN

* DEVOPS-1743 ADD: azcopy login status command

* DEVOPS-1743 ADD: AZCOPY environment variables for SPA authentication

* DEVOPS-1743 REFACTOR: AZCOPY_SPA_APPLICATION_ID and AZCOPY_TENANT_ID environment variables

* DEVOPS-1743 FIX: azcopy sync destination URL

* DEVOPS-1743 Update AZCOPY environment variables

* DEVOPS-1743 REFACTOR: deploy-web.yml with AZCOPY environment variables

* DEVOPS-1743 FIX: sync command in deploy-web.yml

* DEVOPS-1743 ADD: retrieval of Storage Account SPN Client Secret for azcopy

* DEVOPS-1743 ADD: retrieval of Storage Account SPN Application ID and Tenant ID for azcopy

* DEVOPS-1743 REFACTOR: sync-utility to azcopy in deploy-web.yml

* DEVOPS-1743 REFACTOR: secrets retrieval IDs in deploy-web.yml

* DEVOPS-1743 DELETE: unnecessary commands in deploy-web.yml

* DEVOPS-1743 REFACTOR: secrets retrieval in deploy-web.yml

* DEVOPS-1743 ADD: debug mode to deploy-web workflow

* DEVOPS-1743 REFACTOR: deploy-web.yml to remove unnecessary conditional checks
2024-02-27 14:48:36 -05:00
Oscar Hinton 38d8fbdb5a
Vertical Vault Navigation (#6957)
* WIP admin console layout

* Update icons

* Migrate more things

* Migrate the last pages

* Move header to web

* Fix story not working

* Convert header component to standalone

* Migrate org layout to standalone

* Enable org switcher

* Add AC to product switcher

* Migrate provider portal to vertical nav

* Migrate PM

* Prettier fixes

* Change AC and PP to use secondary variant layout & update logos

* Remove full width setting

* Remove commented code

* Add header to report pages

* Add provider portal banner

* Fix banner for billing pages

* Move vault title to header

* Prevent scrollbar jumping

* Move send button to header

* Replace search input with bit-search

* Remove unused files and css

* Add banner

* Tweak storage option

* Fix duplicate nav item after merge

* Migrate banner state to state provider framework

* [AC-2078] Fix device approvals header

* [PM-5861] Hide AC from product switcher for users that do not have access

* [PM-5860] Fix Vault and Send page headers

* [AC-2075] Fix missing link on reporting nav group

* [AC-2079] Hide Payment Method and Billing History pages for self-hosted instances

* [AC-2090] Hide reports/event log nav items for users that do not have permission

* [AC-2092] Fix missing provider portal option in product switcher on page load

* Add null check for organization in org layout component

* [AC-2094] Fix missing page header for new client orgs page

* [AC-2093] Update New client button styling

* Fix failing test after merge

* [PM-2087] Use disk-local for web layout banner

* [PM-6041] Update banner copy to read "web app"

* [PM-6094] Update banner link to marketing URL

* [PM-6114] add CL container component to VVR pages (#7802)

* create bit-container component

* add container to all page components

* Fix linting errors after merge with main

* Fix product switcher stories

* Fix web-header stories

* mock org state properly in product switcher stories (#7956)

* refactor: move web layout migration banner logic into a service (#7958)

* make CL codeowner of web header files

* move migration banner logic to service; update stories

* [PM-5862] Ensure a sync has run before hiding navigation links

* Remove leftover banner global state

* Re-add dropped selfHosted ngIf

* Add rel noreferrer

* Remove comment

---------

Co-authored-by: Shane Melton <smelton@bitwarden.com>
Co-authored-by: Will Martin <contact@willmartian.com>
2024-02-23 09:22:45 -08:00
Cesar Gonzalez 6bd1b4cdbb
Add Autofill Team as Codeowners of Autofill Libs Path (#7976) 2024-02-15 19:22:48 -06:00
Vince Grassia fae12cd0e6
Update macdev-cert (#7967) 2024-02-15 11:17:34 -07:00
Opeyemi 8fb5ef3035
Remove individual linter file (#7963) 2024-02-15 11:15:46 -05:00
Daniel James Smith 9980c3feb9
[PM-5459] Move libs/exporter to libs/tools/ (#7380)
* Move libs/exporter into libs/tools/*

Migrating all files from libs/exporter over to libs/tools/export/vault-export/vault-export-core
Rename package to vault-export-core
Fix all file paths

* Update libs and tsconfig imports

* Fix client imports

* Fix eslint, jest and package-lock.json

* Update CODEOWNERS

* Add README.md to whitelist-capital-letters

* Fix vault-export-service tests not running

* Update libs/tools/export/vault-export/README.md

Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>

* Fix types imports

* Export types from vault-export-core

* Fixed content of README

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
2024-02-13 14:22:37 -05:00
Oscar Hinton c73b263ec8
Remove CLOC jobs (#7893) 2024-02-13 15:08:03 +01:00
Vince Grassia bf16682f42
Fix while loop (#7918) 2024-02-12 18:16:00 +00:00
Vince Grassia 90328b1eba
Fix while loop logic (#7910) 2024-02-12 07:35:35 -08:00
Vince Grassia 8988eabe5a
Add Version as Step Summary for MacOS jobs in Build Desktop workflow (#7880) 2024-02-09 11:30:28 +01:00
Vince Grassia 68cc52164f
Update input description on workflows (#7881) 2024-02-09 11:30:07 +01:00
Vince Grassia 63674cc521
Fix auto version bump workflow (#7883) 2024-02-09 11:29:47 +01:00
renovate[bot] 83fabbc93e
[deps] DevOps: Update macos to v13 (#7876)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:57:25 -05:00
renovate[bot] 8028329522
[deps] DevOps: Update ubuntu to v22 (#7877)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:56:39 -05:00
renovate[bot] 0310223891
[deps] DevOps: Update codecov/codecov-action action to v4 (#7875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:34:49 -05:00
renovate[bot] 7dd102364c
[deps] DevOps: Update windows to v2022 (#7878)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:33:19 -05:00
renovate[bot] 02f662595e
[deps] DevOps: Update actions/stale action to v9 (#7874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:33:02 -05:00
renovate[bot] efe70bba92
[deps] DevOps: Update docker/build-push-action action to v5 (#7873)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:30:06 -05:00
renovate[bot] 51655dbe33
[deps] DevOps: Update actions/setup-node action to v4 (#7872)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:29:48 -05:00
renovate[bot] e8e78677f0
[deps] DevOps: Update dawidd6/action-download-artifact action to v3 (#7871)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:01:06 -05:00
renovate[bot] 2f591213f1
[deps] DevOps: Update actions/upload-artifact action to v4 (#7870)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 15:00:48 -05:00
renovate[bot] 78730ff18a
[deps] DevOps: Update actions/download-artifact action to v4 (#7867)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:53:21 -05:00
renovate[bot] a225f208b7
[deps] DevOps: Update actions/github-script action to v7 (#7868)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:44:13 -05:00
renovate[bot] 2c9a48046f
[deps] DevOps: Update actions/checkout action to v4 (#7866)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:43:14 -05:00
renovate[bot] f7f576223f
[deps] DevOps: Update actions/cache action to v4 (#7865)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:42:18 -05:00
renovate[bot] 2ee482d6f9
[deps] DevOps: Update gh minor (#7864)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-08 14:38:19 -05:00
Vince Grassia 8c3754fd43
Allow Build Web workflow to trigger on new tags (#7856) 2024-02-08 10:13:32 -07:00
Oscar Hinton cc88826be4
Update renovate config (#7811) 2024-02-06 10:35:20 +01:00
Daniel James Smith c97e5b3d1f
Assign team-component-library instead team-platform-dev (#7819)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2024-02-05 16:41:19 -05:00
MtnBurrit0 e847244817
[DEVOPS-1719] Update Desktop certificates and provisioning profiles (#7777)
* Update provision SHA1

* Update certificates and profiles

* fix linting

* testing upload to test flight

* Add missing key

* Revert "testing upload to test flight"

This reverts commit aa461fa481.
2024-02-05 08:22:07 -07:00
Vince Grassia 219ef8d524
DEVOPS-1696 - Fix Version Bump workflow (#7774) 2024-02-05 08:49:36 -05:00
Dave Nicolson 569f4bbbeb
Fix typo (#7740) 2024-01-30 19:08:41 +00:00
Vince Grassia 963afbfa6e
Fix checking for PR in some steps (#7726) 2024-01-29 10:57:26 -07:00
Matt Bishop 7678461b48
Configure Codecov to ignore tests (#7706) 2024-01-29 11:25:22 -05:00
Vince Grassia 8d177040ed
Update Renovate config (#7664) 2024-01-24 16:22:33 +01:00
Opeyemi eeb1390c86
fix the typo in fetching SHA (#7570) 2024-01-16 17:28:47 +00:00
Opeyemi 6cd6de5c91
Add the Commit sha of the branch or tag deployed (#7567)
* Add the Commit sha of the branch or tag deployed

* update SHA command
2024-01-16 16:31:17 +00:00
Daniel James Smith 7908be9fa6
Move qrcode-parser into Vault ownership (#7538)
Move qrcode-parser into Vault ownership
2024-01-12 01:14:42 -05:00
Joseph Flinn 167648e213
[DEVOPS-1705] Fix US DEV Web CD (#7461)
* Fix the inputs to match the inputs for deploy-web.yml

* Update workflow dispatch inputs to strings. Revert hijack
2024-01-05 09:05:11 -08:00
Joseph Flinn 30ae206526
Fix the inputs to match the inputs for deploy-web.yml (#7452) 2024-01-05 06:56:41 -08:00
Will Martin 76085cc989
exclude Renovate brances from triggering Chromatic workflow (#7398) 2024-01-04 10:38:53 -05:00
Michał Chęciński 364e23d8a5
[DEVOPS-1656] Update Web build workflow to automatically trigger DevTest deploy (#7307) 2024-01-03 16:48:51 +01:00
Matt Bishop 8523de2977
Run tests on pushes and not just pull requests (#7370)
* Run tests on pushes and not just pull requests

* Simplify where it runs on push

* Wildcard hotfixes
2023-12-27 15:27:17 -05:00
Matt Bishop e2ea24484e
Wire up code coverage (#7366) 2023-12-27 14:44:04 -05:00
Michał Chęciński 53e4127ab8
[DEVOPS-1501] Build and Deploy Web Vault for USDEV (DevTest) (#7309)
* Add usdev config

* add command to build usdev to package

* Add usdev to build

* Add usdev to web deploy workflow

* Fix

* Fix

* Fix
2023-12-21 17:10:31 +01:00
Vince Grassia 831886209d
Fix setting NODE_OPTIONS (#7299) 2023-12-21 11:14:13 +01:00
Vince Grassia f0d5398f7c
Update workflow to use new report action (#7296) 2023-12-20 23:32:51 +00:00
Alex Urbina 139ba13f2a
DEVOPS-1683 Refactor deploy-web workflow (#7184)
* DEVOPS-1683 REFACTOR: Azure Storage Account Blob container sync

* DEVOPS-1683 REFACTOR: deploy-non-prod-web.yml: Changed destination container to '$web' and added delete-destination flag

* DEVOPS-1683 FIX: Source path in Azure Storage Blob sync

* DEVOPS-1683 REFACTOR: deploy-non-prod-web.yml with tag input

* DEVOPS-1683 REFACTOR: Add EUPROD environment configuration

* DEVOPS-1683 DELETE: deploy workflow for EU-QA web

* DEVOPS-1683 ADD: GitHub deployment and update deployment status

* DEVOPS-1683 REFACTOR:  Slack channel for devops alerts for testing purposes

* DEVOPS-1683 ADD: environment variables to deploy-non-prod-web workflow

* DEVOPS-1683 REFACTOR: environment URLs in deploy-non-prod-web.yml

* DEVOPS-1683 DELETE: Deploy workflow for EU-PRD Cloud

* DEVOPS-1683 REFACTOR: Update deployment process for non-prod web app

* DEVOPS-1683 REFACTOR: deploy configuration for non-prod web environments

* DEVOPS-1683 DELETE: environment-branch and cfpages-deploy from deploy-non-prod-web workflow

* DEVOPS-1683 REFACTOR: deployment environment in
deploy-non-prod-web.yml

* DEVOPS-1683 DELETE: steps in deploy workflow for testing purposes

* Revert "DEVOPS-1683 DELETE: steps in deploy workflow for testing purposes"

This reverts commit 5ad5802857.

* DEVOPS-1683 ADD: write permissions for deployments

* DEVOPS-1683 REFACTOR: slack-channel in deploy-non-prod-web.yml

* DEVOPS-1683 REFACTOR: deployment status to use dynamic values

* DEVOPS-1683 REFACTOR: slack-channel in deploy-non-prod-web.yml

* DEVOPS-1683 REFACTOR: project name in deployment workflow

* DEVOPS-1683 ADD: Deploy task to non-prod web deployment workflow

* DEVOPS-1683 ADD: Approval step for deployment

* DEVOPS-1683 REFACTOR: Approval job for deployment to non-prod web environment

* DEVOPS-1683 REFACTOR: branch reference in deploy workflow

* DEVOPS-1683 REFACTOR: default branch name in
deploy-non-prod-web.yml

* DEVOPS-1683 ADD: notify-start job to deployment workflow

* DEVOPS-1683 REFACTOR: deploy workflow name

* DEVOPS-1683 Update default environment to USQA in deploy-non-prod-web.yml

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-non-prod-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* DEVOPS-1683 REFACTOR: Slack channel for non-prod deployment

* DEVOPS-1683 REFACTOR: environment configuration for non-production web deployment

* DEVOPS-1683 REFACTOR: job name for building web for missing branch

* DEVOPS-1683 REFACTOR: notify-start dependencies need setup job

* DEVOPS-1683 REFACTOR download and trigger steps in deploy-non-prod-web.yml

* DEVOPS-1683 REFACTOR: branch name in deploy workflow

* DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml

* Revert "DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml"

This reverts commit 2ae5519fdc.

* DEVOPS-1683 REFACTOR: branch/tag references in deploy workflow

* DEVOPS-1683 RENAME: deploy-non-prod-web.yml to deploy-web.yml

* DEVOPS-1683 REFACTOR: branch-or-tag description

* Revert "DEVOPS-1683 REFACTOR: branch-or-tag description"

This reverts commit a326a32bf3.

* Update .github/workflows/deploy-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

* Update .github/workflows/deploy-web.yml

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-12-18 16:09:36 -07:00
Vince Grassia b4999866fa
Merge _cut_rc.yml into version-bump.yml (#7264) 2023-12-18 10:59:26 -07:00
Will Martin b73d73b508
create team owned libs for billing, admin-console, platform (#7233)
* add admin-console lib files

* add billing lib files

* add platform lib files

* update lib references in config files

* update package-lock
2023-12-15 09:02:21 -05:00
Vince Grassia c95e0f3d9b
Update version bump workflow (#7238) 2023-12-15 13:30:26 +01:00
Joseph Flinn d4c4d345d1
Fix branch (#7199) 2023-12-13 05:55:55 -05:00
Joseph Flinn 9c1169d035
Update master to main in workflows (#7151) 2023-12-12 11:57:50 -08:00
Vince Grassia 3e174fec81
Update version bump workflow token (#7195) 2023-12-12 12:37:32 -05:00
Vince Grassia 6bb03a7b0e
Fix version bump workflow on call (#7193) 2023-12-12 08:53:57 -08:00
Vince Grassia 007f21fc7f
Update Version Bump workflow (#7180) 2023-12-12 10:22:02 -05:00
Oscar Hinton 4964c63258
Renovate: Add devops prefix & remove cargo minor (#7093) 2023-12-12 15:48:44 +01:00
Oscar Hinton cf0c6e8896
[PM-4349] Migrate hasPremium and debounceNavigation to be functional (#6591)
Class based router guards are deprecated as of Angular 15.2, per angular.io/guide/deprecations#router-class-and-injection-token-guards. To simplify future angular upgrades we need to resolve these deprecations.

This PR migrates the HasPremium and DebounceNavigationService guards to use the new functional pattern.
2023-12-11 14:22:34 +00:00
Todd Martin 2b3faca86b
Move PasswordStrengthComponent to Tools (#7125)
* Moved password-strength component to Tools

* Move zxcvbn into Tools ownership

zxcvbn is the library currently used to calculate the password-strength

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-12-07 14:11:05 -05:00
Daniel James Smith 00faefa1d1
Update ownership in renovate config (#7118)
* Move tldts into ownership of autofill

This was initially introduced by me, but is largely used for validating urls for autofill.

* Move @types/jsdom and jsdom to tools

This dependency is only using within the importers in the cli (running node)

* Add oidc-client-ts to tools

This dependency got introduced with the Lastpass direct import

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-12-06 10:39:29 -06:00
Daniel James Smith 5582d7644c
Add exception for en/messages.json to not be owned by anyone (#7112) 2023-12-06 07:31:36 -05:00
Oscar Hinton 2fd30304d3
Remove tech-leads as default codeowner (#6986) 2023-12-05 15:55:53 +01:00
Oscar Hinton 8fa4d1fea4
Pin chromatic workflow to v10.0.0 (#7100) 2023-12-05 13:16:01 +01:00
Cesar Gonzalez 0b9a2775f0
[PM-5043] Update ownership of code to autofill team (#7017)
* [PM-5043] Update owernship of code belonging to autofill team

* [PM-5043] Updating location of webRequest.background.ts file to belong to autofill team

* [PM-5043] Updating location of autofill component settings within the popup
2023-11-30 19:59:33 +00:00
Michał Chęciński 48c6033792
[DEVOPS-1651] Update the QA deployment alert at the start (#6998)
* Update the QA deployment alert at the start

* Change in non prod web
2023-11-29 09:41:22 +01:00
Daniel James Smith 3397ae4ede
Remove node-gyp from workflows (#6964)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-11-28 11:00:41 -05:00
Oscar Hinton a5e3432f85
Assign ownership to many libs files (#6928)
Assign ownership to many of the remaining libs/common files.

Criteria for ownership:
* Files used by a single team, is now owned by that team.
* Files related to a domain owned by a team is now owned by that team.
* Where ownership is unclear the "lowest level" service takes ownership.
2023-11-27 20:59:44 +00:00
Alex Urbina 97dbcbb815
DEVOPS-1581 Update deploy-non-prod-web workflow to deploy web (#6897)
* DEVOPS-1581 ADD: azure-deploy job to non-prod-web workflow

* DEVOPS-1581 REFACTOR: Azure deployment workflow to use
environment-specific artifact

* DEVOPS-1581 REFACTOR: Azure login and retrieve secrets in deploy-non-prod-web.yml

* DEVOPS-1581 REFACTOR:  Storage Account to Web Vault deployment name

* DEVOPS-1581 REFACTOR: Azure credentials for non-prod web in azure-deploy
deployment

* DEVOPS-1581 REFACTOR: deploy-non-prod-web workflow to add EUQA option and make it env dynamic

* DEVOPS-1581 FIX: environment names in deploy script

* DEVOPS-1581 REFACTOR: Environment artifact names

* DEVOPS-1581 REFACTOR: Deployment workflow to remove CloudFlare Pages deployment

* DEVOPS-1581 REFACTOR: Deployment workflow to use Azure instead of Cloudflare

* DEVOPS-1581 REFACTOR:  Deploy script to use azcopy for syncing files to Azure Storage Account

* DEVOPS-1581 REFACTOR: Azure Storage Account sync command

* Revert "DEVOPS-1581 REFACTOR:  Deploy script to use azcopy for syncing files to Azure Storage Account"

This reverts commit 2b7c3ae1a7.

* DEVOPS-1581 ADD: USPROD environment configuration

* Revert "DEVOPS-1581 REFACTOR: Deployment workflow to remove CloudFlare Pages deployment"

This reverts commit c650cdadeb.

* devops-1581 REFACTOR: Deployment workflow to include cfpages-deploy job
2023-11-27 10:49:16 -06:00
Vince Grassia a64f1c05a5
Remove AST action and replace with NuGet install command (#6942) 2023-11-21 15:21:56 -07:00
Cesar Gonzalez f6c2e0b6c0
[PM-4893] Pin Autofill Overlay Dependencies (#6930) 2023-11-21 07:49:37 -06:00
Justin Baur bb46907951
Make Platform Own State Migrations (#6890) 2023-11-16 11:16:10 -05:00
Justin Baur cd19fc5133
Add Platform Entry (#6889) 2023-11-15 13:39:16 -05:00
Michał Chęciński 6c3cb841a2
Fix branch name in report-deployment-status-to-slack (#6843) 2023-11-09 09:24:33 -07:00
Vince Grassia 16c567ab59
Update 'master' to 'main' (#6834) 2023-11-08 13:08:34 -05:00
renovate[bot] 053443e237
[deps]: Update chromaui/action digest to d726e4e (#6727)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-07 15:02:14 -05:00
Daniel James Smith 0f74f6a0ac
Add browser store locales (#6807)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-11-06 16:03:21 +01:00
Daniel James Smith 8ff2e8950d
Revert "Skip build for browser/desktop on importer changes (#5074)" (#6805)
This reverts commit a931f5b9bd.
2023-11-06 15:55:15 +01:00
Michał Chęciński 0a7fcddd5a
Add slack notify when deploying web QA (#6724) 2023-11-02 17:30:17 +01:00
Daniel James Smith b9cf29ff0c
[PM-4266] Create folder for tools owned features (#6761)
* Create libs/tools-folder and README.md

* Assign libs/tools to be owned by team-tools-dev

* Add exception for the capital README in libs/tools

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-11-02 14:10:28 +01:00
Oscar Hinton 91e7a45ee4
[PM-2331] Tweak renovate subject (#6747) 2023-10-31 18:32:02 +01:00
Daniel James Smith 095ab3d679
Update CODEOWNERS for Crowdin PRs (#6746)
* Adding all messages.json files besides en/ into ownership of team-tools-dev

* Add newline and extend header comment

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2023-10-31 16:49:54 +01:00
Oscar Hinton 97b91133a5
[PM-2331] Disable needs-qa label for renovate PRs (#6738) 2023-10-30 18:10:28 +01:00
Oscar Hinton b9e8f61831
[PM-2331] Mark package.json as not owned by codeowners (#6736) 2023-10-30 17:13:20 +01:00
Oscar Hinton 716a65a357
[PM-2331] Update renovate with team groupings (#6722) 2023-10-30 13:40:29 +01:00
Opeyemi e49f298330
UPDATE: pin bitwarden/actions to master (#6693) 2023-10-25 15:35:46 +01:00
Vince Grassia 7fd102c15c
Add DevOps to CODEOWNERS for files related to Docker (#6685) 2023-10-24 20:39:24 +00:00
Opeyemi 0c782c137d
add artifact check for non prod deploy (#6624)
* add artifact check for non prod deploy

* UPDATE: add setup need for cfpages-deploy
2023-10-18 17:56:50 +01:00
renovate[bot] c145763ded
Update bitwarden/gh-actions digest to c970b0f (#6529)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-18 12:23:26 -04:00
Matt Bishop d4e6793871
Re-include Electron updates with Renovate (#6602) 2023-10-17 08:15:45 -04:00
Vince Grassia 7190bad1b0
Standardize Snapcraft commands in workflows (#6351) 2023-10-05 13:14:10 -06:00
Vince Grassia a91a39fe80
Move checkout step before getting Node version (#6500) 2023-10-04 16:01:44 -06:00
Michał Chęciński 65e698b322
[DEVOPS-1572] Update JS workflows to Node version 18 (#6421)
* Get node version from .nvmrc and use in setup-node action

* Fix substitution

* Fix substitution 2

* Fix substitution 3

* Add ls

* Add ls

* Override working directory

* Fix override working directory

* Fix

* Add ls

* Checkout repo
2023-10-04 12:23:40 -04:00
renovate[bot] ffb6bd0a30
Update bitwarden/gh-actions digest to f112580 (#6467)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-03 11:03:16 -06:00
Will Martin b607d1dcfa
update CL CODEOWNERS (#6456) 2023-09-29 09:36:43 -04:00
renovate[bot] ca65548b3a
Update bitwarden/gh-actions digest to 62d1bf7 (#6385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 08:33:02 -04:00
Vince Grassia 020018085a
Revert change to if key's (#6353) 2023-09-20 14:34:21 -04:00
Vince Grassia 79606c9d9c
Add patches to Browser source (#6349) 2023-09-20 11:09:12 -04:00
Vince Grassia 2e76bc40b9
Update Version Bump workflow (#6300) 2023-09-18 11:29:07 -04:00
renovate[bot] d8b76c1f51
Update chromaui/action digest to a45a922 (#6120)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-18 10:43:36 -04:00
Oscar Hinton f0b56b0b56
[CL-60] Set font-size on html (#6278) 2023-09-14 18:31:48 +02:00
Vince Grassia 81ab343828
DEVOPS-1554 - Fix browser artifacts (#6224) 2023-09-13 15:21:02 +01:00
Vince Grassia 864818c2d3
Browser Build/Release Workflows - Change runners to linux (#6193) 2023-09-06 09:51:40 -04:00
Vince Grassia d6aa85af66
Update Version Bump workflow inputs (#6143) 2023-09-05 14:52:03 -06:00
Vince Grassia 9288367bc8
Fix logic in workflow (#6147) 2023-08-30 10:46:10 -04:00
Opeyemi 6bf559b932
UPDATE: fix all warnings in Clients workflow (#6137) 2023-08-29 16:00:28 +01:00
Vince Grassia 3cc0e5f59a
Fix Release CLI workflow (#6130) 2023-08-28 16:12:40 -04:00
Vince Grassia b5c4149bc8
CLI/Release Desktop Workflow - Update runner to Ubuntu latest (#6129) 2023-08-28 15:31:09 -04:00
MtnBurrit0 834531bd98
Bump snapcore action to fix CLI build workflow (#6116) 2023-08-25 15:06:31 -06:00
renovate[bot] 8cf82ea028
Update bitwarden/gh-actions digest to 67ab95d (#5839)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-08-25 14:27:30 -06:00