Skip to content

Commit

Permalink
ARN-2494 Fixes for test & deployment pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
devkokov committed Feb 27, 2025
1 parent 6282885 commit 61dd563
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy_to_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ on:
jobs:
deploy_to_env:
uses: ministryofjustice/hmpps-assess-risks-and-needs-github-actions/.github/workflows/deploy_to_env.yml@v1
secrets: inherit
with:
environment: ${{ inputs.environment }}
image_tag: ${{ inputs.image_tag }}
1 change: 1 addition & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ jobs:
save-timings:
uses: ministryofjustice/hmpps-assess-risks-and-needs-github-actions/.github/workflows/cypress_save_timings.yml@v1
if: success() || failure()
secrets: inherit
needs:
- get-timings
- e2e-test
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pipeline_main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
e2e_test:
needs: build_docker
uses: ./.github/workflows/e2e_test.yml
secrets: inherit
with:
app_version: ${{ needs.build_docker.outputs.app_version }}

Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pipeline_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
packages: write
actions: write

jobs:
node_build:
name: Build
Expand Down Expand Up @@ -51,5 +56,6 @@ jobs:
e2e_test:
needs: build_docker
uses: ./.github/workflows/e2e_test.yml
secrets: inherit
with:
app_version: ${{ needs.build_docker.outputs.app_version }}

0 comments on commit 61dd563

Please sign in to comment.