Skip to content

Commit 27e87c0

Browse files
committed
[o/cert-manager-operator] optional test: e2e-operator-tech-preview
Signed-off-by: Swarup Ghosh <[email protected]>
1 parent 91a3537 commit 27e87c0

File tree

2 files changed

+99
-1
lines changed

2 files changed

+99
-1
lines changed

Diff for: ci-operator/config/openshift/cert-manager-operator/openshift-cert-manager-operator-master.yaml

+25-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,31 @@ tests:
107107
- ref: fips-check-fips-or-die
108108
- as: test
109109
cli: latest
110-
commands: make test-e2e
110+
commands: |
111+
E2E_GINKGO_LABEL_FILTER='"Platform: isSubsetOf {AWS} && !TechPreview"' make test-e2e
112+
from: src
113+
resources:
114+
requests:
115+
cpu: 100m
116+
workflow: optional-operators-ci-operator-sdk-aws
117+
- as: e2e-operator-tech-preview
118+
optional: true
119+
run_if_changed: ^(pkg/operator/setup_manager\.go|pkg/operator/starter\.go|pkg/controller/.*|bindata/istio-csr)$
120+
steps:
121+
cluster_profile: aws
122+
dependencies:
123+
OO_BUNDLE: cert-manager-operator-bundle
124+
env:
125+
FIPS_ENABLED: "true"
126+
OO_INSTALL_MODE: AllNamespaces
127+
OO_INSTALL_NAMESPACE: cert-manager-operator
128+
OO_SECURITY_CONTEXT: restricted
129+
test:
130+
- ref: fips-check-fips-or-die
131+
- as: test
132+
cli: latest
133+
commands: |
134+
E2E_GINKGO_LABEL_FILTER='"Platform: isSubsetOf {AWS}"' make test-e2e
111135
from: src
112136
resources:
113137
requests:

Diff for: ci-operator/jobs/openshift/cert-manager-operator/openshift-cert-manager-operator-master-presubmits.yaml

+74
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,80 @@ presubmits:
125125
secret:
126126
secretName: result-aggregator
127127
trigger: (?m)^/test( | .* )e2e-operator,?($|\s.*)
128+
- agent: kubernetes
129+
always_run: false
130+
branches:
131+
- ^master$
132+
- ^master-
133+
cluster: build01
134+
context: ci/prow/e2e-operator-tech-preview
135+
decorate: true
136+
labels:
137+
ci-operator.openshift.io/cloud: aws
138+
ci-operator.openshift.io/cloud-cluster-profile: aws
139+
ci.openshift.io/generator: prowgen
140+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
141+
name: pull-ci-openshift-cert-manager-operator-master-e2e-operator-tech-preview
142+
optional: true
143+
rerun_command: /test e2e-operator-tech-preview
144+
run_if_changed: ^(pkg/operator/setup_manager\.go|pkg/operator/starter\.go|pkg/controller/.*|bindata/istio-csr)$
145+
spec:
146+
containers:
147+
- args:
148+
- --gcs-upload-secret=/secrets/gcs/service-account.json
149+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
150+
- --lease-server-credentials-file=/etc/boskos/credentials
151+
- --report-credentials-file=/etc/report/credentials
152+
- --secret-dir=/secrets/ci-pull-credentials
153+
- --target=e2e-operator-tech-preview
154+
command:
155+
- ci-operator
156+
image: ci-operator:latest
157+
imagePullPolicy: Always
158+
name: ""
159+
resources:
160+
requests:
161+
cpu: 10m
162+
volumeMounts:
163+
- mountPath: /etc/boskos
164+
name: boskos
165+
readOnly: true
166+
- mountPath: /secrets/ci-pull-credentials
167+
name: ci-pull-credentials
168+
readOnly: true
169+
- mountPath: /secrets/gcs
170+
name: gcs-credentials
171+
readOnly: true
172+
- mountPath: /secrets/manifest-tool
173+
name: manifest-tool-local-pusher
174+
readOnly: true
175+
- mountPath: /etc/pull-secret
176+
name: pull-secret
177+
readOnly: true
178+
- mountPath: /etc/report
179+
name: result-aggregator
180+
readOnly: true
181+
serviceAccountName: ci-operator
182+
volumes:
183+
- name: boskos
184+
secret:
185+
items:
186+
- key: credentials
187+
path: credentials
188+
secretName: boskos-credentials
189+
- name: ci-pull-credentials
190+
secret:
191+
secretName: ci-pull-credentials
192+
- name: manifest-tool-local-pusher
193+
secret:
194+
secretName: manifest-tool-local-pusher
195+
- name: pull-secret
196+
secret:
197+
secretName: registry-pull-credentials
198+
- name: result-aggregator
199+
secret:
200+
secretName: result-aggregator
201+
trigger: (?m)^/test( | .* )e2e-operator-tech-preview,?($|\s.*)
128202
- agent: kubernetes
129203
always_run: true
130204
branches:

0 commit comments

Comments
 (0)