Skip to content

Commit

Permalink
SIG testing: convert alpha/beta jobs to --label-filter
Browse files Browse the repository at this point in the history
One small difference is that tests with just alpha or beta feature gate
dependency are allowed to run. However, we currently don't have any such
test because any such test also has to add a Feature:<feature gate name>
label to be skipped in normal jobs.
  • Loading branch information
pohly committed Jun 13, 2024
1 parent 0edb8ca commit 3d87520
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions config/jobs/kubernetes/sig-testing/kubernetes-kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -307,13 +307,13 @@ presubmits:
env:
# EventedPLEG is disabled temporarily for https://github.com/kubernetes/kubernetes/issues/122721
- name: FEATURE_GATES
value: '{"AllAlpha":true,"EventedPLEG":false}'
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
- name: RUNTIME_CONFIG
value: '{"api/alpha":"true", "api/ga":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf Alpha"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
Expand Down Expand Up @@ -358,10 +358,10 @@ presubmits:
value: '{"AllBeta":true}'
- name: RUNTIME_CONFIG
value: '{"api/beta":"true", "api/ga":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf Beta"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
Expand Down Expand Up @@ -407,10 +407,10 @@ presubmits:
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG":false}'
- name: RUNTIME_CONFIG
value: '{"api/all":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf { Alpha, Beta }"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
Expand Down Expand Up @@ -508,8 +508,8 @@ periodics:
value: '{"AllAlpha":true,"EventedPLEG": false}'
- name: RUNTIME_CONFIG
value: '{"api/alpha":"true", "api/ga":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf Alpha"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
Expand Down Expand Up @@ -560,8 +560,8 @@ periodics:
value: '{"AllBeta":true}'
- name: RUNTIME_CONFIG
value: '{"api/beta":"true", "api/ga":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf { Beta }"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
Expand Down Expand Up @@ -612,10 +612,10 @@ periodics:
value: '{"AllAlpha":true,"AllBeta":true,"EventedPLEG": false}'
- name: RUNTIME_CONFIG
value: '{"api/all":"true"}'
- name: FOCUS
value: "."
- name: LABEL_FILTER
value: "!Slow && !Disruptive && !Flaky && Feature: isSubsetOf { Alpha, Beta }"
- name: SKIP
value: \[Slow\]|\[Disruptive\]|\[Flaky\]|\[Feature:.+\]|PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
value: PodSecurityPolicy|LoadBalancer|load.balancer|In-tree.Volumes.\[Driver:.nfs\]|PersistentVolumes.NFS|Network.should.set.TCP.CLOSE_WAIT.timeout|Simple.pod.should.support.exec.through.an.HTTP.proxy|subPath.should.support.existing|should.provide.basic.identity
- name: PARALLEL
value: "true"
# we need privileged mode in order to do docker in docker
Expand Down

0 comments on commit 3d87520

Please sign in to comment.