Commit Graph

61 Commits

Author SHA1 Message Date
Vince Grassia 3292d119fe
Update Version Bump action (#1388) 2022-01-12 16:06:50 -05:00
Joseph Flinn a71ce448f4
Change QA deploy SP & Re-enable feature branch deploy (#1358) 2021-12-23 09:14:10 -05:00
Vince Grassia 8991dcbf32
Set image tag to be 'dev' for now (#1353) 2021-12-20 13:16:53 -05:00
Micaiah Martin cc9b9c91d7
Patch CI to allow for redeployments. Add Github actions to prettier .ignore as well. (#1352)
* Added inputs for reruns

* Added github workflows to .prettierignore

* Moved the Redeploy logic into the setup job
2021-12-20 10:15:43 -07:00
Oscar Hinton 56477eb39c
Apply Prettier (#1347) 2021-12-17 15:57:11 +01:00
Oscar Hinton 2b0a9d995e
Add Prettier configuration (#1346) 2021-12-17 15:44:44 +01:00
Vince Grassia 6a1e683a93
Update workflows (#1344) 2021-12-16 11:46:26 -05:00
Daniel James Smith 71075cf878
Bump node to v16 (#1336)
* Pull in jslib

* Bump engines required to node 16 and npm 8

* Bump @types/node to 16

* Modify build.yml to build with node 16 and npm 8

* Update requirements in README.md

* Removed step to install npm8
npm8 is included in node v16

* Pull jslib
2021-12-13 17:16:57 +01:00
Vince Grassia 75984a2e37
Remove old 'release' ref in workflow (#1328) 2021-12-07 22:49:27 -05:00
Micaiah Martin bca7c14319
Create workflow to automatically bump version (#1320) 2021-12-01 12:45:06 -07:00
Oscar Hinton dca12def8d
Run npm lint in CI (#1314) 2021-11-24 19:23:31 +01:00
Vince Grassia fe15de02e5
Change release workflow to only allow releases from rc or hotfix branches (#1279) 2021-11-08 09:48:53 -05:00
Joseph Flinn cf460096af
Rework Crowdin Integration (#1275)
* Updating the Crowdin push process

* removing the test code in the check-failures job

* Adding a scheduled trigger to the crowdin-pull workflow

* switching the crowdin pull schedule to Friday instead of Saturday

* fixing a indentation issue
2021-11-04 11:15:29 -07:00
Joseph Flinn 523b18156c
Adding fixes from last night's release (#1263) 2021-10-27 13:08:37 -07:00
Thomas Rittson 7cb48e3a81
Add PR template (#1260) 2021-10-27 19:01:32 +10:00
Joseph Flinn 381ec7af67
enabling the new release branch to push its docker images (#1258) 2021-10-26 14:20:28 -07:00
Joseph Flinn 618f950cae
Change release branch constraints (#1248)
* updating the release branch constraints

* updating the self host docker image build and release with the new release branch

* renaming the release job for selfhost docker release

* removing unneeded line

* removing the master branch release ci code execution

* updating some verbiage
2021-10-21 10:31:41 -07:00
Vince Grassia f63b395736
Add notify constraint (#1244) 2021-10-15 13:06:59 -04:00
Vince Grassia a35024e61d
Add Slack alerts for Build workflow failures (#1240) 2021-10-14 14:34:31 -04:00
Joseph Flinn 7b21e380cb
Add release assets (#1218)
* adding new build artifacts

* fixing some version issues

* fixing syntax error

* fixing asset names

* updating the release workflow to release the new build assets
2021-10-08 09:54:42 -07:00
Joseph Flinn 1df2225a52
Ran the new linter over the web project and found some errors (#1197) 2021-09-24 09:28:37 -07:00
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