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
@@ -1,3 +1,8 @@
base_images:
nested-podman:
name: nested-podman
namespace: ci
tag: latest
build_root:
image_stream_tag:
name: builder
Expand All @@ -19,6 +24,33 @@ tests:
commands: make unit-test
container:
from: src
- as: ocm-fvt-periodic-cs-rosa-hcp-ad-staging-main
capabilities:
- nested-podman
commands: |
env -i bash --norc --noprofile << 'EOF' > /tmp/podman.env
export AWS_SHARED_CREDENTIALS_FILE=/credentials/aws-cred
export AWS_SHARED_VPC_CREDENTIALS_FILE=/credentials/aws-shared-vpc-credentials
source /usr/local/cs-qe-credentials/ocm-tokens
env | grep -v '^_='
EOF

podman run \
--authfile /usr/local/cs-qe-credentials/.dockerconfigjson \
--env-file /tmp/podman.env \
-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-ad-staging-main
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
- as: lint
commands: |
unset GOFLAGS
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
periodics:
- agent: kubernetes
cluster: build06
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.openshift.io/generator: prowgen
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-online-rosa-e2e-main-ocm-fvt-periodic-cs-rosa-hcp-ad-staging-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-ad-staging-main
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
slack_reporter_configs:
openshift-online/rosa-e2e:
channel: '#ocm-fvt-prow'
job_states_to_report:
- success
- failure
- error
job_types_to_report:
- periodic
report_template: ':rainbow: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*.
<{{.Status.URL}}|View logs>'
tide:
queries:
- labels:
Expand Down