1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-18 12:22:59 +01:00
Commit Graph

40 Commits

Author SHA1 Message Date
Joseph Flinn
15ea87d6b6
Revert "adding temp workflow to enable the deploy workflow on the rc branch (#1201)" (#1203)
This reverts commit 0481bf07e2.
2021-09-23 06:15:13 -07:00
Joseph Flinn
0481bf07e2
adding temp workflow to enable the deploy workflow on the rc branch (#1201) 2021-09-21 18:58:22 -07:00
Joseph Flinn
ab0ce71db8
Updating to new CI model (#1196)
* starting the new pipeline model update

* updating the deploy portion of the pipeline

* adding a stub for the release notes

* removing the redundant deploy workflow

* fixing the cloud job. Adding a npm pre-cache

* updating the hashFile for the caches

* removing the cache-hit check since the logic doesn't work for node_modules

* checking out the repo in the precache

* removing the pre-cache step. Seems to slow down the pipeline overall

* ghpage-deploy with the correct input for the versions

* testing a custom action for the DCT setup

* fixing a typo

* fixing the shell issue in the custom action

* removing a conditional to run a test

* testing redaction

* fixing the weird colon inline with run issue

* commenting out the DCT for testing

* test passed. Updating the release pipeline with the new Setup DCT action

* updating the DCT setup action hash

* updating the release workflow with the linter suggestions
2021-09-21 09:37:17 -07:00
Oscar Hinton
30d2aeb6a3
Update build commands (#1180) 2021-09-14 13:26:26 +02:00
Joseph Flinn
7e95476dce
Adding QA info.json file (#1182)
* adding a file to the QA container to enable easy tracking the version of the currently deployed web client

* adding another visual representation of the QA version
2021-09-08 10:08:31 -07:00
Oscar Hinton
9269774aed
Add additional context to issue template (#1179) 2021-09-08 10:58:46 +02:00
Vince Grassia
9832deb20c
Update workflows with linter suggestions (#1174) 2021-09-02 16:05:17 -04:00
Oscar Hinton
cc359e905b
Add issue template and template chooser (#1164)
* Add issue template, and template chooser
2021-09-01 16:18:26 +02:00
Joseph Flinn
9c187e9430
Simplifying the crowdin sync workflow (#1155) 2021-08-27 10:08:26 -07:00
Joseph Flinn
b9d0226ede
fixing env var spelling error (#1160) 2021-08-27 09:12:50 -07:00
Joseph Flinn
bb30f3b7c3
Enable redeploying same image for QA (#1159)
* Fixing the redeploy of the same docker image to QA

* removing a line that snuck in
2021-08-27 08:40:35 -07:00
Matt Gibson
66bd8be2c9
Set urls from config file (#1151)
* Set environment URLs in webpack config.

* Provide non NULL dev server

* QA env uses the pq TLD

* Include icons in qa env

* Move base configs to develop.

local configurations should be done in the `./config/local.json` file.

* Fix config override loading to default to development

* Standardize url formatting

* Limit QA settings to those set in production

* Set self hosted in a config

* Specify cloud instead of production

Self hosted and cloud are both production environments.
The ENV setting is used to specify the env type while
NODE_ENV specifies whether development error handling and services.

* Update config instructions

* Remove invalid json

* Change env `production` references to `cloud`

* Fix formatting
2021-08-25 13:15:31 -05:00
Joseph Flinn
9bb252f954
Crowdin Automation Cleanup (#1148)
* adding a "global variable" syntax for env vars

* switching diff branch to a testing branch instead of master

* adding base branch to the PR creation

* adding the diff branch to be the base branch to branch off of

* switching the diff branch back to master

* updating the last half of the workflow to use the new global var format
2021-08-24 11:58:34 -07:00
Joseph Flinn
c1cdd8a843
adding in a line that was mistakenly removed (#1133) 2021-08-18 14:24:34 -07:00
Joseph Flinn
55b27d4607
adding logic to gracefully handle scenarios with no crowdin changes (#1126) 2021-08-13 13:27:56 -07:00
Joseph Flinn
b9b20bc36b
Fix crowdin sync (#1122)
* fixing syntax error

* changing the way we check the number of build status tries

* adding in the Crowdin Api Token env var to the main step

* Breaking up the Crowdin update step into smaller manageable steps

* fixing env var for the download step

* fixing build id env for download

* Fixing PR branch env vars

* adding in a different way of pushing if branch already exists

* fixing the git bot user
2021-08-11 09:01:29 -07:00
Joseph Flinn
392e29a371
Fixing Automated Web Deploy (#1082)
* switching back to npm install because duo_web_sdk is in the package-lock.json as an ssh url

* trying the workaround found in https://github.com/npm/cli/issues/2610

* adding in the jslib to see if that fixes the original problem. Removing the workaround to isolate the solution

* adding in back the workaround
2021-08-10 07:52:53 -07:00
Joseph Flinn
77a401a931
QA deploy to CI push (#1119)
* updating the way we are deploying the web qa project

* adding double quotes to try to fix the new image tag

* trying the env var on a multi-line

* fixed the git ref image name in the build workflow

* fixing the the image tag in the qa deploy workflow

* adding in the k8s namespace to the set image
2021-08-10 07:28:21 -07:00
Joseph Flinn
851a53ec31
initial trial of automating the crowdin syncing (#1096) 2021-07-26 07:53:35 -07:00
Joseph Flinn
81dfcca06c
fixing the prod deploy workflow error with npm ci (#1054) 2021-06-29 20:51:53 -07:00
Joseph Flinn
7b17ba1dee
adding in a workflow to deploy the Web client to the QA environment (#1051) 2021-06-29 07:33:01 -07:00
Thomas Rittson
d6d71c94f5
Remove bump-jslib Github Action (#1040) 2021-06-22 07:37:34 +10:00
Thomas Rittson
f2c9c9ebbb
Improve bump-jslib GH action (#1030)
* Change reviewer to dept-engineering

* Use modern command substitution instead of backticks

* Fix truncation of git log, improve Github syntax

* Change PR title
2021-06-16 06:17:15 +10:00
Thomas Rittson
3e2e7b8622
Add bump-jslib Github action (#1024)
* Add bump-jslib Github action

* Add to existing PR if present, fix PR refs in log

* Use specific commit hash for actions/checkout

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>

* Fix formatting and echo output

Co-authored-by: Joseph Flinn <58369717+joseph-flinn@users.noreply.github.com>
2021-06-15 08:03:14 +10:00
Joseph Flinn
c3f128182c
Add qa container (#1028)
* adding an almost duplicate job to build qa

* adding ~/.npm cache and testing the qa build

* switching the AZ creds to the QA ones for the QA workflow

* fixing initial qa container name

* removing the cache since the self hosted instance needs the  instead of the ci

* fixing the testing code

* removing the testing code and renaming some of the jobs
2021-06-14 12:20:49 -07:00
Joseph Flinn
c198ec32bb
Fix deploy workflow (#1016)
* fixing the automated web deploys

* adding the action version numbers
2021-06-11 12:52:59 -07:00
Joseph Flinn
0a0e871696
Add deploy workflow (#1010)
* adding automated deploy workflow

* adding action versions
2021-06-02 13:45:31 -07:00
Joseph Flinn
65b52617a8
fixing the release workflow (#1009) 2021-06-02 09:28:51 -07:00
Joseph Flinn
59f2b51d25
Release Workflow (#1007)
* spilting out the build workflow into build and release workflows. Solves the problem of the incorrect self-hosted version being released

* pinning action versions

* release workflow fixes

* removing unneeded env vars

* normalizing the naming conventions

* one more Docker
2021-06-02 08:28:56 -07:00
Oscar Hinton
b3f5c72ba9
Bump NPM to v7 (#995)
* Bump NPM to v7

* Refresh package-lock
2021-05-26 22:17:37 +02:00
Vince Grassia
34be07c220
Pin versions of actions in workflow (#980) 2021-05-17 11:18:45 -04:00
Oscar Hinton
bb95eb84ea
Bump node to 14 (#955)
* Bump node to 14

* Update Readme

* Change engine to ~14

* Bump jslib

* Remove @angular/localize since it's not used
2021-05-14 20:08:03 +02:00
Vince Grassia
4c1e36462c
Fix docker tag version in workflow (#973) 2021-05-12 17:24:18 -04:00
Joseph Flinn
29f741316c
fixing docker push (#965)
* fixing docker push

* adding in the the missed vars
2021-05-11 12:46:14 -07:00
Joseph Flinn
293ae12e33
Updating the docker signing key (#963)
* Updating the docker signing key

* restricting the Azure login to specific branches that use docker

* only retrieving secrets on specific branches
2021-05-11 12:02:31 -07:00
Joseph Flinn
ad40c38ca3
Build pipeline fix (#938)
* updating the build pipeline for the QA env

* changing the docker build context

* removed commented code

* moving commands to single line

* fixing typo

* removing unneeded build script
2021-04-20 13:27:09 -07:00
Joseph Flinn
b01c71f579
adding docker to the rc branch workflow (#870) 2021-03-04 13:28:32 -08:00
Joseph Flinn
722bcfc31b
Add rc auto (#868)
* adding new rc docker tag

* adding rc docker push

* updating task name
2021-03-04 10:07:59 -08:00
Joseph Flinn
54b68ac543
fixing incorrect secret name (#747) 2020-12-21 12:58:51 -08:00
Joseph Flinn
ff378f05fe
Moving appveyor to actions (#746)
* initial build testing

* fixing the release event

* fixing typo

* adding windows build

* fixing yaml

* fixing yaml again...

* fixing the windows build
2020-12-21 09:46:36 -08:00