Skip to content

Commit

Permalink
chore: add spacing for improved legibility in multiple workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
alismx committed Sep 19, 2023
1 parent 1037640 commit 22709be
Show file tree
Hide file tree
Showing 10 changed files with 29 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/build-frontend/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ runs:
with:
name: frontend-tarball
path: client.tgz
retention-days: 1
retention-days: 1
2 changes: 1 addition & 1 deletion .github/actions/stg-wait-for-slot-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ runs:
- name: Wait for correct commit to be deployed in staging slot
working-directory: ./ops
shell: bash
run: make wait-for-${{ inputs.deploy_env }}-slot-commit
run: make wait-for-${{ inputs.deploy_env }}-slot-commit
2 changes: 1 addition & 1 deletion .github/actions/stg-wait-for-slot-readiness/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ runs:
- name: Wait for staging deploy to be ready
working-directory: ./ops
shell: bash
run: make wait-for-${{ inputs.deploy_env }}-slot-readiness
run: make wait-for-${{ inputs.deploy_env }}-slot-readiness
2 changes: 1 addition & 1 deletion .github/actions/tf-deploy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ runs:
ARM_TENANT_ID: ${{ inputs.terraform_arm_tenant_id }}
OKTA_API_TOKEN: ${{ inputs.okta_api_token }}
shell: bash
run: make deploy-${{ inputs.deploy_env }}
run: make deploy-${{ inputs.deploy_env }}
4 changes: 4 additions & 0 deletions .github/workflows/deployDemo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
DEPLOY_ENV: demo
NODE_VERSION: 18

concurrency:
group: demo-deploy
cancel-in-progress: false
Expand All @@ -24,6 +25,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -36,6 +38,7 @@ jobs:
deploy_env: ${{env.DEPLOY_ENV}}
smarty_streets_key: ${{ secrets.SMARTY_STREETS_KEY }}
okta_enabled: false

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -61,6 +64,7 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ env.DEPLOY_ENV }}

deploy:
runs-on: ubuntu-latest
environment:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deployDev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ on:

env:
NODE_VERSION: 18

concurrency:
group: ${{ github.event.inputs.deploy_env }}-deploy
cancel-in-progress: false
Expand All @@ -36,6 +37,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -50,6 +52,7 @@ jobs:
okta_enabled: true
okta_url: https://hhs-prime.oktapreview.com
okta_client_id: ${{ vars.OKTA_CLIENT_ID }}

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -75,6 +78,7 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ inputs.deploy_env }}

deploy:
runs-on: ubuntu-latest
environment:
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/deployProd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
DEPLOY_ENV: prod
NODE_VERSION: 18

concurrency:
group: prod-deploy
cancel-in-progress: false
Expand All @@ -24,6 +25,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -38,6 +40,7 @@ jobs:
okta_enabled: true
okta_url: https://hhs-prime.okta.com
okta_client_id: 0oa5ahrdfSpxmNZO74h6

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -63,10 +66,11 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ env.DEPLOY_ENV }}

deploy:
runs-on: ubuntu-latest
environment:
name: ${{ env.DEPLOY_ENV }}
name: Production
url: https://simplereport.gov
needs: [prerelease_backend]
steps:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deployStg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
env:
DEPLOY_ENV: stg
NODE_VERSION: 18

concurrency:
group: stg-deploy
cancel-in-progress: false
Expand All @@ -23,6 +24,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -37,6 +39,7 @@ jobs:
okta_enabled: true
okta_url: https://hhs-prime.okta.com
okta_client_id: 0oa62qncijWSeQMuc4h6

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -62,6 +65,7 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ env.DEPLOY_ENV }}

deploy:
runs-on: ubuntu-latest
environment:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deployTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
env:
DEPLOY_ENV: test
NODE_VERSION: 18

concurrency:
group: test-deploy
cancel-in-progress: false
Expand All @@ -23,6 +24,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -37,6 +39,7 @@ jobs:
okta_enabled: true
okta_url: https://hhs-prime.oktapreview.com
okta_client_id: 0oa1khettjHnj3EPT1d7

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -62,6 +65,7 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ env.DEPLOY_ENV }}

deploy:
runs-on: ubuntu-latest
environment:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/deployTraining.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
env:
DEPLOY_ENV: training
NODE_VERSION: 18

concurrency:
group: training-deploy
cancel-in-progress: false
Expand All @@ -24,6 +25,7 @@ jobs:
acr_registry: ${{ secrets.ACR_REPO_URL }}
acr_username: ${{ secrets.ACR_ADMIN_USERNAME }}
acr_password: ${{ secrets.ACR_ADMIN_PASWORD }}

build_frontend:
runs-on: ubuntu-latest
steps:
Expand All @@ -36,6 +38,7 @@ jobs:
deploy_env: ${{env.DEPLOY_ENV}}
smarty_streets_key: ${{ secrets.SMARTY_STREETS_KEY }}
okta_enabled: false

prerelease_backend:
runs-on: ubuntu-latest
needs: [build_frontend, build_docker]
Expand All @@ -61,6 +64,7 @@ jobs:
timeout-minutes: 1
with:
deploy_env: ${{ env.DEPLOY_ENV }}

deploy:
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit 22709be

Please sign in to comment.