mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +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 .
|
-cvf binpkgs.tar .
|
||||||
|
|
||||||
- name: Extract build logs
|
- name: Extract build logs
|
||||||
if: always()
|
if: always() && !cancelled()
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
@ -158,7 +158,7 @@ jobs:
|
|||||||
/build/${arch}-usr/var/tmp/portage
|
/build/${arch}-usr/var/tmp/portage
|
||||||
|
|
||||||
- name: Upload build logs
|
- name: Upload build logs
|
||||||
if: always()
|
if: always() && !cancelled()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
retention-days: 7
|
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
|
set -e
|
||||||
|
|
||||||
- name: Upload detailed test logs
|
- name: Upload detailed test logs
|
||||||
if: always()
|
if: always() && !cancelled()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}-test-logs-and-results
|
name: ${{ matrix.arch }}-test-logs-and-results
|
||||||
@ -255,7 +255,7 @@ jobs:
|
|||||||
scripts/results-*.md
|
scripts/results-*.md
|
||||||
|
|
||||||
- name: Upload raw TAP files of all runs for later merging
|
- name: Upload raw TAP files of all runs for later merging
|
||||||
if: always()
|
if: always() && !cancelled()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.arch }}-raw-tapfiles
|
name: ${{ matrix.arch }}-raw-tapfiles
|
||||||
@ -266,7 +266,7 @@ jobs:
|
|||||||
merge_and_publish_results:
|
merge_and_publish_results:
|
||||||
name: "Merge TAP reports and post results"
|
name: "Merge TAP reports and post results"
|
||||||
needs: tests
|
needs: tests
|
||||||
if: always()
|
if: always() && !cancelled()
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- debian
|
- 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}"
|
target_version="${CUSTOM_SDK_VERSION}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "setting sdk_version=${target_version} as a github output"
|
||||||
echo "sdk_version=${target_version}" >> "$GITHUB_OUTPUT"
|
echo "sdk_version=${target_version}" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
# This also updates sdk_container/.repo/manifests/version.txt with the new SDK version.
|
# This also updates sdk_container/.repo/manifests/version.txt with the new SDK version.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user