Skip to content

Commit

Permalink
Move job into e2e-upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
DimitrisJim committed Nov 2, 2023
1 parent 963eb9d commit 00c9681
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 19 deletions.
11 changes: 0 additions & 11 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,6 @@ on:
required: false
type: boolean
default: false
slack-notify:
description: 'Specify flag to indicate that slack should be notified on failure'
required: false
type: boolean
default: false

env:
REGISTRY: ghcr.io
Expand Down Expand Up @@ -198,9 +193,3 @@ jobs:
name: '${{ matrix.entrypoint }}-${{ matrix.test }}'
path: e2e/diagnostics
retention-days: 5

slack-notify:
needs: e2e-tests
uses: ./.github/workflows/slack-notify.yaml
secrets: inherit
if: ${{ always() && needs.e2e-tests.result == 'failure' && inputs.slack-notify }}
14 changes: 6 additions & 8 deletions .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
test: "TestIBCChainUpgrade"
upload-logs: true
relayer-type: hermes
slack-notify: true

upgrade-v7-hermes:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -40,7 +39,6 @@ jobs:
test: "TestV6ToV7ChainUpgrade"
upload-logs: true
relayer-type: hermes
slack-notify: true

upgrade-v7_1-hermes:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -55,7 +53,6 @@ jobs:
test: "TestV7ToV7_1ChainUpgrade"
upload-logs: true
relayer-type: hermes
slack-notify: true

upgrade-v8-hermes:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -70,7 +67,6 @@ jobs:
test: "TestV7ToV8ChainUpgrade"
upload-logs: true
relayer-type: hermes
slack-notify: true

upgrade-v5-rly:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -87,7 +83,6 @@ jobs:
relayer-type: rly
relayer-image: ghcr.io/cosmos/relayer
relayer-tag: latest
slack-notify: true

upgrade-v7-rly:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -104,7 +99,6 @@ jobs:
relayer-type: rly
relayer-image: ghcr.io/cosmos/relayer
relayer-tag: latest
slack-notify: true

upgrade-v7_1-rly:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -121,7 +115,6 @@ jobs:
relayer-type: rly
relayer-image: ghcr.io/cosmos/relayer
relayer-tag: latest
slack-notify: true

upgrade-v8-rly:
uses: ./.github/workflows/e2e-test-workflow-call.yml
Expand All @@ -138,4 +131,9 @@ jobs:
relayer-type: rly
relayer-image: ghcr.io/cosmos/relayer
relayer-tag: latest
slack-notify: true

slack-notify:
needs: [upgrade-v5-hermes, upgrade-v7-hermes, upgrade-v7_1-hermes, upgrade-v8-hermes, upgrade-v5-rly, upgrade-v7-rly, upgrade-v7_1-rly, upgrade-v8-rly]
uses: ./.github/workflows/slack-notify.yaml
secrets: inherit
if: ${{ always() && contains(needs.*.result, 'failure') }}

0 comments on commit 00c9681

Please sign in to comment.