1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-06 00:48:08 +02:00
Commit Graph

400 Commits

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