mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-18 16:08:25 +00:00
commit
84343fd2bd
2
.github/workflows/add-backport-label.yaml
vendored
2
.github/workflows/add-backport-label.yaml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install hub extension script
|
- name: Install hub extension script
|
||||||
run: |
|
run: |
|
||||||
|
2
.github/workflows/add-issues-to-project.yaml
vendored
2
.github/workflows/add-issues-to-project.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
popd &>/dev/null
|
popd &>/dev/null
|
||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Add issue to issue backlog
|
- name: Add issue to issue backlog
|
||||||
env:
|
env:
|
||||||
|
2
.github/workflows/add-pr-sizing-label.yaml
vendored
2
.github/workflows/add-pr-sizing-label.yaml
vendored
@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
8
.github/workflows/basic-ci-amd64.yaml
vendored
8
.github/workflows/basic-ci-amd64.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -67,7 +67,7 @@ jobs:
|
|||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -108,7 +108,7 @@ jobs:
|
|||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -175,7 +175,7 @@ jobs:
|
|||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -73,7 +73,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: build-asset
|
needs: build-asset
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -52,7 +52,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
||||||
@ -94,7 +94,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -48,7 +48,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
fetch-depth: 0 # This is needed in order to keep the commit ids history
|
||||||
@ -91,7 +91,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/cargo-deny-runner.yaml
vendored
2
.github/workflows/cargo-deny-runner.yaml
vendored
@ -19,7 +19,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Generate Action
|
- name: Generate Action
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
run: bash cargo-deny-generator.sh
|
run: bash cargo-deny-generator.sh
|
||||||
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/darwin-tests.yaml
vendored
2
.github/workflows/darwin-tests.yaml
vendored
@ -21,6 +21,6 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version: 1.19.3
|
go-version: 1.19.3
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Build utils
|
- name: Build utils
|
||||||
run: ./ci/darwin-test.sh
|
run: ./ci/darwin-test.sh
|
||||||
|
2
.github/workflows/docs-url-alive-check.yaml
vendored
2
.github/workflows/docs-url-alive-check.yaml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
|
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
|
||||||
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
|
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
path: ./src/github.com/${{ github.repository }}
|
path: ./src/github.com/${{ github.repository }}
|
||||||
|
@ -15,7 +15,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
- name: Ensure the split out runtime classes match the all-in-one file
|
- name: Ensure the split out runtime classes match the all-in-one file
|
||||||
run: |
|
run: |
|
||||||
pushd tools/packaging/kata-deploy/runtimeclasses/
|
pushd tools/packaging/kata-deploy/runtimeclasses/
|
||||||
|
@ -38,7 +38,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/payload-after-push.yaml
vendored
2
.github/workflows/payload-after-push.yaml
vendored
@ -73,7 +73,7 @@ jobs:
|
|||||||
needs: [publish-kata-deploy-payload-amd64, publish-kata-deploy-payload-arm64, publish-kata-deploy-payload-s390x]
|
needs: [publish-kata-deploy-payload-amd64, publish-kata-deploy-payload-arm64, publish-kata-deploy-payload-s390x]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Kata Containers quay.io
|
- name: Login to Kata Containers quay.io
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
|
@ -26,7 +26,7 @@ jobs:
|
|||||||
kata-payload:
|
kata-payload:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -30,7 +30,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
sudo chown -R $USER:$USER $GITHUB_WORKSPACE
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/release-amd64.yaml
vendored
2
.github/workflows/release-amd64.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: get-kata-tarball
|
- name: get-kata-tarball
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/release-arm64.yaml
vendored
2
.github/workflows/release-arm64.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: get-kata-tarball
|
- name: get-kata-tarball
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
2
.github/workflows/release-s390x.yaml
vendored
2
.github/workflows/release-s390x.yaml
vendored
@ -29,7 +29,7 @@ jobs:
|
|||||||
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
username: ${{ secrets.QUAY_DEPLOYER_USERNAME }}
|
||||||
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
password: ${{ secrets.QUAY_DEPLOYER_PASSWORD }}
|
||||||
|
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: get-kata-tarball
|
- name: get-kata-tarball
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
|
28
.github/workflows/release.yaml
vendored
28
.github/workflows/release.yaml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
needs: [build-and-push-assets-amd64, build-and-push-assets-arm64, build-and-push-assets-s390x]
|
needs: [build-and-push-assets-amd64, build-and-push-assets-arm64, build-and-push-assets-s390x]
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Login to Kata Containers docker.io
|
- name: Login to Kata Containers docker.io
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
@ -73,11 +73,7 @@ jobs:
|
|||||||
needs: publish-multi-arch-images
|
needs: publish-multi-arch-images
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: install hub
|
|
||||||
run: |
|
|
||||||
wget -q -O- https://github.com/mislav/hub/releases/download/v2.14.2/hub-linux-amd64-2.14.2.tgz | \
|
|
||||||
tar xz --strip-components=2 --wildcards '*/bin/hub' && sudo mv hub /usr/local/bin/hub
|
|
||||||
|
|
||||||
- name: download-artifacts-amd64
|
- name: download-artifacts-amd64
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
@ -90,7 +86,7 @@ jobs:
|
|||||||
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
echo "uploading asset '${tarball}' for tag: ${tag}"
|
echo "uploading asset '${tarball}' for tag: ${tag}"
|
||||||
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} gh release upload "${tag}" "${tarball}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: download-artifacts-arm64
|
- name: download-artifacts-arm64
|
||||||
@ -104,7 +100,7 @@ jobs:
|
|||||||
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
echo "uploading asset '${tarball}' for tag: ${tag}"
|
echo "uploading asset '${tarball}' for tag: ${tag}"
|
||||||
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} gh release upload "${tag}" "${tarball}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
- name: download-artifacts-s390x
|
- name: download-artifacts-s390x
|
||||||
@ -118,13 +114,13 @@ jobs:
|
|||||||
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
mv kata-static.tar.xz "$GITHUB_WORKSPACE/${tarball}"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
echo "uploading asset '${tarball}' for tag: ${tag}"
|
echo "uploading asset '${tarball}' for tag: ${tag}"
|
||||||
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} gh release upload "${tag}" "${tarball}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
upload-versions-yaml:
|
upload-versions-yaml:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: upload versions.yaml
|
- name: upload versions.yaml
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
||||||
@ -133,28 +129,28 @@ jobs:
|
|||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
versions_file="kata-containers-$tag-versions.yaml"
|
versions_file="kata-containers-$tag-versions.yaml"
|
||||||
cp versions.yaml ${versions_file}
|
cp versions.yaml ${versions_file}
|
||||||
hub release edit -m "" -a "${versions_file}" "${tag}"
|
gh release upload "${tag}" "${versions_file}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
upload-cargo-vendored-tarball:
|
upload-cargo-vendored-tarball:
|
||||||
needs: upload-multi-arch-static-tarball
|
needs: upload-multi-arch-static-tarball
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: generate-and-upload-tarball
|
- name: generate-and-upload-tarball
|
||||||
run: |
|
run: |
|
||||||
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
tag=$(echo $GITHUB_REF | cut -d/ -f3-)
|
||||||
tarball="kata-containers-$tag-vendor.tar.gz"
|
tarball="kata-containers-$tag-vendor.tar.gz"
|
||||||
pushd $GITHUB_WORKSPACE
|
pushd $GITHUB_WORKSPACE
|
||||||
bash -c "tools/packaging/release/generate_vendor.sh ${tarball}"
|
bash -c "tools/packaging/release/generate_vendor.sh ${tarball}"
|
||||||
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} hub release edit -m "" -a "${tarball}" "${tag}"
|
GITHUB_TOKEN=${{ secrets.GIT_UPLOAD_TOKEN }} gh release upload "${tag}" "${tarball}"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
upload-libseccomp-tarball:
|
upload-libseccomp-tarball:
|
||||||
needs: upload-cargo-vendored-tarball
|
needs: upload-cargo-vendored-tarball
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- name: download-and-upload-tarball
|
- name: download-and-upload-tarball
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GIT_UPLOAD_TOKEN }}
|
||||||
@ -174,6 +170,6 @@ jobs:
|
|||||||
# "-m" option should be empty to re-use the existing release title
|
# "-m" option should be empty to re-use the existing release title
|
||||||
# without opening a text editor.
|
# without opening a text editor.
|
||||||
# For the details, check https://hub.github.com/hub-release.1.html.
|
# For the details, check https://hub.github.com/hub-release.1.html.
|
||||||
hub release edit -m "" -a "${tarball}" "${tag}"
|
gh release upload "${tag}" "${tarball}"
|
||||||
hub release edit -m "" -a "${asc}" "${tag}"
|
gh release upload "${tag}" "${asc}"
|
||||||
popd
|
popd
|
||||||
|
@ -36,7 +36,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Checkout code to allow hub to communicate with the project
|
- name: Checkout code to allow hub to communicate with the project
|
||||||
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -28,7 +28,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
2
.github/workflows/run-k8s-tests-on-aks.yaml
vendored
@ -51,7 +51,7 @@ jobs:
|
|||||||
USING_NFD: "false"
|
USING_NFD: "false"
|
||||||
K8S_TEST_HOST_TYPE: ${{ matrix.instance-type }}
|
K8S_TEST_HOST_TYPE: ${{ matrix.instance-type }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/run-k8s-tests-on-garm.yaml
vendored
2
.github/workflows/run-k8s-tests-on-garm.yaml
vendored
@ -55,7 +55,7 @@ jobs:
|
|||||||
USING_NFD: "false"
|
USING_NFD: "false"
|
||||||
K8S_TEST_HOST_TYPE: ${{ matrix.instance-type }}
|
K8S_TEST_HOST_TYPE: ${{ matrix.instance-type }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
8
.github/workflows/run-kata-coco-tests.yaml
vendored
8
.github/workflows/run-kata-coco-tests.yaml
vendored
@ -39,7 +39,7 @@ jobs:
|
|||||||
KUBERNETES: "k3s"
|
KUBERNETES: "k3s"
|
||||||
USING_NFD: "true"
|
USING_NFD: "true"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -70,7 +70,7 @@ jobs:
|
|||||||
USING_NFD: "true"
|
USING_NFD: "true"
|
||||||
K8S_TEST_HOST_TYPE: "baremetal"
|
K8S_TEST_HOST_TYPE: "baremetal"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -111,7 +111,7 @@ jobs:
|
|||||||
USING_NFD: "false"
|
USING_NFD: "false"
|
||||||
K8S_TEST_HOST_TYPE: "baremetal"
|
K8S_TEST_HOST_TYPE: "baremetal"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
@ -152,7 +152,7 @@ jobs:
|
|||||||
USING_NFD: "false"
|
USING_NFD: "false"
|
||||||
K8S_TEST_HOST_TYPE: "baremetal"
|
K8S_TEST_HOST_TYPE: "baremetal"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -47,7 +47,7 @@ jobs:
|
|||||||
KUBERNETES: "vanilla"
|
KUBERNETES: "vanilla"
|
||||||
USING_NFD: "false"
|
USING_NFD: "false"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
2
.github/workflows/run-metrics.yaml
vendored
2
.github/workflows/run-metrics.yaml
vendored
@ -20,7 +20,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GOPATH: ${{ github.workspace }}
|
GOPATH: ${{ github.workspace }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
@ -29,7 +29,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
KATA_HYPERVISOR: ${{ matrix.vmm }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: ${{ inputs.commit-hash }}
|
ref: ${{ inputs.commit-hash }}
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
Loading…
Reference in New Issue
Block a user