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