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

481 Commits

Author SHA1 Message Date
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
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
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
Oscar Hinton
97b91133a5
[PM-2331] Disable needs-qa label for renovate PRs (#6738) 2023-10-30 18:10:28 +01:00
Opeyemi
e49f298330
UPDATE: pin bitwarden/actions to master (#6693) 2023-10-25 15:35:46 +01: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
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
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
Opeyemi
d2bff7eb8b
[DEVOPS-1528] - Update clients to point build and release to Prod ACR (#6026)
* update clients to point build and release to Prod ACR

* FIX: typo

* FIX: run block

* UPDATE: add suggestions

* UPDATE: workflow runners and job needs

* UPDATE: registry env in build

* UPDATE: suggestion
2023-08-16 16:41:02 +01:00
Vince Grassia
c304b59c3b
Update runner OS version (#6040) 2023-08-16 00:37:41 -04:00
Matt Gibson
aa6bb723f2
Disable mv3 artifacts (#5816) 2023-07-13 10:02:50 -05:00
Vince Grassia
312ee54434
Add default push location for Chocolatey (#5805) 2023-07-13 10:08:36 -04:00
Opeyemi
a37b8db250
Deprecate release-qa-web.yml wf (#5786)
* Deprecate release-qa-web.yml wf

* Merge master
2023-07-12 11:19:28 +01:00
renovate[bot]
775a13a5f2
Update bitwarden/gh-actions digest to a30e9c3 (#5722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 10:12:36 -06:00
Opeyemi
05203d96c6
add workflow call to deploy-non-prod-web.yml (#5728)
* add workflow call to deploy-non-prod-web.yml

* Remove required in wf call and dispatch
2023-07-10 23:57:56 +01:00
Vince Grassia
cc1572f6bc
Fix Snapcraft Action Version (#5772) 2023-07-10 15:56:57 -07:00
Vince Grassia
7b26998999
DEVOPS-1400 - Fix Test Workflow (#5778) 2023-07-10 18:55:59 -04:00
Vince Grassia
da436317e3
DEVOPS-1400 - Fix Version Auto Bump workflow (#5754) 2023-07-10 09:06:05 -04:00
Vince Grassia
a004453034
Update crowdin action hash (#5753) 2023-07-06 13:05:37 -07:00
Vince Grassia
d16b717897
Fix input error in 'Update Homebrew formula' step (#5751) 2023-07-06 12:52:03 -04:00
Joseph Flinn
e615a2cd09
[DEVOPS-1421] fix auto branch updater (#5710)
* [DEVOPS-1421] Fix syntax error

* add a fetch-depth to fetch the branches

* Add the relative repo name to the branch being merged

* remove testing branch
2023-06-29 11:36:53 -04:00
renovate[bot]
a009ca3cfa
Update gh minor (#5592)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-29 08:46:56 -06:00
Joseph Flinn
6b96511c58
Add a branch updater for the hardcoded URL hack (#5705) 2023-06-29 06:33:18 -07:00
Vince Grassia
997c2b1fe7
Add EU QA Web client information (#5704) 2023-06-28 13:03:30 -07:00
Vince Grassia
5bf98c6d4b
Remove EU DEVTEST environment (#5693) 2023-06-28 10:51:49 -05:00
renovate[bot]
d814010bd3
Update chromaui/action digest to 44caff7 (#5590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-27 00:13:41 +02:00
Vince Grassia
2a63008e82
Add step to empty container in Storage Container (#5685) 2023-06-26 10:38:32 -07:00
renovate[bot]
d10741e994
Update bitwarden/gh-actions digest to 37ffa14 (#5589)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 20:37:42 +00:00
Vince Grassia
5a674d469d
Add tag input to Deploy Web EU-PRD workflow (#5658) 2023-06-22 14:36:21 -06:00
Vince Grassia
b9d6d6583e
Fix Chocolately command (#5653) 2023-06-22 09:57:15 -04:00
Vince Grassia
ff18a5b905
DEVOPS-1427 - Update Deploy EU Prod Web Workflow (#5637) 2023-06-20 14:42:29 -04:00
Vince Grassia
bec51c95f9
Add EU Prod environment to Web build (#5620) 2023-06-15 12:54:39 -04:00
mimartin12
a7f9984ddd
Update build-web.yml (#5606) 2023-06-14 08:16:42 -06:00
renovate[bot]
1b743a6a15
chore(deps): update bitwarden/gh-actions digest to 72594be (#5523)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 13:02:54 +03:00
renovate[bot]
9715378fe2
chore(deps): update chromaui/action digest to a2ed440 (#5558)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-05 09:04:14 +02:00
Michał Chęciński
4a7bfdb2bd
[DEVOPS-1395] build and deploy web vault (#5518)
* Add eudevtest config

* Add eudevtest to build

* Add release for eudevtest

* Change url

* Add eudevtest to the deploy non prod web

* Remove release-eudevtest-web workflow
2023-06-01 09:49:25 +03:00
Vince Grassia
53e2196d8d
Fix release desktop workflow (#5545) 2023-05-31 13:19:40 -04:00
Oscar Hinton
f7b372a0b0
[PM-2276] Upgrade Storybook to v7 (#5258) 2023-05-26 15:58:06 +02:00
renovate[bot]
08aa04beab
chore(deps): update bitwarden/gh-actions digest to c86ced0 (#5505)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-24 15:33:02 +02:00
renovate[bot]
3a1ae46c37
chore(deps): update crowdin/github-action action to v1.8.1 (#5484)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-22 13:13:42 -06:00
renovate[bot]
2ed3cfc8e0
chore(deps): update bitwarden/gh-actions digest to f07c58a (#5442)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-19 14:24:53 +02:00
renovate[bot]
1caae996ff
chore(deps): update crazy-max/ghaction-import-gpg digest to 72b6676 (#5446)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-16 08:01:07 -06:00
renovate[bot]
e40c9902eb
chore(deps): update chromaui/action digest to a89b674 (#5443)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-15 12:10:38 +02:00
Vince Grassia
79a634456e
Fix publish branches check (#5421) 2023-05-10 10:56:40 -04:00
mimartin12
dffb8957ce
Update action version for setup-docker-trust (#5415) 2023-05-09 12:16:40 -06:00
renovate[bot]
4174ba3afd
chore(deps): update gh minor (#5400)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-09 10:38:11 -06:00
Todd Martin
518e184ad6
Removed PR edit trigger from workflow that adds needs-qa label (#5398)
* Removed check on edit

* Linting
2023-05-09 10:23:16 -04:00
Oscar Hinton
423fb453e2
Fix version tags for gh workflows (#5402) 2023-05-09 11:44:05 +02:00
mimartin12
01c7b1bf12
[DEVOPS-1330] - Deploy to GH pages (#5366) 2023-05-08 09:20:44 -06:00
Opeyemi
a9ab32b476
Devops 1323 pin actions versions (#5346)
* update all actions for version pin

* Fix typo

* Actions version pin final push

* upadte set-up DCT job to use latest gh action
2023-05-05 21:17:19 +01:00
mimartin12
88cd82b486
[DEVOPS-1379] - Remove label enforce workflow from version bump workflow (#5327) 2023-05-04 09:23:35 -06:00
Oscar Hinton
9a41d5dc6f
[PM-358] Bump electron to 24 and node to 18 (#5205)
Upgrade Electron to version 24, node to 18 and npm to 9. Electron changed to using node 18 in 23, with node 18 using npm 9 as default.

There doesn't seem to be any breaking changes except the deprecation of Windows 7, 8.1, and Server 2012. A somewhat undocumented breaking change was that elements in the title bar are now draggable which broke the account switching selector. Resolved by adding a no-drag css rule.

- electronjs.org/blog/electron-22-0
- electronjs.org/blog/electron-23-0
- electronjs.org/blog/electron-24-0
2023-05-01 11:09:24 +02:00
mimartin12
2d2226f20d
[DEVOPS-1260] - Update KV names (#5209) 2023-04-13 09:24:09 -06:00
Michał Chęciński
2722198191
[DEVOPS-1260] Update workflows to use new CI only keyvault (#5157)
* Use new CI Azure Key Vault

* Change name

* Fix

* Fix
2023-04-11 18:37:58 +02:00
Oscar Hinton
3a4a79d057
[PM-1691] Upgrade electron builder (#5038)
* Upgrade electron builder

* Fix after-sign

* Allow singleArch

* Add CSC_FOR_PULL_REQUEST
2023-04-10 20:19:28 +02:00
Michał Chęciński
0d6dfdd4a6
Fix desktop autobump workflow (#5151) 2023-04-04 09:21:49 +02:00
Michał Chęciński
3afec3e712
Add all option for version bump workflow (#5150) 2023-04-04 09:21:20 +02:00
Daniel James Smith
a931f5b9bd
Skip build for browser/desktop on importer changes (#5074)
The importers recently got extracted from libs/common. As the import functionality is currently limited to the web and cli, there is no need to build browser and desktop as there won't be any changes.

This will free up some runners for other workflows (GH actions) to get faster builds that actually impact browser and desktop.

Another benefit is faster feedback on the PR-checks for those two
2023-03-24 11:24:10 +01:00
Joseph Flinn
7cfabf053c
Rename 'master' docker tag to 'dev' (#5058) 2023-03-22 19:52:15 +00:00
mimartin12
9160ee9963
Update POC to POC2 (#5033) 2023-03-21 10:24:22 -06:00
mimartin12
e153105774
[DEVOPS-1273] - Switch to Unix utility, shasum (#4945) 2023-03-07 11:57:12 -07:00
Todd Martin
a02f9e3a14
Modified job to only fire when opened or target edited. (#4915) 2023-03-02 18:37:41 -05:00
Todd Martin
1e7d83c0c8
Fixed syntax on types (#4886) 2023-02-28 10:55:16 -05:00
Todd Martin
06a3237729
Add workflow to apply needs-qa label (#4727)
* Added new workflow

* Fixed quotes.

* Added step to job.

* Added check for PR destination branch.

* Changed criteria.

* Added fork check for community PRs.

* Removed space

* Changed name.

* Updated with more filters.

* Changed to target approval for adding the label.

* Lint

* Refactored to use pull_request_target instead.

* Fixed comment

* pull_request_target isn't supported, so pull_request instead

* Added comment about target branch.
2023-02-27 13:19:24 -05:00
Joseph Flinn
4780a9ce18
Add temporary QA ACR (#4790)
* Remove cloud web container build. Add QA ACR back in temporarily

* Move selfhost build job into the matrix

* bypassing correct image generation

* fixing linting issues

* Fix output name

* Patch DockerHub upload from server to clients
2023-02-17 09:36:53 -06:00
Michał Chęciński
77b43e65e3
Fix Azure login in self-host web build (#4766)
* Fix Azure login in self-host web build

* Fix names
2023-02-15 16:32:00 +01:00
Michał Chęciński
cace42fe12
Push web docker images to bitwardenprod ACR (#4749) 2023-02-14 13:39:17 -06:00
Michał Chęciński
6a7a7299c2
[DEVOPS-1185] Split out the windows os from the new cli matrix build (#4673)
* Split *nix and windows cli builds

* Fix

* fix

* Add ls

* FIx

* FIx

* FIx
2023-02-10 08:00:24 -08:00
Matt Gibson
084c89107e
Add type check to npm scripts (#4631) 2023-02-06 13:40:00 -06:00
Michał Chęciński
4584583691
Add individual packages hash files to release (#4254)
* Add script to export sha from latest.yaml to files

* Comment out for testing

* Comment out

* Fix

* Remove test comments

* Use new gh action

* Change get checksums action reference to commit hash from master

* Comment out for testing

* Change get-checksum version to branch fix-get-checksum-action

* Comment out gh release if

* Restore if in create release step

* TEst

* Remove comments

* Change path

* Remove unused script

* Add commit SHA for get checksum action

* Update .github/workflows/release-desktop.yml

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

---------

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2023-01-30 11:19:40 -05:00
Joseph Flinn
651968ca9c
Support deploying to more non-prod environments (#4585)
* Update the QA deploy workflow to deploy to multiple non-prod environments

* Fix linter issues

* Update with testing code if run with QA

* Fix bash typo

* revert name

* Fix name

* Adding some logging

* Fix environment branch typo

* Add QA configuration and renable

* Rename workflow file

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

Switch config logic to a more extensible one.

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

* Fix a typo

* Add the original workflow in for QA for no disruptions

* Add line

---------

Co-authored-by: mimartin12 <77340197+mimartin12@users.noreply.github.com>
2023-01-27 13:40:50 -08:00
Kyle Spearrin
61d94c7e59
[PS-2367] CLI pkg ref for argon2 lib (#4579)
* pkg ref argon2

* add argon to cli package.json

* argon2 assets

* ci matrix for cli

* simplify builds for testing

* fix env

* zip for each os

* add os prefix back to zip

* create checksums

* make sums 256

* fix shasum command

* combine some steps for unix

* LOWER_RUNNER_OS

* SHORT_RUNNER_OS

* SHORT_RUNNER_OS on dist

* upload unix assets

* restore old build files

* fix formatting

* fix zip folder structure

* fix condition on upload unix zip asset

* compute shasum like other parts of build

* change matrix os targets
2023-01-27 09:52:08 -05:00
Joseph Flinn
05dec84f0f
Add new POC web artifact (#4581)
* Add the poc web artifact.

* Fix npm command typo
2023-01-26 13:38:41 -08:00
Michał Chęciński
3f3cbccf13
Change NPM api key in CLI release workflow (#4563) 2023-01-25 15:12:18 +01:00
Michał Chęciński
11a30ea92c
Fix autobump workflow (#4488) 2023-01-16 18:45:20 +01:00
Matt Bishop
4be2989fec
Upload and process test results as an artifact and report (#4435) 2023-01-11 09:01:02 -05:00
Vince Grassia
784540bacd
Remove setup job (#4279) 2022-12-20 10:04:15 -05:00
Oscar Hinton
1dca425dc4
[SM-370] Bump pkg & pkg-fetch (#4165) 2022-12-06 11:37:37 +01:00
Opeyemi
28dbb4c8a8
update ::set-output to latest (#4177)
* update ::set-output to latest

* update workflow for linter error
2022-12-05 15:04:04 +00:00
Michał Chęciński
81c98778e9
Add switch to github and electron releases (#4158) 2022-11-30 12:51:54 -08:00
Vince Grassia
d18b2ecd56
Fix the Staged Rollout Desktop workflow (#4157) 2022-11-30 09:36:09 -05:00
Opeyemi
922239504d
fix_staged_rollout_typo (#4156) 2022-11-30 14:14:05 +00:00
Joseph Flinn
4d14508729
Replace a double quote with a double quote...or maybe a Greek comma... (#4151) 2022-11-29 15:48:25 -07:00
Joseph Flinn
d7d6347628
Update the version hash for the QA Web build artifact to follow SemVer syntax (#4102) 2022-11-22 06:29:59 -08:00
Vince Grassia
fa110a21d0
Add branch check for Staged Rollout Desktop workflow (#4062) 2022-11-16 10:48:49 -05:00
Todd Martin
4a225cb271
Updated workflows to not create Github deployment on Dry Run. (#4049) 2022-11-14 13:43:28 -05:00
Opeyemi
03581d893d
Devops 1039 update release flow dry run step names (#4016) 2022-11-14 14:35:42 +00:00
Oscar Hinton
f7d5ee4f9e
Add folders to whitelist (#3994) 2022-11-10 15:08:04 +01:00
Michał Chęciński
618253fb14
Run enforce labels workflow on version bump in clients repo (#4006)
* Fix version bump to run enforce labels workflow

* Add login to Azure

* Trigger enforce labels manually from bump version workflow

* Update .github/workflows/enforce-labels.yml

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

* Update .github/workflows/version-bump.yml

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

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-11-08 13:54:29 -05:00
Daniel James Smith
6851f406ef
Extract and fix trigger for PR auto responses (Translation-PRs) (#3992)
* Extract and fix trigger for PR auto responses

* Fix permission used for job
2022-11-08 17:53:25 +01:00
Opeyemi
0443c9acaa
add run-name for releases to include their workflow trigger (#3996)
* add run-name for releases to include their workflow trigger

* add edit for linter error

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

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

Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-11-08 10:02:51 -05:00
Joseph Flinn
bc3879e194
Adding the 'libs/**' directory back to the Desktop build pipeline PR trigger list (#3938) 2022-10-31 17:24:02 -06:00
Michał Chęciński
b637c2f172
Fix rust tests apt-get install (#3933) 2022-10-31 14:29:41 +01:00
Oscar Hinton
9c292028e1
[SM-243] Upgrade windows-rs (#3516) 2022-10-24 11:46:50 +02:00
Vince Grassia
ff3420d373
DEVOPS-1016 - Fix Desktop/Browser pipelines to support hotfix process (#3828) 2022-10-19 09:22:57 -06:00
Matt Gibson
23d4dcd839
Build all browser MV3 artifacts (#3835)
only uploading Chrome, Edge and Opera artifacts for now, as those support manifest V3

Also corrects build artifact to lower case.
2022-10-19 07:31:04 -05:00
Daniel James Smith
1ed5ea49f1
Add job to close translation PRs (#3730) 2022-10-18 13:09:25 +02:00
Oscar Hinton
a7fdd40d70
Add CI check to forbid filenames with capital letters in them (#3807) 2022-10-18 10:05:33 +02:00
Michał Chęciński
13444307dd
Change trigger for desktop autobump (#3794) 2022-10-17 11:50:54 +02:00
sneakernuts
dff15b6e8e
Update-workflows-git-signing (#3725)
* crowdin workflow update

* version bump workflow update

* pinned gha for importing gpg key

* added steps for kv + updated import gpg key action

* Updated crowdin workflow to utilize kv
2022-10-13 21:47:13 +00:00
Vince Grassia
3742732ae8
Update retrieve secrets steps in workflows (#3705) 2022-10-13 12:38:47 -07:00
mimartin12
f489d1b277
Add artifact extract step (#3773) 2022-10-13 11:54:26 -06:00
Opeyemi
9f87fd7f57
edit CLI choco retrieve secret (#3767) 2022-10-12 16:31:20 +01:00
Joseph Flinn
a1b13f9b18
Change the download target for cloudflare deploy (#3759) 2022-10-11 18:05:12 -07:00
Joseph Flinn
d442632fc2
Add the cloudflare unzip back (#3758) 2022-10-11 17:57:34 -07:00
mimartin12
94cfa2d0d3
Update artifact steps in Web build worklfow (#3756) 2022-10-11 16:57:19 -07:00