From f0b58ede451a4e0a5e8b76b95761e83e26736823 Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Tue, 10 Dec 2024 15:33:37 -0300 Subject: [PATCH 1/3] chore(system-tests-k8s): kubevirt api changes --- rs/tests/driver/src/k8s/virtualmachine.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rs/tests/driver/src/k8s/virtualmachine.rs b/rs/tests/driver/src/k8s/virtualmachine.rs index a39c0777cbd..07caad75829 100644 --- a/rs/tests/driver/src/k8s/virtualmachine.rs +++ b/rs/tests/driver/src/k8s/virtualmachine.rs @@ -19,7 +19,7 @@ metadata: tnet.internetcomputer.org/name: {tnet} name: {name} spec: - running: {running} + runStrategy: {running} template: metadata: annotations: @@ -27,7 +27,6 @@ spec: "cni.projectcalico.org/ipAddrs": "[\"{ipv4}\", \"{ipv6}\"]" labels: kubevirt.io/vm: {name} - kubevirt.io/network: passt spec: domain: cpu: @@ -46,7 +45,8 @@ spec: bus: virtio interfaces: - name: default - passt: {} + binding: + name: passt ports: - port: 22 - port: 8100 @@ -129,7 +129,6 @@ spec: "cni.projectcalico.org/ipAddrs": "[\"{ipv4}\", \"{ipv6}\"]" labels: kubevirt.io/vm: {name} - kubevirt.io/network: passt spec: domain: cpu: @@ -149,7 +148,8 @@ spec: serial: "config" interfaces: - name: default - passt: {} + binding: + name: passt ports: - port: 22 - port: 80 From b8dc69d0df89ee583414991219f4ad43a649aead Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Tue, 10 Dec 2024 15:39:44 -0300 Subject: [PATCH 2/3] running --- rs/tests/driver/src/k8s/virtualmachine.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rs/tests/driver/src/k8s/virtualmachine.rs b/rs/tests/driver/src/k8s/virtualmachine.rs index 07caad75829..78e4d31cfb7 100644 --- a/rs/tests/driver/src/k8s/virtualmachine.rs +++ b/rs/tests/driver/src/k8s/virtualmachine.rs @@ -19,7 +19,7 @@ metadata: tnet.internetcomputer.org/name: {tnet} name: {name} spec: - runStrategy: {running} + running: {running} template: metadata: annotations: From 81f447b482299ae5871f359653bc64cd2ff2d4fa Mon Sep 17 00:00:00 2001 From: Marko Kosmerl Date: Tue, 10 Dec 2024 16:52:08 -0300 Subject: [PATCH 3/3] workflow --- .github/workflows/system-tests-k8s.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/system-tests-k8s.yml b/.github/workflows/system-tests-k8s.yml index 892ce8a20cb..5544f6a0994 100644 --- a/.github/workflows/system-tests-k8s.yml +++ b/.github/workflows/system-tests-k8s.yml @@ -7,12 +7,11 @@ name: System Tests K8s # --field jobs="32" on: - # XXX: temporarily disabling until we have kubevirt 1.4.0 - # schedule: - # - cron: "0 3 * * *" - # pull_request: - # paths: - # - '.github/workflows/system-tests-k8s.yml' + schedule: + - cron: "0 3 * * *" + pull_request: + paths: + - '.github/workflows/system-tests-k8s.yml' workflow_dispatch: inputs: targets: @@ -30,7 +29,7 @@ env: github.event_name == 'workflow_dispatch' && github.event.inputs.targets || '//rs/tests/nns:node_removal_from_registry_test' }} JOBS: | - ${{ github.event_name == 'schedule' && '20' || + ${{ github.event_name == 'schedule' && '12' || github.event_name == 'workflow_dispatch' && github.event.inputs.jobs || '32' }} BRANCH_NAME: ${{ github.head_ref || github.ref_name }}