Skip to content

Commit

Permalink
Revert "Run stop jobs only if start job succeded and wasn't skipped"
Browse files Browse the repository at this point in the history
This reverts commit 3b5ccf4.
  • Loading branch information
Adam Reif authored and Adam Reif committed Aug 26, 2022
1 parent 4dd2fa8 commit 6ddc38f
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_tests.yml
Expand Up @@ -85,9 +85,9 @@ jobs:
- name: stop sccache server
run: sccache --stop-server || true
stop-unit-test-checks:
if: jobs.start-unit-test-checks.outcome == 'success'
needs: start-unit-test-checks
runs-on: ubuntu-20.04
if: ${{ always() }}
steps:
- uses: audacious-network/aws-github-runner@v1.0.33
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/integration_test_calamari.yml
Expand Up @@ -431,7 +431,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-node-builder-current:
if: jobs.start-node-builder-current.outcome == 'success'
if: ${{ always() }}
needs: [start-node-builder-current, build-node-current]
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-calamari-integration-tester:
if: jobs.start-calamari-integration-tester.outcome == 'success'
if: ${{ always() }}
needs: [start-calamari-integration-tester, calamari-integration-test]
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -505,7 +505,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-docker-image-tester:
if: jobs.start-docker-image-tester.outcome == 'success'
if: ${{ always() }}
needs: [start-docker-image-tester, docker-image-test]
runs-on: ubuntu-20.04
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_dolphin.yml
Expand Up @@ -394,7 +394,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-node-builder-current:
if: jobs.start-node-builder-current.outcome == 'success'
if: ${{ always() }}
needs: [start-node-builder-current, build-node-current]
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-dolphin-integration-tester:
if: jobs.start-dolphin-integration-tester.outcome == 'success'
if: ${{ always() }}
needs: [start-dolphin-integration-tester, dolphin-integration-test]
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/metadata_diff.yml
Expand Up @@ -137,9 +137,9 @@ jobs:
path: |
output.txt
stop-checks:
if: jobs.start-checks.outcome == 'success'
needs: start-checks
runs-on: ubuntu-20.04
if: ${{ always() }}
steps:
- uses: audacious-network/aws-github-runner@v1.0.33
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_draft_releases.yml
Expand Up @@ -294,7 +294,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-node-builder-current:
if: jobs.start-node-builder-current.outcome == 'success'
if: ${{ always() }}
needs: [start-node-builder-current, build-node-current]
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_all_benchmarks.yml
Expand Up @@ -138,9 +138,9 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-node-builder-current:
if: jobs.start-node-builder-current.outcome == 'success'
needs: [run-benchmarks, start-node-builder-current]
runs-on: ubuntu-20.04
if: ${{ always() }}
steps:
- uses: audacious-network/aws-github-runner@v1.0.33
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run_linters.yml
Expand Up @@ -99,9 +99,9 @@ jobs:
- name: stop sccache server
run: sccache --stop-server || true
stop-checks:
if: jobs.start-checks.outcome == 'success'
needs: start-checks
runs-on: ubuntu-20.04
if: ${{ always() }}
steps:
- uses: audacious-network/aws-github-runner@v1.0.33
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime_upgrade_test.yml
Expand Up @@ -428,7 +428,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-node-builder-current:
if: jobs.start-node-builder-current.outcome == 'success'
if: ${{ always() }}
needs: [start-node-builder-current, build-node-current]
runs-on: ubuntu-20.04
steps:
Expand Down Expand Up @@ -465,7 +465,7 @@ jobs:
aws-image-search-pattern: ${{ env.AWS_IMAGE_SEARCH_PATTERN }}
aws-image-search-owners: ${{ env.AWS_IMAGE_SEARCH_OWNERS }}
stop-runtime-upgrade-tester:
if: jobs.start-runtime-upgrade-tester.outcome == 'success'
if: ${{ always() }}
needs: [runtime-upgrade-test, check-for-runtime-upgrade, start-runtime-upgrade-tester]
runs-on: ubuntu-20.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/try-runtime-calamari-mainnet.yml
Expand Up @@ -108,9 +108,9 @@ jobs:
- name: stop sccache server
run: sccache --stop-server || true
stop-checks:
if: jobs.start-checks.outcome == 'success'
needs: start-checks
runs-on: ubuntu-20.04
if: ${{ always() }}
steps:
- uses: audacious-network/aws-github-runner@v1.0.33
with:
Expand Down

0 comments on commit 6ddc38f

Please sign in to comment.