mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-07-26 00:35:19 -04:00
ci: skip e2e tests if caller was not successful (#1714)
Co-authored-by: Malte Poll <1780588+malt3@users.noreply.github.com>
This commit is contained in:
parent
a5adf459ce
commit
8a77cee919
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
|
@ -26,7 +26,7 @@ env:
|
||||||
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..'
|
||||||
|
@ -218,6 +218,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