Skip to content

Commit 9a81c81

Browse files
authored
WINC-1777: [ote] skip e2e suite for ote/-only changes (#77183)
Add ote/ to skip_if_only_changed for e2e presubmit jobs so that changes to test extension code under ote/ do not trigger the full e2e test suite. lint, unit, and security still run since ote/ contains Go code. Also regenerate presubmit job configs to match. Related: openshift/windows-machine-config-operator#3874
1 parent 03cb3e0 commit 9a81c81

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

ci-operator/config/openshift/windows-machine-config-operator/openshift-windows-machine-config-operator-master.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ tests:
7878
workflow: openshift-ci-security
7979
- always_run: false
8080
as: aws-e2e-operator
81-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
81+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
8282
steps:
8383
cluster_profile: openshift-org-aws
8484
env:
@@ -119,7 +119,7 @@ tests:
119119
- ref: windows-conf-operator-olmv1
120120
- always_run: false
121121
as: vsphere-disconnected-e2e-operator
122-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
122+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
123123
steps:
124124
cluster_profile: vsphere-dis-2
125125
env:
@@ -134,7 +134,7 @@ tests:
134134
workflow: windows-e2e-operator-test-vsphere-disconnected
135135
- always_run: false
136136
as: azure-e2e-operator
137-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
137+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
138138
steps:
139139
cluster_profile: openshift-org-azure
140140
env:
@@ -158,7 +158,7 @@ tests:
158158
workflow: ipi-azure-ovn-hybrid
159159
- always_run: false
160160
as: gcp-e2e-operator
161-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
161+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
162162
steps:
163163
cluster_profile: gcp
164164
env:
@@ -183,7 +183,7 @@ tests:
183183
workflow: ipi-gcp-ovn-hybrid
184184
- always_run: false
185185
as: vsphere-e2e-operator
186-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
186+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
187187
steps:
188188
cluster_profile: vsphere-elastic
189189
test:
@@ -208,7 +208,7 @@ tests:
208208
workflow: openshift-e2e-vsphere-ccm-ovn-hybrid-install
209209
- always_run: false
210210
as: azure-e2e-upgrade
211-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
211+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
212212
steps:
213213
cluster_profile: openshift-org-azure
214214
test:
@@ -293,23 +293,23 @@ tests:
293293
workflow: ipi-azure-ovn-hybrid
294294
- always_run: false
295295
as: platform-none-vsphere-e2e-operator
296-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
296+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
297297
steps:
298298
cluster_profile: vsphere-elastic
299299
test:
300300
- ref: windows-e2e-operator-test-byoh
301301
workflow: windows-e2e-operator-test-platform-none-vsphere
302302
- always_run: false
303303
as: vsphere-proxy-e2e-operator
304-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
304+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
305305
steps:
306306
cluster_profile: vsphere-elastic
307307
test:
308308
- ref: windows-e2e-operator-test
309309
workflow: ipi-vsphere-ovn-hybrid-custom-vxlan-port-proxy
310310
- always_run: false
311311
as: wicd-unit-vsphere
312-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
312+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
313313
steps:
314314
cluster_profile: vsphere-elastic
315315
post:
@@ -334,7 +334,7 @@ tests:
334334
- always_run: false
335335
as: nutanix-e2e-operator
336336
cluster: build01
337-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
337+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
338338
steps:
339339
cluster_profile: nutanix
340340
test:

ci-operator/jobs/openshift/windows-machine-config-operator/openshift-windows-machine-config-operator-master-presubmits.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ presubmits:
1515
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1616
name: pull-ci-openshift-windows-machine-config-operator-master-aws-e2e-operator
1717
rerun_command: /test aws-e2e-operator
18-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
18+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
1919
spec:
2020
containers:
2121
- args:
@@ -96,7 +96,7 @@ presubmits:
9696
pj-rehearse.openshift.io/can-be-rehearsed: "true"
9797
name: pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-operator
9898
rerun_command: /test azure-e2e-operator
99-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
99+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
100100
spec:
101101
containers:
102102
- args:
@@ -177,7 +177,7 @@ presubmits:
177177
pj-rehearse.openshift.io/can-be-rehearsed: "true"
178178
name: pull-ci-openshift-windows-machine-config-operator-master-azure-e2e-upgrade
179179
rerun_command: /test azure-e2e-upgrade
180-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
180+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
181181
spec:
182182
containers:
183183
- args:
@@ -311,7 +311,7 @@ presubmits:
311311
pj-rehearse.openshift.io/can-be-rehearsed: "true"
312312
name: pull-ci-openshift-windows-machine-config-operator-master-gcp-e2e-operator
313313
rerun_command: /test gcp-e2e-operator
314-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
314+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
315315
spec:
316316
containers:
317317
- args:
@@ -510,7 +510,7 @@ presubmits:
510510
pj-rehearse.openshift.io/can-be-rehearsed: "true"
511511
name: pull-ci-openshift-windows-machine-config-operator-master-nutanix-e2e-operator
512512
rerun_command: /test nutanix-e2e-operator
513-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
513+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
514514
spec:
515515
containers:
516516
- args:
@@ -591,7 +591,7 @@ presubmits:
591591
pj-rehearse.openshift.io/can-be-rehearsed: "true"
592592
name: pull-ci-openshift-windows-machine-config-operator-master-platform-none-vsphere-e2e-operator
593593
rerun_command: /test platform-none-vsphere-e2e-operator
594-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
594+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
595595
spec:
596596
containers:
597597
- args:
@@ -813,7 +813,7 @@ presubmits:
813813
pj-rehearse.openshift.io/can-be-rehearsed: "true"
814814
name: pull-ci-openshift-windows-machine-config-operator-master-vsphere-disconnected-e2e-operator
815815
rerun_command: /test vsphere-disconnected-e2e-operator
816-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
816+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
817817
spec:
818818
containers:
819819
- args:
@@ -894,7 +894,7 @@ presubmits:
894894
pj-rehearse.openshift.io/can-be-rehearsed: "true"
895895
name: pull-ci-openshift-windows-machine-config-operator-master-vsphere-e2e-operator
896896
rerun_command: /test vsphere-e2e-operator
897-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
897+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
898898
spec:
899899
containers:
900900
- args:
@@ -975,7 +975,7 @@ presubmits:
975975
pj-rehearse.openshift.io/can-be-rehearsed: "true"
976976
name: pull-ci-openshift-windows-machine-config-operator-master-vsphere-proxy-e2e-operator
977977
rerun_command: /test vsphere-proxy-e2e-operator
978-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
978+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
979979
spec:
980980
containers:
981981
- args:
@@ -1056,7 +1056,7 @@ presubmits:
10561056
pj-rehearse.openshift.io/can-be-rehearsed: "true"
10571057
name: pull-ci-openshift-windows-machine-config-operator-master-wicd-unit-vsphere
10581058
rerun_command: /test wicd-unit-vsphere
1059-
skip_if_only_changed: ^(?:docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
1059+
skip_if_only_changed: ^(?:ote|docs|\.github|\.tekton)/|\.md$|^(?:\.gitignore|renovate\.json|OWNERS|PROJECT|LICENSE|Containerfile|Containerfile.bundle)$
10601060
spec:
10611061
containers:
10621062
- args:

0 commit comments

Comments
 (0)