Skip to content
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

Add check reqs job to ironic containers in 4.14 #51409

Merged
merged 1 commit into from Apr 29, 2024
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -73,6 +73,15 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
workflow: baremetalds-e2e-ovn-dualstack
- as: check-requirements
commands: |-
#!/bin/bash
set -euxo pipefail
# this could also come from the "CLONEREFS_OPTIONS" env variable
export CHECK_RELEASE="release-4.14"
make check-reqs
container:
from: src
zz_generated_metadata:
branch: release-4.14
org: openshift
Expand Down
Expand Up @@ -64,6 +64,15 @@ tests:
steps:
cluster_profile: equinix-ocp-metal
workflow: baremetalds-e2e-ovn-ipv6
- as: check-requirements
commands: |-
#!/bin/bash
set -euxo pipefail
# this could also come from the "CLONEREFS_OPTIONS" env variable
export CHECK_RELEASE="release-4.14"
make check-reqs
container:
from: src
zz_generated_metadata:
branch: release-4.14
org: openshift
Expand Down
@@ -1,5 +1,58 @@
presubmits:
openshift/ironic-agent-image:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.14$
- ^release-4\.14-
cluster: build02
context: ci/prow/check-requirements
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-ironic-agent-image-release-4.14-check-requirements
rerun_command: /test check-requirements
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
- --target=check-requirements
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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( | .* )check-requirements,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down
@@ -1,5 +1,58 @@
presubmits:
openshift/ironic-image:
- agent: kubernetes
always_run: true
branches:
- ^release-4\.14$
- ^release-4\.14-
cluster: build02
context: ci/prow/check-requirements
decorate: true
labels:
ci.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-ironic-image-release-4.14-check-requirements
rerun_command: /test check-requirements
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
- --target=check-requirements
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- 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: 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( | .* )check-requirements,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down