Skip to content

Commit

Permalink
Merge pull request #21012 from dagrayvid/ci-artifacts-add-sro-4.9
Browse files Browse the repository at this point in the history
Add nightly tests on 4.9 for SRO (openshift-psap/ci-artifacts)
  • Loading branch information
openshift-ci[bot] committed Aug 9, 2021
2 parents 1a77c28 + 8b5860f commit ab44bf4
Show file tree
Hide file tree
Showing 3 changed files with 178 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
base_images:
os:
name: ubi
namespace: ocp
tag: "8"
build_root:
image_stream_tag:
name: release
namespace: openshift
tag: golang-1.16
images:
- dockerfile_path: build/Dockerfile
from: os
to: ci-artifacts
releases:
latest:
candidate:
product: ocp
stream: nightly
version: "4.9"
resources:
'*':
limits:
memory: 2Gi
requests:
cpu: 2000m
memory: 2Gi
tests:
- as: e2e-master
cron: 0 23 * * *
steps:
cluster_profile: aws
test:
- as: nightly
cli: latest
commands: run sro test_master_branch
credentials:
- mount_path: /var/run/psap-entitlement-secret
name: psap-entitlement-secret
namespace: test-credentials
from: ci-artifacts
resources:
requests:
cpu: 2000m
memory: 2Gi
workflow: ipi-aws
zz_generated_metadata:
branch: release-4.9
org: openshift-psap
repo: ci-artifacts
variant: sro
Original file line number Diff line number Diff line change
Expand Up @@ -169,3 +169,78 @@ periodics:
- name: result-aggregator
secret:
secretName: result-aggregator
- agent: kubernetes
cluster: build01
cron: 0 23 * * *
decorate: true
decoration_config:
skip_cloning: true
extra_refs:
- base_ref: release-4.9
org: openshift-psap
repo: ci-artifacts
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: sro
job-release: "4.9"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: periodic-ci-openshift-psap-ci-artifacts-release-4.9-sro-e2e-master
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
- --report-credentials-file=/etc/report/credentials
- --secret-dir=/secrets/ci-pull-credentials
- --secret-dir=/usr/local/e2e-master-cluster-profile
- --target=e2e-master
- --variant=sro
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: /usr/local/e2e-master-cluster-profile
name: cluster-profile
- mountPath: /secrets/gcs
name: gcs-credentials
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: cluster-profile
projected:
sources:
- secret:
name: cluster-secrets-aws
- 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
Expand Up @@ -102,6 +102,58 @@ presubmits:
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )nfd-images,?($|\s.*)
- agent: kubernetes
always_run: true
branches:
- ^release-4\.9$
- ^release-4\.9-
cluster: build01
context: ci/prow/sro-images
decorate: true
decoration_config:
skip_cloning: true
labels:
ci-operator.openshift.io/prowgen-controlled: "true"
ci-operator.openshift.io/variant: sro
job-release: "4.9"
pj-rehearse.openshift.io/can-be-rehearsed: "true"
name: pull-ci-openshift-psap-ci-artifacts-release-4.9-sro-images
rerun_command: /test sro-images
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=[images]
- --variant=sro
command:
- ci-operator
image: ci-operator:latest
imagePullPolicy: Always
name: ""
resources:
requests:
cpu: 10m
volumeMounts:
- mountPath: /secrets/gcs
name: gcs-credentials
readOnly: true
- mountPath: /etc/pull-secret
name: pull-secret
readOnly: true
- mountPath: /etc/report
name: result-aggregator
readOnly: true
serviceAccountName: ci-operator
volumes:
- name: pull-secret
secret:
secretName: registry-pull-credentials
- name: result-aggregator
secret:
secretName: result-aggregator
trigger: (?m)^/test( | .* )sro-images,?($|\s.*)
- agent: kubernetes
always_run: false
branches:
Expand Down

0 comments on commit ab44bf4

Please sign in to comment.