Skip to content

Commit

Permalink
EASI-3161: prioritize build_frontend_assets earlier in pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Jdwoodson committed Sep 1, 2023
1 parent 7a0659e commit 0ee5b27
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@ jobs:
uses: ./.github/workflows/run_tests.yml
secrets: inherit

build_application_images:
uses: ./.github/workflows/build_application_images.yml
needs: run_tests
secrets: inherit

build_frontend_assets:
needs: [run_tests]
strategy:
matrix:
env: [dev, test, impl, prod]
Expand All @@ -28,6 +22,11 @@ jobs:
env: ${{ matrix.env }}
secrets: inherit

build_application_images:
uses: ./.github/workflows/build_application_images.yml
needs: run_tests
secrets: inherit

deploy_dev:
needs: [build_application_images, build_frontend_assets]
uses: ./.github/workflows/deploy_to_environment.yml
Expand Down
11 changes: 4 additions & 7 deletions .github/workflows/manual_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,16 @@ jobs:
uses: ./.github/workflows/run_tests.yml
secrets: inherit

build_application_images:
uses: ./.github/workflows/build_application_images.yml
needs: [run_tests]
secrets: inherit

build_frontend_assets:
uses: ./.github/workflows/build_frontend_assets.yml
needs: [run_tests]
secrets: inherit
with:
env: ${{ inputs.env }}


build_application_images:
uses: ./.github/workflows/build_application_images.yml
needs: [run_tests]
secrets: inherit

deploy:
# Only deploy if one of the two cases is true:
Expand Down

0 comments on commit 0ee5b27

Please sign in to comment.