Skip to content

Commit 2c105f9

Browse files
committed
cluster-authentication-operator: add external-oidc conformance periodics
Run the complete conformance suite except External OIDC tests (covered by other jobs) and any tests that depend on the OAuth stack (e.g. APIs) as the OAuth components do not exist in External OIDC.
1 parent 8b18074 commit 2c105f9

File tree

2 files changed

+185
-0
lines changed

2 files changed

+185
-0
lines changed

ci-operator/config/openshift/cluster-authentication-operator/openshift-cluster-authentication-operator-release-4.21__periodics.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,41 @@ tests:
338338
TEST_SKIPS: \[OCPFeatureGate:ExternalOIDC\]
339339
TEST_SUITE: openshift/auth/external-oidc
340340
workflow: openshift-e2e-aws-single-node
341+
- as: e2e-aws-external-oidc-conformance-parallel-techpreview
342+
interval: 24h
343+
steps:
344+
cluster_profile: aws-3
345+
env:
346+
FEATURE_SET: TechPreviewNoUpgrade
347+
TEST_SKIPS: ExternalOIDC\|\[Feature:OAuthServer\]\|\[Feature:RoleBindingRestrictions\]\|oauth-apiserver\|\[apigroup:oauth.openshift.io\]\|\[apigroup:user.openshift.io\]\|OAuth
348+
access token\|\[sig-auth\]\[Feature:OpenShiftAuthorization\] authorization
349+
TestAuthorizationSubjectAccessReview should succeed \[apigroup:authorization.openshift.io\]\|\[sig-cli\]
350+
templates process \[apigroup:template.openshift.io\]\[Skipped:Disconnected\]
351+
\[Suite:openshift\/conformance\/parallel\]\|\[sig-auth\]\[Feature:Authentication\]
352+
TestFrontProxy should succeed \[Suite:openshift\/conformance\/parallel\]\|\[sig-devex\]\[Feature:Templates\]
353+
templateinstance security tests \[apigroup:authorization.openshift.io\]\[apigroup:template.openshift.io\]
354+
should pass security tests \[apigroup:route.openshift.io\] \[Suite:openshift\/conformance\/parallel\]\|\[sig-devex\]\[Feature:Templates\]
355+
templateinstance impersonation tests \[apigroup:user.openshift.io\]\[apigroup:authorization.openshift.io\]
356+
TEST_SUITE: openshift/conformance/parallel
357+
workflow: idp-external-oidc-keycloak-aws
358+
timeout: 8h0m0s
359+
- as: e2e-aws-external-oidc-conformance-serial-techpreview
360+
interval: 24h
361+
steps:
362+
cluster_profile: aws-3
363+
env:
364+
FEATURE_SET: TechPreviewNoUpgrade
365+
TEST_ARGS: --disable-monitor=legacy-test-framework-invariants
366+
TEST_SKIPS: ExternalOIDC\|\[Feature:OAuthServer\]\|\[Feature:RoleBindingRestrictions\]\|oauth-apiserver\|\[apigroup:oauth.openshift.io\]\|\[apigroup:user.openshift.io\]\|OAuth
367+
access token\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]\[Serial\] authorization
368+
TestAuthorizationResourceAccessReview should succeed \[apigroup:authorization.openshift.io\]\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]
369+
authorization TestAuthorizationSubjectAccessReview should succeed \[apigroup:authorization.openshift.io\]\|\[sig-devex\]\[Feature:Templates\]
370+
templateinstance impersonation tests \[apigroup:user.openshift.io\]\[apigroup:authorization.openshift.io\]\|\[sig-api-machinery\]
371+
API data in etcd should be stored at the correct location and version for
372+
all resources \[Serial\]
373+
TEST_SUITE: openshift/conformance/serial
374+
workflow: idp-external-oidc-keycloak-aws
375+
timeout: 8h0m0s
341376
zz_generated_metadata:
342377
branch: release-4.21
343378
org: openshift

