Skip to content

OPRUN-3963: [operator-controller]: Call OTE in the ci in order to ensure that the tests will be executed always #66619

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,20 @@ tests:
resources:
requests:
cpu: 100m
- as: tests-extension
steps:
test:
- as: tests-extension
commands: |
echo "Build binary olmv1-tests-ext"
cd openshift/tests-extension
make build
echo "Running olmv1-tests-ext with all tests"
./bin/olmv1-tests-ext run-suite olmv1/all
from: src
resources:
requests:
cpu: 100m
zz_generated_metadata:
branch: main
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,20 @@ tests:
resources:
requests:
cpu: 100m
- as: tests-extension
steps:
test:
- as: tests-extension
commands: |
echo "Build binary olmv1-tests-ext"
cd openshift/tests-extension
make build
echo "Running olmv1-tests-ext with all tests"
./bin/olmv1-tests-ext run-suite olmv1/all
from: src
resources:
requests:
cpu: 100m
zz_generated_metadata:
branch: release-4.20
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,20 @@ tests:
resources:
requests:
cpu: 100m
- as: tests-extension
steps:
test:
- as: tests-extension
commands: |
echo "Build binary olmv1-tests-ext"
cd openshift/tests-extension
make build
echo "Running olmv1-tests-ext with all tests"
./bin/olmv1-tests-ext run-suite olmv1/all
from: src
resources:
requests:
cpu: 100m
zz_generated_metadata:
branch: release-4.21
org: openshift
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,66 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )openshift-e2e-aws-techpreview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^main$
- ^main-
cluster: build07
context: ci/prow/tests-extension
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-operator-framework-operator-controller-main-tests-extension
rerun_command: /test tests-extension
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=tests-extension
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )tests-extension,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,66 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )openshift-e2e-aws-techpreview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-4\.20$
- ^release-4\.20-
cluster: build06
context: ci/prow/tests-extension
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-operator-framework-operator-controller-release-4.20-tests-extension
rerun_command: /test tests-extension
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=tests-extension
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )tests-extension,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,66 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )openshift-e2e-aws-techpreview,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-4\.21$
- ^release-4\.21-
cluster: build07
context: ci/prow/tests-extension
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-operator-framework-operator-controller-release-4.21-tests-extension
rerun_command: /test tests-extension
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=tests-extension
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /secrets/manifest-tool
name: manifest-tool-local-pusher
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: manifest-tool-local-pusher
secret:
secretName: manifest-tool-local-pusher
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )tests-extension,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
Expand Down