Skip to content

Commit 7c9988b

Browse files
committed
Reorder to test charts before publish
1 parent 6625e64 commit 7c9988b

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

.github/workflows/test-pr.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,17 +24,18 @@ jobs:
2424
runs-on: ubuntu-latest
2525
steps:
2626
- name: PR must be from a branch in the stackhpc/azimuth-llm repo
27-
run: exit ${{ github.event.pull_request.head.repo.full_name == 'stackhpc/azimuth-llm' && '0' || '1' }}
27+
run: |
28+
exit ${{ github.event.pull_request.head.repo.full_name == 'stackhpc/azimuth-llm' && '0' || '1' }}
2829
29-
publish_artifacts:
30+
publish_images:
3031
needs: [fail_on_remote]
31-
uses: ./.github/workflows/build-push-artifacts.yml
32+
uses: ./.github/workflows/build-push-images.yml
3233
with:
3334
ref: ${{ github.event.pull_request.head.sha }}
3435
secrets: inherit
3536

3637
chart_validation:
37-
needs: [publish_artifacts]
38+
needs: [publish_images]
3839
runs-on: ubuntu-latest
3940
env:
4041
CLUSTER_NAME: chart-testing
@@ -74,3 +75,9 @@ jobs:
7475
- name: Run chart install and test
7576
run: ct install --config ct.yaml
7677

78+
publish_charts:
79+
needs: [chart_validation]
80+
uses: ./.github/workflows/build-push-charts.yml
81+
with:
82+
ref: ${{ github.event.pull_request.head.sha }}
83+
secrets: inherit

0 commit comments

Comments
 (0)