-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update common-instancetypes presubmits and add presubmits for release…
…-0.4 (#3143) * common-instancetypes: Update presubmit focus regexes Update the focus regexes in the presubmits to match the new test names with added test ids. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com> * common-instancetypes: Add presubmits for release-0.4 Add common-instancetypes presubmits for the release-0.4 branch. Signed-off-by: Felix Matouschek <fmatouschek@redhat.com> * common-instancetypes: Enable branch-protection for all branches Signed-off-by: Felix Matouschek <fmatouschek@redhat.com> --------- Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
- Loading branch information
Showing
3 changed files
with
293 additions
and
9 deletions.
There are no files selected for viewing
286 changes: 286 additions & 0 deletions
286
github/ci/prow-deploy/files/jobs/kubevirt/common-instancetypes/common-instancetypes-0.4.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,286 @@ | ||
presubmits: | ||
kubevirt/common-instancetypes: | ||
- name: pull-common-instancetypes | ||
branches: | ||
- release-0.4 | ||
always_run: true | ||
optional: true | ||
decorate: true | ||
decoration_config: | ||
timeout: 3h | ||
max_concurrency: 5 | ||
labels: | ||
preset-docker-mirror: "true" | ||
cluster: kubevirt-prow-control-plane | ||
spec: | ||
containers: | ||
- image: quay.io/kubevirtci/common-instancetypes-builder:v20231205-3b7ed7e | ||
command: | ||
- "/bin/bash" | ||
- "-c" | ||
- "make check-tree-clean all && cp _build/* /logs/artifacts" | ||
resources: | ||
requests: | ||
memory: "1Gi" | ||
- name: pull-common-instancetypes-cluster-functest | ||
branches: | ||
- release-0.4 | ||
always_run: false | ||
run_if_changed: "instancetypes/.*|preferences/.*|scripts/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" | ||
cluster: kubevirt-prow-workloads | ||
decorate: true | ||
decoration_config: | ||
grace_period: 5m0s | ||
timeout: 1h0m0s | ||
labels: | ||
preset-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-functest" | ||
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-cluster-functest-fedora | ||
branches: | ||
- release-0.4 | ||
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-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-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-cluster-functest-centos-7 | ||
branches: | ||
- release-0.4 | ||
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-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-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-cluster-functest-centos-stream-8 | ||
branches: | ||
- release-0.4 | ||
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-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-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-cluster-functest-centos-stream-9 | ||
branches: | ||
- release-0.4 | ||
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-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-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-cluster-functest-ubuntu | ||
branches: | ||
- release-0.4 | ||
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-docker-mirror-proxy: "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 cluster-up && make cluster-sync && make cluster-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: | ||
requests: | ||
memory: 20Gi | ||
securityContext: | ||
privileged: true | ||
nodeSelector: | ||
type: bare-metal-external | ||
- name: pull-common-instancetypes-cluster-functest-validation-os | ||
branches: | ||
- release-0.4 | ||
always_run: false | ||
run_if_changed: "preferences/base/.*|preferences/components/.*|preferences/windows/11/.*|tests/functests/.*|tests/vendor/.*|tests/go.*" | ||
cluster: kubevirt-prow-workloads | ||
decorate: true | ||
decoration_config: | ||
grace_period: 5m0s | ||
timeout: 1h0m0s | ||
labels: | ||
preset-docker-mirror-proxy: "true" | ||
preset-podman-in-container-enabled: "true" | ||
preset-podman-shared-images: "true" | ||
preset-shared-images: "true" | ||
preset-kubevirtci-quay-credential: "true" | ||
max_concurrency: 1 | ||
spec: | ||
containers: | ||
- command: | ||
- /usr/local/bin/runner.sh | ||
- "/bin/sh" | ||
- "-c" | ||
- | | ||
cat "$QUAY_PASSWORD" | podman login --username $(cat "$QUAY_USER") --password-stdin=true quay.io | ||
make cluster-up && make cluster-sync && make cluster-sync-containerdisks && make cluster-functest | ||
env: | ||
- name: KUBEVIRT_MEMORY_SIZE | ||
value: 16G | ||
- name: FUNCTEST_EXTRA_ARGS | ||
value: '--ginkgo.focus="VirtualMachine using a preference is able to boot a Windows guest with .*Validation OS"' | ||
image: quay.io/kubevirtci/golang:v20231115-51a244f | ||
name: "" | ||
resources: | ||
requests: | ||
memory: 20Gi | ||
securityContext: | ||
privileged: true | ||
nodeSelector: | ||
type: bare-metal-external |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters