gha: Add a CI pipeline for Kata Containers

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 <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2023-03-31 08:30:10 +02:00
parent 53b526b6bd
commit cab9ca0436

25
.github/workflows/ci-on-push.yaml vendored Normal file
View File

@ -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