1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-26 12:25:20 +01:00
Commit Graph

406 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
Opeyemi
8fb5ef3035
Remove individual linter file (#7963) 2024-02-15 11:15:46 -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
Vince Grassia
219ef8d524
DEVOPS-1696 - Fix Version Bump workflow (#7774) 2024-02-05 08:49:36 -05:00
Vince Grassia
963afbfa6e
Fix checking for PR in some steps (#7726) 2024-01-29 10:57:26 -07: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
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
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
8fa4d1fea4
Pin chromatic workflow to v10.0.0 (#7100) 2023-12-05 13:16:01 +01: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
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
Michał Chęciński
6c3cb841a2
Fix branch name in report-deployment-status-to-slack (#6843) 2023-11-09 09:24:33 -07:00