Commit Graph

485 Commits

Author SHA1 Message Date
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
Vince Grassia f8634d2913
Update steps in web workflows (#3463) 2022-09-08 11:11:47 -04:00
Thomas Rittson 05ebca2c4c
[EC-497] Fix memory leaks in tests (#3421)
* Add isolatedModules:true

* Add manual typechecking in CI for libs/ tests
2022-09-08 08:05:30 +10:00
Matt Gibson 607e86de9b
Add needs QA to enforce labels (#3450)
* Add needs QA to enforce labels

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

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2022-09-07 09:33:29 -05:00
Michał Chęciński d1243c97a4
Update deprecated Azure Key Vault action in workflows (#3438)
* Update deprecated Azure Key Vault in workflows

* Try without colons

* Specify bash as shell runner
2022-09-05 11:39:27 +02:00
Oscar Hinton e0ae1bb738
Fix failing tests (#3374)
* Fix trial-initation test

Co-authored-by: Michał Chęciński <michal.checinski@outlook.com>
2022-08-25 18:26:18 +02:00
Michał Chęciński bd88b5b365
Run client test on build (#3216)
* Add tests step to build pipelines

* RUn tests for safari

* Remove tests step to build pipelines

* Run tests on root dir on pr

* Revert "Remove tests step to build pipelines"

This reverts commit 497bd86620.

* CHange name

* Remove working directory

* Add manual trigger

* Comment out cache

* Try to fix

* Revert "Try to fix"

This reverts commit 93d404b7d5.

* Disable failing test
2022-08-25 18:06:31 +10:00
Michał Chęciński 4452a3213b
Fix QA web cloudflare deployment (#3369)
* Comment workflow for testing

* Change way of downloading

* Fix artifact name

* FIx

* Fix path

* Skip unpack

* Fix path

* Check files

* Fix

* Add working directory

* FIx

* Try to download from rc

* Try to download from fastmail

* Try to download from sg-576

* Try another branch

* Try another branch

* Try hotfix-rc branch

* CHange branch for hotfix-rc-test

* FIx

* Try on another branch

* Use new gh actions

* Check for hotfix-rc

* Update download artifacts sha

* Update sha

* Update sha

* Change to branch tag

* Change sha of action

* Uncomment testing

* Change branch
2022-08-25 10:02:13 +02:00
Michał Chęciński a5e1949ac0
Fix typo in desktop beta release workflow (#3360) 2022-08-23 16:27:10 +02:00
Matt Gibson f74aa6f314
Add Manifest v3 artifact to pipelines (#3331)
This requires a second build due to the differences being handled in webpack.
2022-08-18 11:07:02 -05:00
Micaiah Martin e59f635d32
Update tag logic for web-sh container (#3327) 2022-08-17 14:06:33 -06:00
Joseph Flinn 16c41b823b
[workflows] Decouple hotfix-rc branches (#3298) 2022-08-16 08:55:57 -07:00
Michał Chęciński 0602d97358
Fix CLI publish to NPM (#3272) 2022-08-10 16:25:39 +02:00
Todd Martin 56ce85c69c
ENG-71 - Updated release workflows with cleanup recommended by Vince (#3224)
* Updated release jobs to include fixes that Vince recommended from the mobile repo

* Updated the workflows with the fixes
that Vince recommended from mobile.

* Fix linter errors

Co-authored-by: Todd Martin <>
Co-authored-by: Michal Checinski <michal.checinski@outlook.com>
2022-08-08 13:21:49 -04:00
Micaiah Martin 1a49117d8a
Handle "/" in branch names (#3260) 2022-08-08 11:10:18 -06:00
Micaiah Martin 5f13c4722f
Update web workflow with additional logic (#3256)
Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
2022-08-05 13:33:08 -06:00
Oscar Hinton 762fac062f
[CL-46] Dialogs (#3237) 2022-08-05 17:45:36 +02:00
Micaiah Martin 8cc02ff03d
Update web depoy workflow to use release_version (#3231) 2022-08-02 16:01:30 -06:00
Michał Chęciński 59ce41aabb
Auto bump desktop version after release (#3182)
* Add version autobump for desktop

* Trigger version bump workflow

* Comment for testing

* Add input for test purposes

* Fix bracket

* Remove testing
2022-08-01 15:51:34 -07:00
Michał Chęciński 8820a42ec9
Enable beta channel desktop release (#3161)
* Fix name

* Fix version reference

* Add release version bump to every job

* Fix release channel name

* Setup git branch

* Change branch name

* Fix name

* Fix download artifact

* Uncomment after testing

* Removed jslib

* Fix comments
2022-07-29 15:35:47 -07:00
Michał Chęciński 3f758cdb9a
Add version autobump stub (#3194) 2022-07-29 12:18:47 +02:00
Joseph Flinn 12bca0a597
[workflows] Finishing up the switch from the hotfix-rc/* back to hotfix-rc (#3179) 2022-07-26 13:43:29 -07:00
Todd Martin 88ee166e4d
[ENG 71] Add calls to Github Deployments API to allow Jira integration on Deployments (#3164)
* [ENG-71] updated release-web.yml to add deployment updates.

* [ENG-71] Added newline at the end of the file

* [ENG-71] Changed environment name.

* [ENG-71] Changed branch name again.

* Fixed error in brackets.

* Added release version

* [ENG-71] Updated all the other scripts to track deployments.

* [ENG-71] added channel

* [ENG-71] Added newline

* [ENG-71] Removed separate deployments for choco and snap

* [ENG-71] Removed separate deployments

* [ENG-71] Added newline

* [ENG-71] refined messages

* [ENG-71] Changed to separate out environment and description.

* [ENG-71] more changes to sepearate environment from description

* Job cleanup

* Job cleanup

* [ENG-71] More job cleanup

* [ENG-71] Updated to use commit instead of v2.

* [ENG-7] Fixed error referencing release-version

Co-authored-by: Todd Martin <>
2022-07-25 17:20:17 -04:00
Oscar Hinton 0c1bd57cfd
[BEEEP] [EC-141] Rust - Windows hello (#2635) 2022-07-25 13:24:13 +02:00
Michał Chęciński eaec97506e
Feature/devops 883 upload beta channel desktop release (#3150)
* Add workflow for releasing desktop beta

* Comment out for testing
2022-07-21 17:16:41 +02:00
Vince Grassia 8aca6459cf
DEVOPS-852 - Update "Dry Run" paths in Release workflows (#3132) 2022-07-19 15:01:14 -04:00
Vince Grassia 23bf69c733
Change branch push event (#3106) 2022-07-18 09:06:15 -04:00
Michał Chęciński cb3e991b2b
Add version change check in the version bump workflow (#3104)
* Check if any changes to commit

* Comment out checkout since there is a git switch

* Change base branch to DEVOPS-872_version_bump_not_fail

* Remove checkout version branch since git switch does that

* Revert "Change base branch to DEVOPS-872_version_bump_not_fail"

This reverts commit 8874702469.
2022-07-15 07:31:39 -06:00
Micaiah Martin 3f03833e9b
Add publish options to release workflows (#3112) 2022-07-15 07:29:56 -06:00
Vince Grassia 97f544f7e1
DEVOPS-869 - Fix Web Version bump (#3105) 2022-07-14 12:36:00 -04:00
Michał Chęciński 0a06ae0ec5
Move the QA Web Vault to CloudFlare Pages (#3030)
* Release to QA branch

* Fix branch name

* Change release to automatically push new version

* Fix name of GH bot

* Add check if there is sth to commit

* Fix comments

* Fix comments #2

* Keep k8s deployment

* Fix newlines
2022-07-13 15:45:52 +02:00
Michał Chęciński 6f55ca38e9
Remove latest tag on release (#3044) 2022-07-13 15:45:06 +02:00
Oscar Hinton c8ead3de65
Resolve CLI release pipeline not including build artifacts (#3040) 2022-07-05 23:03:00 +02:00
Joseph Flinn a024a066c2
Fixing the choco and the npm releases (#3034) 2022-07-05 07:42:02 -07:00
Joseph Flinn 6bcde3a84c
Fix Choco Release & Update Dry Run logic (#3017)
* disabling snap for testing

* adding in environment logging

* adding in some Dry Run logic

* adding more protected dry run logic

* skipping long running steps for testing purposes

* testing out windowws-2022 runner

* Trying a different GitHub Action expression syntax

* manually disabling jobs because I don't have time to figure out GitHub's weird syntax

* updating nuget on windows-2019

* disabling the nuget version 6

* trying more GitHub Action syntax

* disabling choco for testing

* running test on Dry Run release

* changing the double quotes to single quotes inside the GitHub Action expression

* removing testing code

* updating more dry run logic

* reverting a branch name change
2022-07-01 08:44:20 -07:00
Joseph Flinn af2523aa6f
switching the order of the checkout and branch check to solve cli release isssue (#3016) 2022-06-30 10:26:35 -07:00
Micaiah Martin e51f1551d1
Update choco jobs to use secret from AzKeyVault (#3015) 2022-06-30 09:32:03 -07:00
Joseph Flinn f60bc13f62
Updating the tag name of the web release (#2982) 2022-06-27 11:44:50 -07:00
Vince Grassia 8fb1fc41b2
Update workflows (#2945) 2022-06-22 08:32:45 -04:00
Vince Grassia 9dd49a0023
Update workflows to deploy to CloudFlare Pages (cf-pages branch) (#2936) 2022-06-20 15:16:51 -04:00
Vince Grassia 7310fa826e
Add Brew Bump Workflows (#2934) 2022-06-20 12:23:11 -04:00
Oscar Hinton 4106eead02
Migrate Chromatic (#2906) 2022-06-16 20:41:22 +02:00
Thomas Rittson 29f95cdb7d
[PIQ-3] Add Github Actions to help manage issues and PRs (#2886)
* Add automatic issue responses and stale Github Actions
2022-06-14 10:24:23 +10:00
Michał Chęciński e12d28d14a
Add root config files to trigger build workflows (#2875)
* Add root js config files to trigger build workflows

* Update to match all files in root except md and txt ones
2022-06-13 09:59:15 +02:00
Vince Grassia 351bfdede1
Fix Browser Source Code Artifact (#2869) 2022-06-09 12:31:13 -04:00
Micaiah Martin a65d7370d4
Add QA release (#2833) 2022-06-08 12:32:20 -07:00
Vince Grassia 5a7a5a952a
Renaming NSIS Desktop Artifacts (#2867) 2022-06-08 15:23:28 -04:00
Vince Grassia ce017125e1
Add 'libs' to build workflow event paths (#2861) 2022-06-08 13:53:35 -04:00
Daniel James Smith 834ace4c87
Fix crowdin sync for web (#2853)
* Remove prefixed underscore from crowdin_project_id

* Update crowdin push action
2022-06-07 21:31:53 +02:00
Vince Grassia 5097cc949a
Fix bug in 'Check for failures' job (#2852) 2022-06-07 11:05:21 -04:00
Michał Chęciński bd6cdf3aa3
Devops 829 Add electron beta channels (#2838)
* Add option for beta channels in package.json for electron

* Change placement of build settings

* Add version

* Revert "Add version"

This reverts commit 2e09cc7d5e.

* Add electron version to package.json

* Move build to higher level

* Add upload beta autoupdate

* Revert version

* Updating the release workflow with the new channels

* restrict GitHub Release to only 'latest'

* fixing electron-builder configuration

* version bump test

* fixing words

* Commenting out the npm cache in the windows build job

* Adding back in the caching for the future

* Revert "version bump test"

This reverts commit b732d00841.

Co-authored-by: Joseph Flinn <joseph.s.flinn@gmail.com>
2022-06-07 15:44:25 +02:00
Daniel James Smith a22c6c55ed
Adding web to the crowdin pull action (#2849) 2022-06-07 15:18:46 +02:00
Michał Chęciński f5adb0a7ae
Devops 818 trigger desktop on browser build (#2749)
* Add trigger when browser build completes

* Download artifacts from workflow run trigger

* Fix branch quotes

* Remove workflow run event trigger

* Add trigger step for desktop build

* Add current branch name for test purposes

* Change the branch name

* Add token retrieval from KeyVault

* Revert "Change the branch name"

This reverts commit 696157dc81.

* Fix json in request

* Add printing variables

* Change way of creating json string

* Change name of kv secret
2022-06-03 14:48:22 -06:00
Oscar Hinton 2126ac414c
[EC-236] Add CLI dependencies to root package.json (#2816) 2022-06-03 20:11:47 +02:00
Micaiah Martin 7d6aedb9f8
[CI] - Remove dependencies for removed step (#2825) 2022-06-03 16:49:37 +02:00
Micaiah Martin c609e8bb8f
Migrate Web workflows from old repo (#2776) 2022-06-03 08:35:46 -06:00
Vince Grassia 8896cf0dc0
Fix spelling error (#2779) 2022-06-02 14:14:17 -04:00
Vince Grassia 0b83938cd9
Fix Desktop Release Workflow (#2778) 2022-06-02 14:02:26 -04:00
Oscar Hinton 12c4a3e7f8
[EC-236] Move dependencies to root package.json (#2720) 2022-06-02 15:18:29 +02:00
Vince Grassia 6b51b95d39
Fix working directory bug (#2769) 2022-06-01 15:36:16 -04:00
Vince Grassia 77cf0d3a98
Add missing environment variables (#2767) 2022-06-01 15:19:44 -04:00
Vince Grassia dfc3687246
Fix variable substitution (#2766) 2022-06-01 15:12:19 -04:00
Vince Grassia 4e7faeda04
Fix Version Bump Workflow (#2765) 2022-06-01 15:01:11 -04:00
Vince Grassia f2c47999a0
Remove working-directory and append to action file_path (#2764) 2022-06-01 13:35:30 -04:00
Joseph Flinn e68272e445
Switching to use the Release Version Check to validate the release versions (#2763) 2022-06-01 10:03:05 -07:00
Micaiah Martin 11f04d0c1e
Update working directory for status job (#2761) 2022-05-31 09:00:32 -06:00
Micaiah Martin 2f72286f66
Add CLI build (#2746)
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-05-31 07:20:06 -06:00
Joseph Flinn 740c92b784
Monorepo Crowdin Sync (#2713)
* trying a working-directory to fix the crowdin configuration issue

* trying a job default working-directory

* switching to using a custom action

* bumping the custom action version

* bumping the custom action version

* updating the PR branch names to have different ones per project

* removing test code

* Updating commit hash to master branch of custom crowdin pull action
2022-05-26 10:55:52 -07:00
Vince Grassia c6a1ea3c59
Change push event branches (#2723) 2022-05-25 09:17:52 -04:00
Micaiah Martin 7975e47b20
Re-add S3 artifacts and updated release workflow (#2719) 2022-05-24 08:42:17 -06:00
Vince Grassia 55bc4a39a4
Add 'pull_request' event to Build workflows (#2721) 2022-05-24 10:26:09 -04:00
Joseph Flinn 6e5cf10a99
Adding in another path to trigger the client build workflows (#2707) 2022-05-20 09:39:38 -07:00
Michał Chęciński 83ccbf2c90
[DEVOPS-810] Move Safari build to browser workflow (#2683)
* Add safari build to browser

* Add safari build stage

* Run safari build on macos

* Publish safari artifact

* Add keychain setup

* Change way of uploading safari artifact

* Change way of ziping safari

* Fix upload artifact path

* Print directory

* Change to absolute path

* Fix browser package upload

* Add desktop download safari extension artifact

* Change branch name in artifact download

* Add ls for packages

* Change path to extract artifacts

* Added list dir

* Change dir to save artifacts

* Path testing

* Fix path

* ls all subdirs

* Unzip safari artifact

* Fix print for echo

* Fix path for unzip

* Remove ls

* Add unzipping Safari as separate job

* Fix paths to unzip

* Remove commented options

* Fix comments

* Fix comment on stsus reporting

* Fix unnecessary newlines
2022-05-18 07:31:02 -07:00
Vince Grassia c260464f96
Fix Crowdin Pull workflow (#2667) 2022-05-10 10:20:32 -04:00
Vince Grassia f82279094b
Fix Build Desktop Workflow (#2666) 2022-05-09 11:22:14 -04:00
Vince Grassia 0e1aacc7f2
Fix Crowdin Push for Build Workflows (#2665) 2022-05-09 09:53:48 -04:00
Micaiah Martin 93d2ab743c
Update provisioning files in desktop build (#2647) 2022-05-06 11:20:10 -05:00
Vince Grassia db02c2415b
Fix build number base (#2638) 2022-05-05 16:56:45 -04:00
Vince Grassia e6fcdde29c
Fix Desktop Build Workflow (#2637) 2022-05-05 16:20:16 -04:00
Vince Grassia 186c16b577
Update Browser Build Workflow (#2544) 2022-05-04 10:59:05 -04:00
Daniel James Smith eb4b9bc7b0
Fix Crowdin pull action (#2542)
* Rename crowdin-pull.yml to crowdin-pull-browser.yml

* Fix path to crowdin config for pull action
2022-05-04 14:37:45 +02:00
Daniel James Smith 63c606d463
Fix directory for browser's Crowdin pull config (#2541) 2022-05-04 14:37:24 +02:00
Vince Grassia 7d25bf6904
Remove lint job from build workflows (#2538) 2022-05-03 16:35:35 -04:00
Oscar Hinton c1cc5a0814
[EC-183] Move eslint and prettier to project root (#2536) 2022-05-03 21:45:37 +02:00
Oscar Hinton 04ab35f69b
[EC-183] Bump jslib to match the expected version (#2534) 2022-05-03 20:25:18 +02:00
Oscar Hinton e639f3c40c
[EC-183] Mono Repository - Browser pipelines (#2533)
Co-authored-by: Vince Grassia <593223+vgrassia@users.noreply.github.com>
2022-05-03 20:01:37 +02:00
Joseph Flinn b26f9e64bb Bumping pinned commit of the download-artifact action to bypass the broken GitHub api 2022-04-15 07:41:46 -07:00
Micaiah Martin 5dec5dea25
Merge branch 'master' into build-actions-updates 2022-03-16 15:36:24 +00:00
Vince Grassia ea1c33621a
Add Node package caching (#2454) 2022-03-15 17:08:43 -04:00
Micaiah Martin e06616fe79 Updated actions 2022-03-15 13:43:45 -06:00
Joseph Flinn 609f21f203 Updating the hotfix release branch name to hotfix-rc 2022-03-09 11:11:44 -08:00
Micaiah Martin e0844a1a07
Merge pull request #2408 from bitwarden/BEEEP-exclude-workflows-build 2022-02-25 08:12:58 -06:00
Micaiah Martin 676b587cd9 Added dry run logic 2022-02-24 11:26:57 -06:00
Micaiah Martin d9ac8cc50a Ignored workflow files from triggering builds 2022-02-24 11:20:04 -06:00
Micaiah Martin 7322acc403 Created workflow file 2022-02-18 09:05:18 -06:00
Matt Gibson 32e625bd22
Enforce hold label (#2389)
* Enforce hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:42:28 -06:00
Joseph Flinn 7b6f9f8d79 Install prettier before use 2022-02-10 23:12:24 -08:00
Joseph Flinn b3496eddb8 Switching to only running prettier on the manifest json file 2022-02-10 20:05:32 -08:00
Joseph Flinn a5347636ef adding prettier to the version bump workflow 2022-02-10 19:56:15 -08:00
Micaiah Martin 1d2b7c0b42
\n strikes again. 2022-01-28 14:40:51 -07:00
Micaiah Martin a2c80bf0f9 Moved to ubuntu from windows 2022-01-28 14:29:11 -07:00
Micaiah Martin f2f6113197 Formatting 2022-01-28 12:11:39 -07:00
Micaiah Martin 236064fbe1 Update actions and set slack job to check for lint errors 2022-01-28 11:48:09 -07:00
Micaiah Martin 99617cf709 added dependancies 2022-01-28 11:29:49 -07:00
Micaiah Martin 4072a8f5d8 moved linting to the front of CI 2022-01-28 11:23:34 -07:00
Vince Grassia ab7fda888f
Update Version Bump action to latest (#2271) 2022-01-18 10:31:10 -05:00
Oscar Hinton 8fe821b9a3
Apply Prettier (#2238) 2021-12-21 15:43:35 +01:00
Oscar Hinton cebee8aa81
Add Prettier configuration (#2237) 2021-12-21 15:15:19 +01:00
Micaiah Martin 167ff61374 Added logic for redeployments 2021-12-20 11:10:52 -07:00
Daniel James Smith fd14ccc86b
Removed action step that installs npm8
npm 8 is included in node v16
2021-12-13 10:57:35 +01:00
Daniel James Smith d35d7c821e
Modify build.yml to build with node 16 and npm 8 2021-12-10 16:11:44 +01:00
Oscar Hinton 616b2e139a
Run npm lint in CI (#2197) 2021-12-03 20:35:34 +00:00
Micaiah Martin 3321520708
Update version-bump.yml 2021-11-30 13:45:35 -07:00
Micaiah Martin 49c9c7725d
Fixed name 2021-11-30 13:42:03 -07:00
Micaiah Martin 9ea449233e Added version bump workflow 2021-11-30 13:34:31 -07:00
Joseph Flinn 194e8ea828
Merge pull request #2159 from bitwarden/feature/crowdin-push
Updating Crowdin Sync Process
2021-11-05 10:59:27 -07:00
Vince Grassia b38fb3bee0
Fix release workflow to allow releases from 'rc' or 'hotfix' branches only (#2158) 2021-11-05 10:20:43 -04:00
Joseph Flinn a9e523ac9f scheduling the crowdin pull for every friday 2021-11-04 13:09:20 -07:00
Joseph Flinn 8c1c0fd832 fixing syntax issue 2021-11-04 13:04:59 -07:00
Joseph Flinn c97ff022b3 constraining the the crowdin push to the master branch 2021-11-04 13:04:24 -07:00
Joseph Flinn 2a0ddb1353 Updating the Crowdin update process 2021-11-04 13:02:06 -07:00
Joseph Flinn fed6a81f6b removed the unneeded build-commit env var 2021-10-27 11:48:50 -07:00
Joseph Flinn e4fc715b35 fixing the different naming schemes between the build artifacts 2021-10-27 11:46:37 -07:00
Joseph Flinn a60cb8cc93 Renaming the release assets with the release version instead of the commit hash 2021-10-27 11:01:02 -07:00
Joseph Flinn 472be6ea69 fixing the env vars for building the zipped source 2021-10-27 10:49:50 -07:00
Joseph Flinn d992b13a0b updating some verbiage 2021-10-21 08:33:40 -07:00
Joseph Flinn ecfb80fd6d removing the master branch CI code execution 2021-10-21 08:15:51 -07:00
Joseph Flinn 9635b1acb7 Updating the release branch constraint and the CI pipeline code constraint 2021-10-20 11:28:19 -07:00
Vince Grassia 9c10961b9f
Add notify constraint (#2120) 2021-10-15 13:07:15 -04:00
Vince Grassia ca0bcc0535
Add Slack failure alerts (#2115) 2021-10-13 17:54:22 -04:00
Joseph Flinn 5767826982 Updating the browser CI workflow to the new model 2021-09-27 15:55:53 -07:00
Joseph Flinn 1dd991bef0 removing testing code and fixing the release code 2021-09-14 12:53:25 -07:00
Joseph Flinn 66a4cfe089 fixing dist names 2021-09-14 12:46:25 -07:00
Joseph Flinn 57926b71a9 switching to pwsh 2021-09-14 12:25:20 -07:00
Joseph Flinn 63ccf8e87c trying to find the browser artifacts 2021-09-14 12:03:36 -07:00
Joseph Flinn f8098b2e8d
Merge branch 'master' into hotfix/fix-crowdin-sync 2021-09-03 11:28:58 -07:00
Vince Grassia 61f551087f
Update workflows with linter suggestions (#2051) 2021-09-02 16:03:47 -04:00
Joseph Flinn f8b362b109 updating the project id env 2021-08-26 08:17:17 -07:00
Joseph Flinn e401a52365 settling on this workflow after testing 2021-08-25 15:24:26 -07:00
Joseph Flinn 1170779a98 adding in the git branch 2021-08-25 15:02:43 -07:00
Joseph Flinn f0484dc4fb trying some other parameters in the crowin action 2021-08-25 15:00:56 -07:00
Joseph Flinn 1d905d76f9 expanding the crowdin tanslation download 2021-08-25 14:49:08 -07:00
Joseph Flinn c9b9e8175a fixing the crowdin action name 2021-08-25 14:47:16 -07:00
Joseph Flinn e973b7fe9e switching the action that is being used 2021-08-25 14:46:08 -07:00
Joseph Flinn c2fc0cb8f3 switching the base git branch 2021-08-25 14:43:03 -07:00
Joseph Flinn e5aa08b2e0 rewriting the crowdin sync workflow with the crowdin github action that I missed existed... 2021-08-25 14:41:11 -07:00
Joseph Flinn ad07b1128d Updating the release name 2021-08-20 15:10:02 -07:00
Joseph Flinn 617074eb09 adding logic to handle if there are no changes 2021-08-13 10:51:13 -07:00
Joseph Flinn cfba106abd adding some debugging 2021-08-13 10:04:12 -07:00
Joseph Flinn 4533e04311 using the updated github action from web 2021-08-13 07:10:44 -07:00
Joseph Flinn 397080c50c Adding the crowdin sync workflow 2021-08-13 07:06:28 -07:00
Joseph Flinn 233065e954 disabling the broken coverage asset 2021-06-30 09:01:54 -07:00
Joseph Flinn 00c0b19a6e programmatically constraining releases to the rc branch 2021-06-01 11:15:52 -07:00
Oscar Hinton 36b9bd4bcb
Bump NPM to v7 (#1860) 2021-05-26 22:34:31 +02:00
Vince Grassia b5eda81d72
Pin versions of actions in workflow (#1852) 2021-05-17 16:09:59 -04:00
Joseph Flinn 1bd5242d4c readding the shell type in the release pipeline 2021-05-14 11:14:52 -07:00
Joseph Flinn 7d21e0fbb0 switching release Build sources back to pwsh 2021-05-14 11:12:34 -07:00
Vince Grassia 2664fc6957 Remove shell to default to bash 2021-05-14 11:14:21 -04:00
Vince Grassia 1a4e8debd6 Update release workflow with locales test 2021-05-13 17:08:18 -04:00
Vince Grassia 1c3db8e18e Update locales test in build workflow 2021-05-13 16:43:19 -04:00
Vince Grassia cb07bc2300 Update locale length test 2021-05-13 16:28:36 -04:00
Joseph Flinn 3d66e75ba1 fixing typo 2021-05-12 16:55:10 -07:00
Joseph Flinn 0eece35746 switching the build back to windows because of the karma testing. Moving the locales-testing to a previous job 2021-05-12 16:52:27 -07:00
Joseph Flinn 626da7d506 updating the output with a test passing message 2021-05-12 15:44:27 -07:00
Joseph Flinn 0a39d631b0 removing testing code and adding test to release pipeline just in case 2021-05-12 15:41:34 -07:00
Joseph Flinn 3da8759cc8 didn't like the output 2021-05-12 15:39:59 -07:00
Joseph Flinn a9e33362e5 adding more output 2021-05-12 15:38:21 -07:00
Joseph Flinn a88b229ff9 moving the message out of the loop 2021-05-12 15:32:40 -07:00
Joseph Flinn 27ab3193c9 swtiching the runner to be ubuntu and adding a failing test case 2021-05-12 15:31:04 -07:00
Joseph Flinn 59eb876b06 adding a kill command 2021-05-12 15:27:47 -07:00
Joseph Flinn c3690a28bd adding locales extName length check 2021-05-12 15:25:13 -07:00
Oscar Hinton 00f20c1c2e
Bump node to 14 (#1815)
* Bump node to 14

* Bump gulp-filter

* Bump dependencies

* Bump jslib

* Bump dependencies
2021-05-12 22:39:23 +02:00
Joseph Flinn cd936ce75d fixing the weird source 2021-03-18 08:23:52 -07:00
Joseph Flinn cdcb36a32d fixes the release asset 2021-03-12 11:59:36 -08:00
Joseph Flinn fd13592932 removing test code and removing cloc from release 2021-03-04 11:27:25 -08:00
Joseph Flinn e4411a3e93 renaming the main build task and removing uneeded windows builder setup 2021-02-03 09:19:41 -08:00
Joseph Flinn e2000d0eb9 fixing bash 2021-02-02 14:27:29 -08:00
Joseph Flinn fb5511b4bf testing shorter sha 2021-02-02 14:26:51 -08:00