mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-05-01 21:24:36 +00:00
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:
parent
53b526b6bd
commit
cab9ca0436
25
.github/workflows/ci-on-push.yaml
vendored
Normal file
25
.github/workflows/ci-on-push.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user