From 034061c15334ced2c13370ee98cb2d4105416dd7 Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Fri, 8 Sep 2023 17:54:26 -0300 Subject: [PATCH 1/4] podvm on pull Signed-off-by: Wainer dos Santos Moschetta --- .github/workflows/podvm_on_pull.yaml | 27 +++++++++++++++++++++++++++ podvm/Dockerfile.podvm_builder | 2 +- podvm/Dockerfile.podvm_builder.centos | 2 +- 3 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/podvm_on_pull.yaml diff --git a/.github/workflows/podvm_on_pull.yaml b/.github/workflows/podvm_on_pull.yaml new file mode 100644 index 000000000..4447bf559 --- /dev/null +++ b/.github/workflows/podvm_on_pull.yaml @@ -0,0 +1,27 @@ +name: podvm_on_pull +on: + pull_request: + +jobs: + podvm_builder: + uses: ./.github/workflows/podvm_builder.yaml + with: + caa_src_ref: ${{ github.sha }} + registry: ghcr.io/${{ github.repository_owner }} + secrets: inherit + podvm_binaries: + needs: [podvm_builder] + uses: ./.github/workflows/podvm_binaries.yaml + with: + caa_src_ref: ${{ github.sha }} + registry: ghcr.io/${{ github.repository_owner }} + builder_img_tag: ci-pr${{ github.event.number }} + secrets: inherit + podvm: + needs: [podvm_binaries] + uses: ./.github/workflows/podvm.yaml + with: + caa_src_ref: ${{ github.sha }} + registry: ghcr.io/${{ github.repository_owner }} + binaries_img_tag: ci-pr${{ github.event.number }} + secrets: inherit \ No newline at end of file diff --git a/podvm/Dockerfile.podvm_builder b/podvm/Dockerfile.podvm_builder index 61fb8aa4f..54a0ca2e4 100644 --- a/podvm/Dockerfile.podvm_builder +++ b/podvm/Dockerfile.podvm_builder @@ -10,7 +10,7 @@ FROM ubuntu:20.04 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08" diff --git a/podvm/Dockerfile.podvm_builder.centos b/podvm/Dockerfile.podvm_builder.centos index ef3b4e1ae..12110975d 100644 --- a/podvm/Dockerfile.podvm_builder.centos +++ b/podvm/Dockerfile.podvm_builder.centos @@ -10,7 +10,7 @@ FROM quay.io/centos/centos:stream8 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08" From b2f97f2f72050987f3369ecb91563fcd1e26e06d Mon Sep 17 00:00:00 2001 From: Wainer Moschetta Date: Mon, 11 Sep 2023 23:45:19 -0300 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 86be81149..1f90077c0 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Introduction -This repository contains the implementation of Kata [remote hypervisor](https://github.com/kata-containers/kata-containers/tree/CCv0). +This repository contains the implementation of Kata Containers [remote hypervisor](https://github.com/kata-containers/kata-containers/tree/CCv0). Kata remote hypervisor enables creation of Kata VMs on any environment without requiring baremetal servers or nested virtualization support. From 2a5c4a15e2952592f0490220e1750d83470498ac Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Fri, 8 Sep 2023 17:54:26 -0300 Subject: [PATCH 3/4] podvm on pull Signed-off-by: Wainer dos Santos Moschetta --- .github/workflows/podvm_on_pull.yaml | 30 +++++++++++++++++++++++++++ podvm/Dockerfile.podvm_builder | 2 +- podvm/Dockerfile.podvm_builder.centos | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/podvm_on_pull.yaml diff --git a/.github/workflows/podvm_on_pull.yaml b/.github/workflows/podvm_on_pull.yaml new file mode 100644 index 000000000..f2bd8b4f6 --- /dev/null +++ b/.github/workflows/podvm_on_pull.yaml @@ -0,0 +1,30 @@ +name: podvm_on_pull +on: + pull_request: + +jobs: + podvm_builder: + uses: ./.github/workflows/podvm_builder.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: refs/pull/${{ github.event.number }}/merge + registry: ghcr.io/${{ github.repository_owner }} + secrets: inherit + podvm_binaries: + needs: [podvm_builder] + uses: ./.github/workflows/podvm_binaries.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: refs/pull/${{ github.event.number }}/merge + registry: ghcr.io/${{ github.repository_owner }} + builder_img_tag: ci-pr${{ github.event.number }} + secrets: inherit + podvm: + needs: [podvm_binaries] + uses: ./.github/workflows/podvm.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: refs/pull/${{ github.event.number }}/merge + registry: ghcr.io/${{ github.repository_owner }} + binaries_img_tag: ci-pr${{ github.event.number }} + secrets: inherit \ No newline at end of file diff --git a/podvm/Dockerfile.podvm_builder b/podvm/Dockerfile.podvm_builder index 61fb8aa4f..54a0ca2e4 100644 --- a/podvm/Dockerfile.podvm_builder +++ b/podvm/Dockerfile.podvm_builder @@ -10,7 +10,7 @@ FROM ubuntu:20.04 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08" diff --git a/podvm/Dockerfile.podvm_builder.centos b/podvm/Dockerfile.podvm_builder.centos index ef3b4e1ae..12110975d 100644 --- a/podvm/Dockerfile.podvm_builder.centos +++ b/podvm/Dockerfile.podvm_builder.centos @@ -10,7 +10,7 @@ FROM quay.io/centos/centos:stream8 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08" From 6a6c09c655af101334201c646d405e66e2c2e2fc Mon Sep 17 00:00:00 2001 From: Wainer dos Santos Moschetta Date: Fri, 8 Sep 2023 17:54:26 -0300 Subject: [PATCH 4/4] podvm on pull Signed-off-by: Wainer dos Santos Moschetta --- .github/workflows/podvm_on_pull.yaml | 30 +++++++++++++++++++++++++++ podvm/Dockerfile.podvm_builder | 2 +- podvm/Dockerfile.podvm_builder.centos | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/podvm_on_pull.yaml diff --git a/.github/workflows/podvm_on_pull.yaml b/.github/workflows/podvm_on_pull.yaml new file mode 100644 index 000000000..901babbc5 --- /dev/null +++ b/.github/workflows/podvm_on_pull.yaml @@ -0,0 +1,30 @@ +name: podvm_on_pull +on: + pull_request: + +jobs: + podvm_builder: + uses: ./.github/workflows/podvm_builder.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: ${{ github.ref }} + registry: ghcr.io/${{ github.repository_owner }} + secrets: inherit + podvm_binaries: + needs: [podvm_builder] + uses: ./.github/workflows/podvm_binaries.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: ${{ github.ref }} + registry: ghcr.io/${{ github.repository_owner }} + builder_img_tag: ci-pr${{ github.event.number }} + secrets: inherit + podvm: + needs: [podvm_binaries] + uses: ./.github/workflows/podvm.yaml + with: + #caa_src_ref: ${{ github.sha }} + caa_src_ref: ${{ github.ref }} + registry: ghcr.io/${{ github.repository_owner }} + binaries_img_tag: ci-pr${{ github.event.number }} + secrets: inherit \ No newline at end of file diff --git a/podvm/Dockerfile.podvm_builder b/podvm/Dockerfile.podvm_builder index 61fb8aa4f..54a0ca2e4 100644 --- a/podvm/Dockerfile.podvm_builder +++ b/podvm/Dockerfile.podvm_builder @@ -10,7 +10,7 @@ FROM ubuntu:20.04 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08" diff --git a/podvm/Dockerfile.podvm_builder.centos b/podvm/Dockerfile.podvm_builder.centos index ef3b4e1ae..12110975d 100644 --- a/podvm/Dockerfile.podvm_builder.centos +++ b/podvm/Dockerfile.podvm_builder.centos @@ -10,7 +10,7 @@ FROM quay.io/centos/centos:stream8 ARG GO_VERSION="1.20.7" ARG PROTOC_VERSION="3.11.4" -ARG RUST_VERSION="1.69.0" +ARG RUST_VERSION="stable" ARG YQ_VERSION="v4.35.1" ARG YQ_CHECKSUM="sha256:bd695a6513f1196aeda17b174a15e9c351843fb1cef5f9be0af170f2dd744f08"