Commit Graph

280 Commits

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