release: Give a pretty name to all steps

For a prettier rendering in the web UI.

Fixes #9064 - part VI

Signed-off-by: Greg Kurz <groug@kaod.org>
This commit is contained in:
Greg Kurz 2024-03-20 17:56:22 +01:00
parent dce6ea57b2
commit e9e94d2dbd

View File

@ -6,7 +6,7 @@ jobs:
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0
@ -70,7 +70,7 @@ jobs:
release_version=$(./tools/packaging/release/release.sh release-version) release_version=$(./tools/packaging/release/release.sh release-version)
echo "KATA_DEPLOY_IMAGE_TAGS=$release_version latest" >> "$GITHUB_ENV" echo "KATA_DEPLOY_IMAGE_TAGS=$release_version latest" >> "$GITHUB_ENV"
- name: Push multi-arch manifest - name: Publish multi-arch manifest on docker.io and quay.io
run: | run: |
./tools/packaging/release/release.sh publish-multiarch-manifest ./tools/packaging/release/release.sh publish-multiarch-manifest
env: env:
@ -80,51 +80,56 @@ jobs:
needs: [build-and-push-assets-amd64, build-and-push-assets-arm64, build-and-push-assets-s390x, build-and-push-assets-ppc64le] needs: [build-and-push-assets-amd64, build-and-push-assets-arm64, build-and-push-assets-s390x, build-and-push-assets-ppc64le]
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
uses: actions/checkout@v4
- name: Set KATA_STATIC_TARBALL env var - name: Set KATA_STATIC_TARBALL env var
run: | run: |
tarball=$(pwd)/kata-static.tar.xz tarball=$(pwd)/kata-static.tar.xz
echo "KATA_STATIC_TARBALL=${tarball}" >> "$GITHUB_ENV" echo "KATA_STATIC_TARBALL=${tarball}" >> "$GITHUB_ENV"
- name: download-artifacts-amd64 - name: Download amd64 artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: kata-static-tarball-amd64 name: kata-static-tarball-amd64
- name: push amd64 static tarball to github
- name: Upload amd64 static tarball to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-kata-static-tarball ./tools/packaging/release/release.sh upload-kata-static-tarball
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
ARCHITECTURE: amd64 ARCHITECTURE: amd64
- name: download-artifacts-arm64 - name: Download arm64 artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: kata-static-tarball-arm64 name: kata-static-tarball-arm64
- name: push arm64 static tarball to github
- name: Upload arm64 static tarball to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-kata-static-tarball ./tools/packaging/release/release.sh upload-kata-static-tarball
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
ARCHITECTURE: arm64 ARCHITECTURE: arm64
- name: download-artifacts-s390x - name: Download s390x artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: kata-static-tarball-s390x name: kata-static-tarball-s390x
- name: push s390x static tarball to github
- name: Upload s390x static tarball to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-kata-static-tarball ./tools/packaging/release/release.sh upload-kata-static-tarball
env: env:
GH_TOKEN: ${{ github.token }} GH_TOKEN: ${{ github.token }}
ARCHITECTURE: s390x ARCHITECTURE: s390x
- name: download-artifacts-ppc64le - name: Download ppc64le artifacts
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
with: with:
name: kata-static-tarball-ppc64le name: kata-static-tarball-ppc64le
- name: push ppc64le static tarball to github
- name: Upload ppc64le static tarball to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-kata-static-tarball ./tools/packaging/release/release.sh upload-kata-static-tarball
env: env:
@ -135,8 +140,10 @@ jobs:
needs: release needs: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- name: upload versions.yaml uses: actions/checkout@v4
- name: Upload versions.yaml to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-versions-yaml-file ./tools/packaging/release/release.sh upload-versions-yaml-file
env: env:
@ -146,8 +153,10 @@ jobs:
needs: release needs: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- name: generate-and-upload-tarball uses: actions/checkout@v4
- name: Generate and upload vendored code tarball
run: | run: |
./tools/packaging/release/release.sh upload-vendored-code-tarball ./tools/packaging/release/release.sh upload-vendored-code-tarball
env: env:
@ -157,8 +166,10 @@ jobs:
needs: release needs: release
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout repository
- name: download-and-upload-tarball uses: actions/checkout@v4
- name: Download libseccomp tarball and upload it to GitHub
run: | run: |
./tools/packaging/release/release.sh upload-libseccomp-tarball ./tools/packaging/release/release.sh upload-libseccomp-tarball
env: env: