Commit Graph

362 Commits

Author SHA1 Message Date
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
mimartin12 96aba0f994
Update Dry Run step and artifact path (#3751) 2022-10-11 14:45:58 -06:00
mimartin12 7f62c5c54f
Remove unzip step (#3750) 2022-10-11 14:38:18 -06:00
mimartin12 e7b2dbf486
Remove unzip step (#3749) 2022-10-11 14:27:11 -06:00
Vince Grassia a027ee5a08
DEVOPS-915 - Automate Staged Rollouts for Desktop (#3704) 2022-10-11 10:46:36 -04:00
Michał Chęciński c8e4f88379
[DEVOPS-1014] Fix desktop autobump workflow (#3736)
* Fix desktop autobump workflow

* Fix desktop autobump workflow accoring to vince suggestions in mobile

* Update ubuntu version
2022-10-11 16:35:25 +02:00
Opeyemi 333bc27972
Update download artifact action (#3735) 2022-10-10 20:35:44 +01:00
Vince Grassia f2159d71ea
Add staged rollout desktop workflow (#3702) 2022-10-06 09:54:37 -04:00
Alexey Zilber 9ca877a7be
Cloudops 165 (#3661)
* Upload artifacts to R2 after we do S3.

* Added beta check line to R2 upload
2022-10-04 21:38:48 +08:00
Opeyemi 39399b5cf8
fix: typo in auto issues responses (#3670) 2022-10-03 15:49:15 +01:00
Michał Chęciński de641d42e6
Fix build web workflow (#3664) 2022-09-30 16:17:18 +02:00
Michał Chęciński b91e2919b6
Add EE specific web container image (#3604)
* Add build command for ee

* Add config for ee

* Add build workflow for ee

* Change build pipeline for web ee

* Fix name of workflow in trigger

* Build ee image in web build workflow

* Fix name on matrix

* FIx name of the artifact

* Comment out zip extract

* Add zip extract

* All listing dir before unzip

* Add pwd

* Comment out unzipping

* Fix

* Add matrix instead of two stages

* Remove build web ee workflow

* Fix name
2022-09-29 12:21:47 +02:00
Michał Chęciński c243f3594e
Fix web qa deployment (#3632)
* Comment unzip downloaded artifact

* Replace gihub ref with master

* Add debug commands

* Change CP command

* Add another debug code

* Fix

* Another fix

* Remove debug steps

* Remove master const branch after testing
2022-09-27 16:19:55 -07:00
Vince Grassia 81f3fd0aa9
Add Selfhost job to Build Web check for failures job (#3614) 2022-09-26 10:16:53 -04:00
Vince Grassia 67c447d54c
Fix packaging on Build Web workflow (#3613) 2022-09-26 09:50:48 -04:00
Michał Chęciński 32c91deb36
Add stub for ephemeral env web build workflow (#3593) 2022-09-22 18:01:34 +02:00
mimartin12 ae08530276
[DEVOPS-933] - Migrate QA Web to cloudflare pages (#3569) 2022-09-22 09:46:17 -06:00
mimartin12 9b1b500011
fix secret pull (#3591) 2022-09-22 08:34:08 -06:00
mimartin12 25caeaa26f
patch web build workflows with docker builds 2022-09-20 08:45:27 -06:00
mimartin12 9bf3afb8de
[DEVOPS-996] - Refactor Web build workflow (#3558) 2022-09-19 14:38:19 -06:00