Skip to content

Commit

Permalink
to get bm cluster for premerge
Browse files Browse the repository at this point in the history
  • Loading branch information
Prachiti Talgulkar committed Jan 10, 2025
1 parent e8edfa4 commit 95a5e27
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2173,6 +2173,13 @@ tests:
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn
- as: baremetalds-ipi-ovn-mco-ipv6-fips-f14
cron: 15 8 9,25 * *
steps:
cluster_profile: equinix-ocp-metal-qe
test:
- chain: openshift-e2e-test-qe
workflow: cucushift-installer-rehearse-baremetalds-ipi-ovn
- as: baremetalds-ipi-ovn-ipv4-fips-f14-ui
cron: 15 21 13,27 * *
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28841,6 +28841,88 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build03
cron: 15 8 9,25 * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.19
org: openshift
repo: openshift-tests-private
labels:
ci-operator.openshift.io/cloud: equinix-ocp-metal
ci-operator.openshift.io/cloud-cluster-profile: equinix-ocp-metal-qe
ci-operator.openshift.io/variant: amd64-nightly
ci.openshift.io/generator: prowgen
job-release: "4.19"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-openshift-tests-private-release-4.19-amd64-nightly-baremetalds-ipi-ovn-mco-ipv6-fips-f14
spec:
containers:
- args:
- --gcs-upload-secret=/secrets/gcs/service-account.json
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
- --lease-server-credentials-file=/etc/boskos/credentials
- --oauth-token-path=/usr/local/github-credentials/oauth
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --target=baremetalds-ipi-ovn-mco-ipv6-fips-f14
- --variant=amd64-nightly
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /etc/boskos
name: boskos
readOnly: true
- mountPath: /secrets/ci-pull-credentials
name: ci-pull-credentials
readOnly: true
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /usr/local/github-credentials
name: github-credentials-openshift-ci-robot-private-git-cloner
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: boskos
secret:
items:
- key: credentials
path: credentials
secretName: boskos-credentials
- name: ci-pull-credentials
secret:
secretName: ci-pull-credentials
- name: github-credentials-openshift-ci-robot-private-git-cloner
secret:
secretName: github-credentials-openshift-ci-robot-private-git-cloner
- 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
- agent: kubernetes
cluster: build02
cron: 46 3 15 * *
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ function get_arch() {
echo "${ARCH}"
}

OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="registry.build05.ci.openshift.org/ci-ln-dvxgb72/release:latest"
trap 'CHILDREN=$(jobs -p); if test -n "${CHILDREN}"; then kill ${CHILDREN} && wait; fi' TERM
trap 'prepare_next_steps' EXIT TERM INT

Expand Down Expand Up @@ -759,10 +760,6 @@ case $JOB_NAME in
# Do not retry because azure resources always collide when re-using installer assets
max=1
;;
*ibmcloud*)
# Do not retry because IBMCloud resources will has BucketAlreadyExists error when re-using installer assets
max=1
;;
*)
max=3
;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ set -o nounset
set -o errexit
set -o pipefail

export PATH=/tmp/:$PATH
which extended-platform-tests

echo "WAITING FOR DEBUG..."
while [ ! -f "/tmp/continue" ]
do
sleep 10
done

function warn_0_case_executed {
local count
count="$(ls ${ARTIFACT_DIR} | wc -l)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,14 @@ then
CLUSTER_ID=$(cat "${SHARED_DIR}/cluster-id") || true
export CLUSTER_ID
fi
export PATH=/tmp/:$PATH
which extended-platform-tests

echo "WAITING FOR DEBUG..."
while [ ! -f "/tmp/continue" ]
do
sleep 10
done
# configure environment for different cluster
echo "CLUSTER_TYPE is ${CLUSTER_TYPE}"
case "${CLUSTER_TYPE}" in
Expand Down

0 comments on commit 95a5e27

Please sign in to comment.