Skip to content
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 @@ -67,6 +67,51 @@ tests:
secrets:
- mount_path: /usr/local/cs-qe-credentials
name: cs-qe-credentials
- as: ocm-fvt-periodic-cs-rosa-hcp-autonode-integration-main
capabilities:
- nested-podman
commands: |
old_umask=$(umask)
umask 077
podman_env_file="$(mktemp /tmp/podman.env.XXXXXX)"
trap 'rm -f "${podman_env_file}"' EXIT
umask "$old_umask"

JOB_LINK="https://prow.ci.openshift.org/view/gs/test-platform-results/"
if [ -n "${PULL_NUMBER:-}" ]; then
JOB_LINK="${JOB_LINK}pr-logs/pull/openshift_release/${PULL_NUMBER}/${JOB_NAME}/${BUILD_ID}"
else
JOB_LINK="${JOB_LINK}logs/${JOB_NAME}/${BUILD_ID}"
fi

env -i bash --norc --noprofile << EOF > "${podman_env_file}"
export AWS_SHARED_CREDENTIALS_FILE=/credentials/aws-cred
export SHARED_VPC_AWS_SHARED_CREDENTIALS_FILE=/credentials/aws-shared-vpc-credentials
export DR_AWS_CREDENTIALS_FILE=/credentials/aws_dr_shared_cred
export ENABLE_JIRA_REPORTING=true
export OCM_ENV=integration
export JOB_LINK="${JOB_LINK}"
source /usr/local/cs-qe-credentials/ocm-tokens
source /usr/local/cs-qe-credentials/jira-cred
env | grep -v '^_='
EOF

podman run \
--authfile /usr/local/cs-qe-credentials/.dockerconfigjson \
--env-file "${podman_env_file}" \
-v /usr/local/cs-qe-credentials:/credentials:ro,z \
--rm \
quay.io/redhat-services-prod/ocmci/ocmci:latest \
ocmtest test --service cms --job cs-rosa-hcp-autonode-integration-main --reportJiraTicket
container:
from: nested-podman
memory_backed_volume:
size: 1Gi
cron: 0 8 * * *
nested_podman: true
secrets:
- mount_path: /usr/local/cs-qe-credentials
name: cs-qe-credentials
zz_generated_metadata:
branch: main
org: openshift-online
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,78 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build02
cron: 0 8 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: main
org: openshift-online
repo: rosa-e2e
labels:
capability/nested-podman: nested-podman
ci-operator.openshift.io/variant: ocm-fvt-rosa-hcp-integration
ci.openshift.io/generator: prowgen
job-release: "4.22"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-rosa-hcp-integration-ocm-fvt-periodic-cs-rosa-hcp-autonode-integration-main
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/cs-qe-credentials
- --target=ocm-fvt-periodic-cs-rosa-hcp-autonode-integration-main
- --variant=ocm-fvt-rosa-hcp-integration
command:
- ci-operator
env:
- name: HTTP_SERVER_IP
valueFrom:
fieldRef:
fieldPath: status.podIP
image: quay-proxy.ci.openshift.org/openshift/ci:ci_ci-operator_latest
imagePullPolicy: Always
name: ""
ports:
- containerPort: 8080
name: http
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/cs-qe-credentials
name: cs-qe-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: cs-qe-credentials
secret:
secretName: cs-qe-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
- agent: kubernetes
cluster: build02
cron: 0 8 * * *
Expand Down