From cab9ca0436e17b9ec783a5e1f648343af6035d80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Fri, 31 Mar 2023 08:30:10 +0200 Subject: [PATCH] gha: Add a CI pipeline for Kata Containers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is the very first step to replacing the Jenkins CI, and I've decided to start with an x86_64 approach only (although easily expansible for other arches as soon as they're ready to switch), and to start running our kubernetes tests (now running on AKS). Fixes: #6541 Signed-off-by: Fabiano FidĂȘncio --- .github/workflows/ci-on-push.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/ci-on-push.yaml diff --git a/.github/workflows/ci-on-push.yaml b/.github/workflows/ci-on-push.yaml new file mode 100644 index 0000000000..10cf5aeb39 --- /dev/null +++ b/.github/workflows/ci-on-push.yaml @@ -0,0 +1,25 @@ +name: Kata Containers CI +on: + pull_request + +jobs: + build-kata-static-tarball-amd64: + uses: ./.github/workflows/build-kata-static-tarball-amd64.yaml + with: + tarball-suffix: -${{ github.event.pull_request.number}}-${{ github.sha }} + + publish-kata-deploy-payload-amd64: + needs: build-kata-static-tarball-amd64 + uses: ./.github/workflows/publish-kata-deploy-payload-amd64.yaml + with: + tarball-suffix: -${{ github.event.pull_request.number}}-${{ github.sha }} + repo: kata-deploy-ci + tag: ${{ github.event.pull_request.number }}-${{ github.sha }}-amd64 + secrets: inherit + + run-k8s-tests-on-aks: + needs: publish-kata-deploy-payload-amd64 + uses: ./.github/workflows/run-k8s-tests-on-aks.yaml + with: + image-tag: ${{ github.event.pull_request.number }}-${{ github.sha }}-amd64 + secrets: inherit