mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-24 05:43:26 -05:00
ci: skip e2e tests if caller was not successful (#1714)
This commit is contained in:
parent
d7a2ddd939
commit
d2cbf3dc83
2 changed files with 4 additions and 2 deletions
2
.github/workflows/e2e-mini.yml
vendored
2
.github/workflows/e2e-mini.yml
vendored
|
|
@ -24,7 +24,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
on-failure-quit:
|
on-failure-quit:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: github.event.workflow_run.conclusion == 'failure'
|
if: github.event.workflow_run.conclusion != 'success'
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
echo 'Release workflow failed, exiting..'
|
echo 'Release workflow failed, exiting..'
|
||||||
|
|
|
||||||
4
.github/workflows/e2e-test-release.yml
vendored
4
.github/workflows/e2e-test-release.yml
vendored
|
|
@ -20,7 +20,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
on-failure-quit:
|
on-failure-quit:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
if: github.event.workflow_run.conclusion == 'failure'
|
if: github.event.workflow_run.conclusion != 'success'
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
echo 'Release workflow failed, exiting..'
|
echo 'Release workflow failed, exiting..'
|
||||||
|
|
@ -234,6 +234,8 @@ jobs:
|
||||||
permissions:
|
permissions:
|
||||||
id-token: write
|
id-token: write
|
||||||
contents: read
|
contents: read
|
||||||
|
checks: write
|
||||||
|
packages: write
|
||||||
uses: ./.github/workflows/e2e-upgrade.yml
|
uses: ./.github/workflows/e2e-upgrade.yml
|
||||||
with:
|
with:
|
||||||
fromVersion: ${{ matrix.fromVersion }}
|
fromVersion: ${{ matrix.fromVersion }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue