Skip to content

Commit 49cfe83

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 79ee023 commit 49cfe83

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
@@ -193,6 +193,19 @@ tests:
193193
TEST_SUITE: openshift/auth/external-oidc
194194
workflow: openshift-e2e-vsphere
195195
timeout: 5h0m0s
196+
- as: e2e-aws-external-oidc-conformance
197+
interval: 24h
198+
steps:
199+
cluster_profile: aws-3
200+
env:
201+
FEATURE_SET: TechPreviewNoUpgrade
202+
TEST_SKIPS: ExternalOIDC\|\[Feature:OAuthServer\]\|\[Feature:RoleBindingRestrictions\]\|oauth-apiserver\|\[apigroup:oauth.openshift.io\]\|\[apigroup:user.openshift.io\]\|OAuth
203+
access token\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]\[Serial\] authorization
204+
TestAuthorizationResourceAccessReview should succeed \[apigroup:authorization.openshift.io\]\|\[sig-auth\]\[Feature:OpenShiftAuthorization\]
205+
authorization TestAuthorizationSubjectAccessReview should succeed \[apigroup:authorization.openshift.io\]
206+
TEST_SUITE: openshift/conformance
207+
workflow: idp-external-oidc-keycloak-aws
208+
timeout: 8h0m0s
196209
zz_generated_metadata:
197210
branch: release-4.20
198211
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: 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)