mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 23:38:31 +00:00
Merge pull request #10776 from kata-containers/topic/arm64-runners
workflows: Switch to github-hosted arm runners
This commit is contained in:
commit
3f8abb4da7
2
.github/actionlint.yaml
vendored
2
.github/actionlint.yaml
vendored
@ -7,7 +7,7 @@
|
|||||||
self-hosted-runner:
|
self-hosted-runner:
|
||||||
# Labels of self-hosted runner that linter should ignore
|
# Labels of self-hosted runner that linter should ignore
|
||||||
labels:
|
labels:
|
||||||
- arm64-builder
|
- ubuntu-22.04-arm
|
||||||
- garm-ubuntu-2004
|
- garm-ubuntu-2004
|
||||||
- garm-ubuntu-2004-smaller
|
- garm-ubuntu-2004-smaller
|
||||||
- garm-ubuntu-2204
|
- garm-ubuntu-2204
|
||||||
|
@ -23,7 +23,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-asset:
|
build-asset:
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
asset:
|
asset:
|
||||||
@ -81,7 +81,7 @@ jobs:
|
|||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
build-asset-rootfs:
|
build-asset-rootfs:
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
needs: build-asset
|
needs: build-asset
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -155,7 +155,7 @@ jobs:
|
|||||||
name: kata-artifacts-arm64-${{ matrix.asset}}${{ inputs.tarball-suffix }}
|
name: kata-artifacts-arm64-${{ matrix.asset}}${{ inputs.tarball-suffix }}
|
||||||
|
|
||||||
build-asset-shim-v2:
|
build-asset-shim-v2:
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
needs: [build-asset, build-asset-rootfs, remove-rootfs-binary-artifacts]
|
needs: [build-asset, build-asset-rootfs, remove-rootfs-binary-artifacts]
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Kata Containers quay.io
|
- name: Login to Kata Containers quay.io
|
||||||
@ -210,13 +210,9 @@ jobs:
|
|||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
create-kata-tarball:
|
create-kata-tarball:
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
needs: [build-asset, build-asset-rootfs, build-asset-shim-v2]
|
needs: [build-asset, build-asset-rootfs, build-asset-shim-v2]
|
||||||
steps:
|
steps:
|
||||||
- name: Adjust a permission for repo
|
|
||||||
run: |
|
|
||||||
sudo chown -R "$USER":"$USER" "$GITHUB_WORKSPACE"
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
|
@ -24,12 +24,8 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
kata-payload:
|
kata-payload:
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
steps:
|
steps:
|
||||||
- name: Adjust a permission for repo
|
|
||||||
run: |
|
|
||||||
sudo chown -R "$USER":"$USER" "$GITHUB_WORKSPACE"
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
|
2
.github/workflows/release-arm64.yaml
vendored
2
.github/workflows/release-arm64.yaml
vendored
@ -16,7 +16,7 @@ jobs:
|
|||||||
|
|
||||||
kata-deploy:
|
kata-deploy:
|
||||||
needs: build-kata-static-tarball-arm64
|
needs: build-kata-static-tarball-arm64
|
||||||
runs-on: arm64-builder
|
runs-on: ubuntu-22.04-arm
|
||||||
steps:
|
steps:
|
||||||
- name: Login to Kata Containers docker.io
|
- name: Login to Kata Containers docker.io
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user