Skip to content

Commit

Permalink
Add check reqs job to ironic containers in 4.14 (#51409)
Browse files Browse the repository at this point in the history
  • Loading branch information
elfosardo committed Apr 29, 2024
1 parent 55b551d commit ff01488
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 0 deletions.
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

0 comments on commit ff01488

Please sign in to comment.