mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 00:51:41 +02:00
Make jobs cancelable
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
91b96b21b3
commit
3a0a28e32a
4
.github/workflows/ci.yaml
vendored
4
.github/workflows/ci.yaml
vendored
@ -147,7 +147,7 @@ jobs:
|
||||
-cvf binpkgs.tar .
|
||||
|
||||
- name: Extract build logs
|
||||
if: always()
|
||||
if: always() && !cancelled()
|
||||
shell: bash
|
||||
run: |
|
||||
set -euo pipefail
|
||||
@ -158,7 +158,7 @@ jobs:
|
||||
/build/${arch}-usr/var/tmp/portage
|
||||
|
||||
- name: Upload build logs
|
||||
if: always()
|
||||
if: always() && !cancelled()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
retention-days: 7
|
||||
|
6
.github/workflows/run-kola-tests.yaml
vendored
6
.github/workflows/run-kola-tests.yaml
vendored
@ -243,7 +243,7 @@ jobs:
|
||||
set -e
|
||||
|
||||
- name: Upload detailed test logs
|
||||
if: always()
|
||||
if: always() && !cancelled()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.arch }}-test-logs-and-results
|
||||
@ -255,7 +255,7 @@ jobs:
|
||||
scripts/results-*.md
|
||||
|
||||
- name: Upload raw TAP files of all runs for later merging
|
||||
if: always()
|
||||
if: always() && !cancelled()
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ${{ matrix.arch }}-raw-tapfiles
|
||||
@ -266,7 +266,7 @@ jobs:
|
||||
merge_and_publish_results:
|
||||
name: "Merge TAP reports and post results"
|
||||
needs: tests
|
||||
if: always()
|
||||
if: always() && !cancelled()
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- debian
|
||||
|
1
.github/workflows/update-sdk.yaml
vendored
1
.github/workflows/update-sdk.yaml
vendored
@ -121,6 +121,7 @@ jobs:
|
||||
target_version="${CUSTOM_SDK_VERSION}"
|
||||
fi
|
||||
|
||||
echo "setting sdk_version=${target_version} as a github output"
|
||||
echo "sdk_version=${target_version}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# This also updates sdk_container/.repo/manifests/version.txt with the new SDK version.
|
||||
|
Loading…
x
Reference in New Issue
Block a user