Commit Graph

295 Commits

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