1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-06-29 11:05:54 +02:00
Commit Graph

515 Commits

Author SHA1 Message Date
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