Commit Graph

70 Commits

Author SHA1 Message Date
Oscar Hinton 57f1a5e380
Remove msbuild from workflow (#1522) 2022-03-08 11:48:12 +01:00
Micaiah Martin 5cb3941190
BEEEP - organize linting in CI (#1520) 2022-03-07 11:02:23 -05:00
Vince Grassia bc05d27082
Add logic for pushing latest image to QA container registry (#1515) 2022-03-03 14:00:41 -05:00
Micaiah Martin 1b52b5a98a
Added dry run logic (#1497) 2022-02-25 09:07:54 -05:00
Micaiah Martin df5b175cdf
Remove workflows from build trigger (#1496) 2022-02-24 08:42:14 -06:00
Oscar Hinton 01f128a4a9
Remove dotnet restore (#1493) 2022-02-22 16:22:45 +01:00
Micaiah Martin 9e872bed2c
Create initial workflow (#1482) 2022-02-18 13:28:53 -06:00
Matt Gibson 041bb1bf0a
Enforce Hold label (#1478)
* Enforce Hold label

* Linting

Co-authored-by: Micaiah Martin <77340197+mimartin12@users.noreply.github.com>
2022-02-16 08:43:56 -06:00
Joseph Flinn 8910430dfb
switching the dashes to underscores for the branch name (#1433) 2022-02-02 07:30:19 -08:00
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