Skip to content

Commit c54d57a

Browse files
committed
add a step to pin release images for sno clusters before upgrades
1 parent 85ee8ba commit c54d57a

File tree

2 files changed

+106
-0
lines changed

2 files changed

+106
-0
lines changed

ci-operator/config/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.16__amd64-nightly-4.16-upgrade-from-stable-4.16.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,20 @@ tests:
8686
test:
8787
- chain: openshift-upgrade-qe-sanity-disconnected
8888
workflow: cucushift-installer-rehearse-aws-ipi-disconnected-private
89+
- as: aws-ipi-disc-priv-sno-tp-pin-mco-f60
90+
cron: 15 13 25 2,4,6,8,10,12 *
91+
steps:
92+
cluster_profile: aws-qe
93+
env:
94+
BASE_DOMAIN: qe.devcluster.openshift.com
95+
EXTRACT_MANIFEST_INCLUDED: "true"
96+
FEATURE_SET: TechPreviewNoUpgrade
97+
MCO_CONF_DAY2_PINTARGETRELEASE: "true"
98+
MCO_CONF_DAY2_PINTARGETRELEASE_REMOVE_PULLSECRET: "true"
99+
MCO_CONF_DAY2_PINTARGETRELEASE_MCPS: master
100+
test:
101+
- chain: openshift-upgrade-qe-sanity-disconnected
102+
workflow: cucushift-installer-rehearse-aws-ipi-disconnected-private-sno
89103
- as: aws-ipi-localzone-byo-subnet-ovn-f60
90104
cron: 49 11 24 2,4,6,8,10,12 *
91105
steps:

ci-operator/jobs/openshift/openshift-tests-private/openshift-openshift-tests-private-release-4.16-periodics.yaml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5378,6 +5378,98 @@ periodics:
53785378
- name: result-aggregator
53795379
secret:
53805380
secretName: result-aggregator
5381+
- agent: kubernetes
5382+
cluster: build03
5383+
cron: 15 13 25 2,4,6,8,10,12 *
5384+
decorate: true
5385+
decoration_config:
5386+
skip_cloning: true
5387+
extra_refs:
5388+
- base_ref: release-4.16
5389+
org: openshift
5390+
repo: openshift-tests-private
5391+
labels:
5392+
ci-operator.openshift.io/cloud: aws
5393+
ci-operator.openshift.io/cloud-cluster-profile: aws-qe
5394+
ci-operator.openshift.io/variant: amd64-nightly-4.16-upgrade-from-stable-4.16
5395+
ci.openshift.io/generator: prowgen
5396+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
5397+
name: periodic-ci-openshift-openshift-tests-private-release-4.16-amd64-nightly-4.16-upgrade-from-stable-4.16-aws-ipi-disc-priv-sno-tp-pin-mco-f60
5398+
reporter_config:
5399+
slack:
5400+
channel: '#forum-ocp-mco-qe'
5401+
job_states_to_report:
5402+
- failure
5403+
- error
5404+
- success
5405+
report_template: '{{if eq .Status.State "success"}} :rainbow: Job *{{.Spec.Job}}*
5406+
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> :rainbow: {{else}}
5407+
:volcano: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
5408+
logs> :volcano: {{end}}'
5409+
spec:
5410+
containers:
5411+
- args:
5412+
- --gcs-upload-secret=/secrets/gcs/service-account.json
5413+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
5414+
- --lease-server-credentials-file=/etc/boskos/credentials
5415+
- --oauth-token-path=/usr/local/github-credentials/oauth
5416+
- --report-credentials-file=/etc/report/credentials
5417+
- --secret-dir=/secrets/ci-pull-credentials
5418+
- --target=aws-ipi-disc-priv-sno-tp-pin-mco-f60
5419+
- --variant=amd64-nightly-4.16-upgrade-from-stable-4.16
5420+
command:
5421+
- ci-operator
5422+
image: ci-operator:latest
5423+
imagePullPolicy: Always
5424+
name: ""
5425+
resources:
5426+
requests:
5427+
cpu: 10m
5428+
volumeMounts:
5429+
- mountPath: /etc/boskos
5430+
name: boskos
5431+
readOnly: true
5432+
- mountPath: /secrets/ci-pull-credentials
5433+
name: ci-pull-credentials
5434+
readOnly: true
5435+
- mountPath: /secrets/gcs
5436+
name: gcs-credentials
5437+
readOnly: true
5438+
- mountPath: /usr/local/github-credentials
5439+
name: github-credentials-openshift-ci-robot-private-git-cloner
5440+
readOnly: true
5441+
- mountPath: /secrets/manifest-tool
5442+
name: manifest-tool-local-pusher
5443+
readOnly: true
5444+
- mountPath: /etc/pull-secret
5445+
name: pull-secret
5446+
readOnly: true
5447+
- mountPath: /etc/report
5448+
name: result-aggregator
5449+
readOnly: true
5450+
serviceAccountName: ci-operator
5451+
volumes:
5452+
- name: boskos
5453+
secret:
5454+
items:
5455+
- key: credentials
5456+
path: credentials
5457+
secretName: boskos-credentials
5458+
- name: ci-pull-credentials
5459+
secret:
5460+
secretName: ci-pull-credentials
5461+
- name: github-credentials-openshift-ci-robot-private-git-cloner
5462+
secret:
5463+
secretName: github-credentials-openshift-ci-robot-private-git-cloner
5464+
- name: manifest-tool-local-pusher
5465+
secret:
5466+
secretName: manifest-tool-local-pusher
5467+
- name: pull-secret
5468+
secret:
5469+
secretName: registry-pull-credentials
5470+
- name: result-aggregator
5471+
secret:
5472+
secretName: result-aggregator
53815473
- agent: kubernetes
53825474
cluster: build03
53835475
cron: 14 12 24 1,3,5,7,9,11 *

0 commit comments

Comments
 (0)