Skip to content

Commit

Permalink
prow, kubevirt presubmits: Add new jobs for kind-1.22-sriov
Browse files Browse the repository at this point in the history
Following kubevirt/kubevirtci#694, create presubmits jobs for
the new provider.

Once we see 'periodic-kubevirt-e2e-k8s-1.22-sriov' job is stable
we can set it as mandatory and remove the old one.

Signed-off-by: Or Mergi <ormergi@redhat.com>
  • Loading branch information
ormergi committed Oct 25, 2021
1 parent 840338d commit f1742be
Showing 1 changed file with 168 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,91 @@ presubmits:
privileged: true
nodeSelector:
type: bare-metal-external
- always_run: false
annotations:
fork-per-release: "true"
k8s.v1.cni.cncf.io/networks: multus-cni-ns/sriov-passthrough-cni,multus-cni-ns/sriov-passthrough-cni
testgrid-dashboards: kubevirt-presubmits
cluster: prow-workloads
decorate: true
decoration_config:
grace_period: 30m0s
timeout: 4h0m0s
labels:
preset-bazel-unnested: "true"
preset-dind-enabled: "true"
preset-docker-mirror-proxy: "true"
preset-shared-images: "true"
rehearsal.allowed: "true"
sriov-pod: "true"
max_concurrency: 10
name: pull-kubevirt-e2e-kind-1.22-sriov-nonroot
optional: true
skip_branches:
- release-\d+\.\d+
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sriov-pod
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
- labelSelector:
matchExpressions:
- key: sriov-pod-multi
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
containers:
- command:
- /usr/local/bin/runner.sh
- /bin/bash
- -ce
- automation/test.sh
env:
- name: TARGET
value: kind-1.22-sriov
- name: GIMME_GO_VERSION
value: 1.13.8
- name: FEATURE_GATES
value: NonRoot
- name: KUBEVIRT_NONROOT
value: "true"
image: quay.io/kubevirtci/bootstrap:v20210906-994b913
name: ""
resources:
requests:
memory: 29Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
- mountPath: /dev/vfio/
name: vfio
nodeSelector:
hardwareSupport: sriov-nic
volumes:
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- hostPath:
path: /dev/vfio/
type: Directory
name: vfio
- always_run: false
annotations:
fork-per-release: "true"
Expand Down Expand Up @@ -879,6 +964,89 @@ presubmits:
path: /dev/vfio/
type: Directory
name: vfio
- always_run: false
annotations:
fork-per-release: "true"
k8s.v1.cni.cncf.io/networks: multus-cni-ns/sriov-passthrough-cni,multus-cni-ns/sriov-passthrough-cni
testgrid-dashboards: kubevirt-presubmits
cluster: prow-workloads
decorate: true
decoration_config:
grace_period: 30m0s
timeout: 4h0m0s
labels:
preset-bazel-unnested: "true"
preset-dind-enabled: "true"
preset-docker-mirror-proxy: "true"
preset-shared-images: "true"
rehearsal.allowed: "true"
sriov-pod: "true"
max_concurrency: 10
name: pull-kubevirt-e2e-kind-1.22-sriov
optional: true
skip_branches:
- release-\d+\.\d+
spec:
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: sriov-pod
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
- labelSelector:
matchExpressions:
- key: sriov-pod-multi
operator: In
values:
- "true"
topologyKey: kubernetes.io/hostname
containers:
- command:
- /usr/local/bin/runner.sh
- /bin/bash
- -ce
- automation/test.sh
env:
- name: TARGET
value: kind-1.22-sriov
- name: GIMME_GO_VERSION
value: 1.13.8
- name: KUBEVIRT_NONROOT
value: "true"
image: quay.io/kubevirtci/bootstrap:v20210906-994b913
name: ""
resources:
requests:
memory: 29Gi
securityContext:
privileged: true
volumeMounts:
- mountPath: /lib/modules
name: modules
readOnly: true
- mountPath: /sys/fs/cgroup
name: cgroup
- mountPath: /dev/vfio/
name: vfio
nodeSelector:
hardwareSupport: sriov-nic
volumes:
- hostPath:
path: /lib/modules
type: Directory
name: modules
- hostPath:
path: /sys/fs/cgroup
type: Directory
name: cgroup
- hostPath:
path: /dev/vfio/
type: Directory
name: vfio
- always_run: true
annotations:
fork-per-release: "true"
Expand Down

0 comments on commit f1742be

Please sign in to comment.