Skip to content

Commit 5b456ec

Browse files
committed
cluster-authentication-operator: add external-oidc conformance periodic
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 2f57db5 commit 5b456ec

File tree

2 files changed

+88
-0
lines changed

2 files changed

+88
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,19 @@ tests:
330330
TEST_SUITE: openshift/auth/external-oidc
331331
workflow: baremetalds-e2e
332332
timeout: 5h0m0s
333+
- as: e2e-aws-external-oidc-conformance
334+
interval: 24h
335+
steps:
336+
cluster_profile: aws-3
337+
env:
338+
FEATURE_SET: TechPreviewNoUpgrade
339+
TEST_SKIPS: ExternalOIDC\|\[Feature:OAuthServer\]\|\[Feature:RoleBindingRestrictions\]\|oauth-apiserver\|\[apigroup:oauth.openshift.io\]\|\[apigroup:user.openshift.io\]\|OAuth
340+
access token\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]\[Serial\] authorization
341+
TestAuthorizationResourceAccessReview should succeed \[apigroup:authorization.openshift.io\]\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]
342+
authorization TestAuthorizationSubjectAccessReview should succeed \[apigroup:authorization.openshift.io\]
343+
TEST_SUITE: openshift/conformance
344+
workflow: idp-external-oidc-keycloak-aws
345+
timeout: 8h0m0s
333346
zz_generated_metadata:
334347
branch: release-4.20
335348
org: openshift

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

Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,81 @@ periodics:
7474
- name: result-aggregator
7575
secret:
7676
secretName: result-aggregator
77+
- agent: kubernetes
78+
cluster: build09
79+
decorate: true
80+
decoration_config:
81+
timeout: 8h0m0s
82+
extra_refs:
83+
- base_ref: release-4.20
84+
org: openshift
85+
repo: cluster-authentication-operator
86+
interval: 24h
87+
labels:
88+
ci-operator.openshift.io/cloud: aws
89+
ci-operator.openshift.io/cloud-cluster-profile: aws-3
90+
ci-operator.openshift.io/variant: periodics
91+
ci.openshift.io/generator: prowgen
92+
job-release: "4.20"
93+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
94+
name: periodic-ci-openshift-cluster-authentication-operator-release-4.20-periodics-e2e-aws-external-oidc-conformance
95+
spec:
96+
containers:
97+
- args:
98+
- --gcs-upload-secret=/secrets/gcs/service-account.json
99+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
100+
- --lease-server-credentials-file=/etc/boskos/credentials
101+
- --report-credentials-file=/etc/report/credentials
102+
- --secret-dir=/secrets/ci-pull-credentials
103+
- --target=e2e-aws-external-oidc-conformance
104+
- --variant=periodics
105+
command:
106+
- ci-operator
107+
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
108+
imagePullPolicy: Always
109+
name: ""
110+
resources:
111+
requests:
112+
cpu: 10m
113+
volumeMounts:
114+
- mountPath: /etc/boskos
115+
name: boskos
116+
readOnly: true
117+
- mountPath: /secrets/ci-pull-credentials
118+
name: ci-pull-credentials
119+
readOnly: true
120+
- mountPath: /secrets/gcs
121+
name: gcs-credentials
122+
readOnly: true
123+
- mountPath: /secrets/manifest-tool
124+
name: manifest-tool-local-pusher
125+
readOnly: true
126+
- mountPath: /etc/pull-secret
127+
name: pull-secret
128+
readOnly: true
129+
- mountPath: /etc/report
130+
name: result-aggregator
131+
readOnly: true
132+
serviceAccountName: ci-operator
133+
volumes:
134+
- name: boskos
135+
secret:
136+
items:
137+
- key: credentials
138+
path: credentials
139+
secretName: boskos-credentials
140+
- name: ci-pull-credentials
141+
secret:
142+
secretName: ci-pull-credentials
143+
- name: manifest-tool-local-pusher
144+
secret:
145+
secretName: manifest-tool-local-pusher
146+
- name: pull-secret
147+
secret:
148+
secretName: registry-pull-credentials
149+
- name: result-aggregator
150+
secret:
151+
secretName: result-aggregator
77152
- agent: kubernetes
78153
cluster: build09
79154
decorate: true

0 commit comments

Comments
 (0)