ci-operator/jobs/openshift/cluster-authentication-operator/openshift-cluster-authentication-operator-release-4.21-periodics.yaml

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,156 @@ periodics:
7272
- name: result-aggregator
7373
secret:
7474
secretName: result-aggregator
75+
- agent: kubernetes
76+
cluster: build11
77+
decorate: true
78+
decoration_config:
79+
timeout: 8h0m0s
80+
extra_refs:
81+
- base_ref: release-4.21
82+
org: openshift
83+
repo: cluster-authentication-operator
84+
interval: 24h
85+
labels:
86+
ci-operator.openshift.io/cloud: aws
87+
ci-operator.openshift.io/cloud-cluster-profile: aws-3
88+
ci-operator.openshift.io/variant: periodics
89+
ci.openshift.io/generator: prowgen
90+
job-release: "4.21"
91+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
92+
name: periodic-ci-openshift-cluster-authentication-operator-release-4.21-periodics-e2e-aws-external-oidc-conformance-parallel-techpreview
93+
spec:
94+
containers:
95+
- args:
96+
- --gcs-upload-secret=/secrets/gcs/service-account.json
97+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
98+
- --lease-server-credentials-file=/etc/boskos/credentials
99+
- --report-credentials-file=/etc/report/credentials
100+
- --secret-dir=/secrets/ci-pull-credentials
101+
- --target=e2e-aws-external-oidc-conformance-parallel-techpreview
102+
- --variant=periodics
103+
command:
104+
- ci-operator
105+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
106+
imagePullPolicy: Always
107+
name: ""
108+
resources:
109+
requests:
110+
cpu: 10m
111+
volumeMounts:
112+
- mountPath: /etc/boskos
113+
name: boskos
114+
readOnly: true
115+
- mountPath: /secrets/ci-pull-credentials
116+
name: ci-pull-credentials
117+
readOnly: true
118+
- mountPath: /secrets/gcs
119+
name: gcs-credentials
120+
readOnly: true
121+
- mountPath: /secrets/manifest-tool
122+
name: manifest-tool-local-pusher
123+
readOnly: true
124+
- mountPath: /etc/pull-secret
125+
name: pull-secret
126+
readOnly: true
127+
- mountPath: /etc/report
128+
name: result-aggregator
129+
readOnly: true
130+
serviceAccountName: ci-operator
131+
volumes:
132+
- name: boskos
133+
secret:
134+
items:
135+
- key: credentials
136+
path: credentials
137+
secretName: boskos-credentials
138+
- name: ci-pull-credentials
139+
secret:
140+
secretName: ci-pull-credentials
141+
- name: manifest-tool-local-pusher
142+
secret:
143+
secretName: manifest-tool-local-pusher
144+
- name: pull-secret
145+
secret:
146+
secretName: registry-pull-credentials
147+
- name: result-aggregator
148+
secret:
149+
secretName: result-aggregator
150+
- agent: kubernetes
151+
cluster: build11
152+
decorate: true
153+
decoration_config:
154+
timeout: 8h0m0s
155+
extra_refs:
156+
- base_ref: release-4.21
157+
org: openshift
158+
repo: cluster-authentication-operator
159+
interval: 24h
160+
labels:
161+
ci-operator.openshift.io/cloud: aws
162+
ci-operator.openshift.io/cloud-cluster-profile: aws-3
163+
ci-operator.openshift.io/variant: periodics
164+
ci.openshift.io/generator: prowgen
165+
job-release: "4.21"
166+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
167+
name: periodic-ci-openshift-cluster-authentication-operator-release-4.21-periodics-e2e-aws-external-oidc-conformance-serial-techpreview
168+
spec:
169+
containers:
170+
- args:
171+
- --gcs-upload-secret=/secrets/gcs/service-account.json
172+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
173+
- --lease-server-credentials-file=/etc/boskos/credentials
174+
- --report-credentials-file=/etc/report/credentials
175+
- --secret-dir=/secrets/ci-pull-credentials
176+
- --target=e2e-aws-external-oidc-conformance-serial-techpreview
177+
- --variant=periodics
178+
command:
179+
- ci-operator
180+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
181+
imagePullPolicy: Always
182+
name: ""
183+
resources:
184+
requests:
185+
cpu: 10m
186+
volumeMounts:
187+
- mountPath: /etc/boskos
188+
name: boskos
189+
readOnly: true
190+
- mountPath: /secrets/ci-pull-credentials
191+
name: ci-pull-credentials
192+
readOnly: true
193+
- mountPath: /secrets/gcs
194+
name: gcs-credentials
195+
readOnly: true
196+
- mountPath: /secrets/manifest-tool
197+
name: manifest-tool-local-pusher
198+
readOnly: true
199+
- mountPath: /etc/pull-secret
200+
name: pull-secret
201+
readOnly: true
202+
- mountPath: /etc/report
203+
name: result-aggregator
204+
readOnly: true
205+
serviceAccountName: ci-operator
206+
volumes:
207+
- name: boskos
208+
secret:
209+
items:
210+
- key: credentials
211+
path: credentials
212+
secretName: boskos-credentials
213+
- name: ci-pull-credentials
214+
secret:
215+
secretName: ci-pull-credentials
216+
- name: manifest-tool-local-pusher
217+
secret:
218+
secretName: manifest-tool-local-pusher
219+
- name: pull-secret
220+
secret:
221+
secretName: registry-pull-credentials
222+
- name: result-aggregator
223+
secret:
224+
secretName: result-aggregator
75225
- agent: kubernetes
76226
cluster: build11
77227
decorate: true

0 commit comments

Comments
 (0)