Merge pull request #7499 from fidencio/topic/gha-release-ensure-stage-is-defined-for-amr64-s300x

gha: release: `stage` must be defined for arm64 / s390x yamls
This commit is contained in:
Fabiano Fidêncio 2023-07-31 22:55:54 +02:00 committed by GitHub
commit a71d35c764
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 16 additions and 4 deletions

View File

@ -51,7 +51,7 @@ jobs:
- ${{ inputs.stage }} - ${{ inputs.stage }}
exclude: exclude:
- asset: cloud-hypervisor-glibc - asset: cloud-hypervisor-glibc
stage: "release" stage: release
steps: steps:
- name: Login to Kata Containers quay.io - name: Login to Kata Containers quay.io
if: ${{ inputs.push-to-registry == 'yes' }} if: ${{ inputs.push-to-registry == 'yes' }}

View File

@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for arm64
on: on:
workflow_call: workflow_call:
inputs: inputs:
stage:
required: false
type: string
default: test
tarball-suffix: tarball-suffix:
required: false required: false
type: string type: string
@ -29,6 +33,8 @@ jobs:
- rootfs-initrd - rootfs-initrd
- shim-v2 - shim-v2
- virtiofsd - virtiofsd
stage:
- ${{ inputs.stage }}
steps: steps:
- name: Adjust a permission for repo - name: Adjust a permission for repo
run: | run: |

View File

@ -2,6 +2,10 @@ name: CI | Build kata-static tarball for s390x
on: on:
workflow_call: workflow_call:
inputs: inputs:
stage:
required: false
type: string
default: test
tarball-suffix: tarball-suffix:
required: false required: false
type: string type: string
@ -25,6 +29,8 @@ jobs:
- rootfs-initrd - rootfs-initrd
- shim-v2 - shim-v2
- virtiofsd - virtiofsd
stage:
- ${{ inputs.stage }}
steps: steps:
- name: Adjust a permission for repo - name: Adjust a permission for repo
run: | run: |

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-amd64: build-kata-static-tarball-amd64:
uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml
with: with:
stage: "release" stage: release
kata-deploy: kata-deploy:
needs: build-kata-static-tarball-amd64 needs: build-kata-static-tarball-amd64

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-arm64: build-kata-static-tarball-arm64:
uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml uses: ./.github/workflows/build-kata-static-tarball-arm64.yaml
with: with:
stage: "release" stage: release
kata-deploy: kata-deploy:
needs: build-kata-static-tarball-arm64 needs: build-kata-static-tarball-arm64

View File

@ -10,7 +10,7 @@ jobs:
build-kata-static-tarball-s390x: build-kata-static-tarball-s390x:
uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml uses: ./.github/workflows/build-kata-static-tarball-s390x.yaml
with: with:
stage: "release" stage: release
kata-deploy: kata-deploy:
needs: build-kata-static-tarball-s390x needs: build-kata-static-tarball-s390x