diff --git a/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml b/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml index 56f72a1475..00c8f9e7c8 100644 --- a/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml +++ b/github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-presubmits.yaml @@ -26,7 +26,7 @@ presubmits: branches: - main always_run: false - run_if_changed: "instancetypes/.*|preferences/.*|scripts/.*|tests/.*" + run_if_changed: "instancetypes/.*|preferences/.*|scripts/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" cluster: kubevirt-prow-workloads decorate: true decoration_config: @@ -51,6 +51,208 @@ presubmits: env: - name: KUBEVIRT_MEMORY_SIZE value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.skip="VirtualMachine using a preference is able to boot"' + image: quay.io/kubevirtci/golang:v20231115-51a244f + name: "" + resources: + requests: + memory: 20Gi + securityContext: + privileged: true + nodeSelector: + type: bare-metal-external + - name: pull-common-instancetypes-kubevirt-functest-fedora + branches: + - main + always_run: false + run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/fedora/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" + cluster: kubevirt-prow-workloads + decorate: true + decoration_config: + grace_period: 5m0s + timeout: 1h0m0s + labels: + preset-bazel-cache: "true" + preset-bazel-unnested: "true" + preset-docker-mirror-proxy: "true" + preset-gcs-credentials: "true" + preset-podman-in-container-enabled: "true" + preset-podman-shared-images: "true" + preset-shared-images: "true" + max_concurrency: 1 + spec: + containers: + - command: + - /usr/local/bin/runner.sh + - "/bin/sh" + - "-c" + - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + env: + - name: KUBEVIRT_MEMORY_SIZE + value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Linux guest with Fedora"' + image: quay.io/kubevirtci/golang:v20231115-51a244f + name: "" + resources: + requests: + memory: 20Gi + securityContext: + privileged: true + nodeSelector: + type: bare-metal-external + - name: pull-common-instancetypes-kubevirt-functest-centos-7 + branches: + - main + always_run: false + run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/centos/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" + cluster: kubevirt-prow-workloads + decorate: true + decoration_config: + grace_period: 5m0s + timeout: 1h0m0s + labels: + preset-bazel-cache: "true" + preset-bazel-unnested: "true" + preset-docker-mirror-proxy: "true" + preset-gcs-credentials: "true" + preset-podman-in-container-enabled: "true" + preset-podman-shared-images: "true" + preset-shared-images: "true" + max_concurrency: 1 + spec: + containers: + - command: + - /usr/local/bin/runner.sh + - "/bin/sh" + - "-c" + - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + env: + - name: KUBEVIRT_MEMORY_SIZE + value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Linux guest with CentOS 7"' + image: quay.io/kubevirtci/golang:v20231115-51a244f + name: "" + resources: + requests: + memory: 20Gi + securityContext: + privileged: true + nodeSelector: + type: bare-metal-external + - name: pull-common-instancetypes-kubevirt-functest-centos-stream-8 + branches: + - main + always_run: false + run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/centos/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" + cluster: kubevirt-prow-workloads + decorate: true + decoration_config: + grace_period: 5m0s + timeout: 1h0m0s + labels: + preset-bazel-cache: "true" + preset-bazel-unnested: "true" + preset-docker-mirror-proxy: "true" + preset-gcs-credentials: "true" + preset-podman-in-container-enabled: "true" + preset-podman-shared-images: "true" + preset-shared-images: "true" + max_concurrency: 1 + spec: + containers: + - command: + - /usr/local/bin/runner.sh + - "/bin/sh" + - "-c" + - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + env: + - name: KUBEVIRT_MEMORY_SIZE + value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Linux guest with CentOS Stream 8"' + image: quay.io/kubevirtci/golang:v20231115-51a244f + name: "" + resources: + requests: + memory: 20Gi + securityContext: + privileged: true + nodeSelector: + type: bare-metal-external + - name: pull-common-instancetypes-kubevirt-functest-centos-stream-9 + branches: + - main + always_run: false + run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/centos/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" + cluster: kubevirt-prow-workloads + decorate: true + decoration_config: + grace_period: 5m0s + timeout: 1h0m0s + labels: + preset-bazel-cache: "true" + preset-bazel-unnested: "true" + preset-docker-mirror-proxy: "true" + preset-gcs-credentials: "true" + preset-podman-in-container-enabled: "true" + preset-podman-shared-images: "true" + preset-shared-images: "true" + max_concurrency: 1 + spec: + containers: + - command: + - /usr/local/bin/runner.sh + - "/bin/sh" + - "-c" + - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + env: + - name: KUBEVIRT_MEMORY_SIZE + value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Linux guest with CentOS Stream 9"' + image: quay.io/kubevirtci/golang:v20231115-51a244f + name: "" + resources: + requests: + memory: 20Gi + securityContext: + privileged: true + nodeSelector: + type: bare-metal-external + - name: pull-common-instancetypes-kubevirt-functest-ubuntu + branches: + - main + always_run: false + run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/ubuntu/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" + cluster: kubevirt-prow-workloads + decorate: true + decoration_config: + grace_period: 5m0s + timeout: 1h0m0s + labels: + preset-bazel-cache: "true" + preset-bazel-unnested: "true" + preset-docker-mirror-proxy: "true" + preset-gcs-credentials: "true" + preset-podman-in-container-enabled: "true" + preset-podman-shared-images: "true" + preset-shared-images: "true" + max_concurrency: 1 + spec: + containers: + - command: + - /usr/local/bin/runner.sh + - "/bin/sh" + - "-c" + - "make kubevirt-up && make kubevirt-sync && make kubevirt-functest" + env: + - name: KUBEVIRT_MEMORY_SIZE + value: 16G + - name: FUNCTEST_EXTRA_ARGS + value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Linux guest with Ubuntu"' image: quay.io/kubevirtci/golang:v20231115-51a244f name: "" resources: