Skip to content

Commit 2e80747

Browse files
authored
add 4.18 reliability config (#61326)
1 parent c6b7299 commit 2e80747

File tree

4 files changed

+315
-0
lines changed

4 files changed

+315
-0
lines changed
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
base_images:
2+
upi-installer:
3+
name: "4.18"
4+
namespace: ocp
5+
tag: upi-installer
6+
build_root:
7+
image_stream_tag:
8+
name: ci-tools-build-root
9+
namespace: ci
10+
tag: latest
11+
releases:
12+
latest:
13+
candidate:
14+
product: ocp
15+
stream: nightly
16+
version: "4.18"
17+
resources:
18+
'*':
19+
limits:
20+
memory: 4Gi
21+
requests:
22+
cpu: 100m
23+
memory: 200Mi
24+
tests:
25+
- always_run: false
26+
as: reliability-v2-install-only
27+
steps:
28+
cluster_profile: aws-perfscale-lrc-qe
29+
env:
30+
BASE_DOMAIN: qe-lrc.devcluster.openshift.com
31+
COMPUTE_NODE_REPLICAS: "3"
32+
COMPUTE_NODE_TYPE: m5.xlarge
33+
REMOTE_CLIENT: "true"
34+
pre:
35+
- chain: ipi-aws-pre
36+
test:
37+
- ref: idp-htpasswd
38+
- chain: openshift-svt-reliability-v2
39+
- always_run: false
40+
as: reliability-v2-20h
41+
steps:
42+
allow_skip_on_success: true
43+
cluster_profile: aws-perfscale-qe
44+
env:
45+
BASE_DOMAIN: qe.devcluster.openshift.com
46+
COMPUTE_NODE_REPLICAS: "3"
47+
COMPUTE_NODE_TYPE: m5.xlarge
48+
PROW_CLUSTER_TYPE: self-managed
49+
RELIABILITY_DURATION: 20h
50+
test:
51+
- ref: idp-htpasswd
52+
- chain: openshift-svt-reliability-v2
53+
workflow: openshift-qe-installer-aws
54+
- always_run: false
55+
as: reliability-v2-1h
56+
steps:
57+
cluster_profile: aws-perfscale-qe
58+
env:
59+
BASE_DOMAIN: qe.devcluster.openshift.com
60+
COMPUTE_NODE_REPLICAS: "3"
61+
COMPUTE_NODE_TYPE: m5.xlarge
62+
PROW_CLUSTER_TYPE: self-managed
63+
RELIABILITY_DURATION: 1h
64+
test:
65+
- ref: idp-htpasswd
66+
- chain: openshift-svt-reliability-v2
67+
workflow: openshift-qe-installer-aws
68+
zz_generated_metadata:
69+
branch: master
70+
org: openshift
71+
repo: svt
72+
variant: reliability-v2-aws-4.18-nightly-x86

ci-operator/jobs/openshift/svt/openshift-svt-master-presubmits.yaml

Lines changed: 231 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,237 @@ presubmits:
671671
secret:
672672
secretName: result-aggregator
673673
trigger: (?m)^/test( | .* )(reliability-v2-aws-4.17-nightly-x86-reliability-v2-20h|remaining-required),?($|\s.*)
674+
- agent: kubernetes
675+
always_run: false
676+
branches:
677+
- ^master$
678+
- ^master-
679+
cluster: build03
680+
context: ci/prow/reliability-v2-aws-4.18-nightly-x86-reliability-v2-1h
681+
decorate: true
682+
decoration_config:
683+
skip_cloning: true
684+
labels:
685+
ci-operator.openshift.io/cloud: aws
686+
ci-operator.openshift.io/cloud-cluster-profile: aws-perfscale-qe
687+
ci-operator.openshift.io/variant: reliability-v2-aws-4.18-nightly-x86
688+
ci.openshift.io/generator: prowgen
689+
job-release: "4.18"
690+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
691+
name: pull-ci-openshift-svt-master-reliability-v2-aws-4.18-nightly-x86-reliability-v2-1h
692+
rerun_command: /test reliability-v2-aws-4.18-nightly-x86-reliability-v2-1h
693+
spec:
694+
containers:
695+
- args:
696+
- --gcs-upload-secret=/secrets/gcs/service-account.json
697+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
698+
- --lease-server-credentials-file=/etc/boskos/credentials
699+
- --report-credentials-file=/etc/report/credentials
700+
- --secret-dir=/secrets/ci-pull-credentials
701+
- --target=reliability-v2-1h
702+
- --variant=reliability-v2-aws-4.18-nightly-x86
703+
command:
704+
- ci-operator
705+
image: ci-operator:latest
706+
imagePullPolicy: Always
707+
name: ""
708+
resources:
709+
requests:
710+
cpu: 10m
711+
volumeMounts:
712+
- mountPath: /etc/boskos
713+
name: boskos
714+
readOnly: true
715+
- mountPath: /secrets/ci-pull-credentials
716+
name: ci-pull-credentials
717+
readOnly: true
718+
- mountPath: /secrets/gcs
719+
name: gcs-credentials
720+
readOnly: true
721+
- mountPath: /secrets/manifest-tool
722+
name: manifest-tool-local-pusher
723+
readOnly: true
724+
- mountPath: /etc/pull-secret
725+
name: pull-secret
726+
readOnly: true
727+
- mountPath: /etc/report
728+
name: result-aggregator
729+
readOnly: true
730+
serviceAccountName: ci-operator
731+
volumes:
732+
- name: boskos
733+
secret:
734+
items:
735+
- key: credentials
736+
path: credentials
737+
secretName: boskos-credentials
738+
- name: ci-pull-credentials
739+
secret:
740+
secretName: ci-pull-credentials
741+
- name: manifest-tool-local-pusher
742+
secret:
743+
secretName: manifest-tool-local-pusher
744+
- name: pull-secret
745+
secret:
746+
secretName: registry-pull-credentials
747+
- name: result-aggregator
748+
secret:
749+
secretName: result-aggregator
750+
trigger: (?m)^/test( | .* )(reliability-v2-aws-4.18-nightly-x86-reliability-v2-1h|remaining-required),?($|\s.*)
751+
- agent: kubernetes
752+
always_run: false
753+
branches:
754+
- ^master$
755+
- ^master-
756+
cluster: build03
757+
context: ci/prow/reliability-v2-aws-4.18-nightly-x86-reliability-v2-20h
758+
decorate: true
759+
decoration_config:
760+
skip_cloning: true
761+
labels:
762+
ci-operator.openshift.io/cloud: aws
763+
ci-operator.openshift.io/cloud-cluster-profile: aws-perfscale-qe
764+
ci-operator.openshift.io/variant: reliability-v2-aws-4.18-nightly-x86
765+
ci.openshift.io/generator: prowgen
766+
job-release: "4.18"
767+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
768+
name: pull-ci-openshift-svt-master-reliability-v2-aws-4.18-nightly-x86-reliability-v2-20h
769+
rerun_command: /test reliability-v2-aws-4.18-nightly-x86-reliability-v2-20h
770+
spec:
771+
containers:
772+
- args:
773+
- --gcs-upload-secret=/secrets/gcs/service-account.json
774+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
775+
- --lease-server-credentials-file=/etc/boskos/credentials
776+
- --report-credentials-file=/etc/report/credentials
777+
- --secret-dir=/secrets/ci-pull-credentials
778+
- --target=reliability-v2-20h
779+
- --variant=reliability-v2-aws-4.18-nightly-x86
780+
command:
781+
- ci-operator
782+
image: ci-operator:latest
783+
imagePullPolicy: Always
784+
name: ""
785+
resources:
786+
requests:
787+
cpu: 10m
788+
volumeMounts:
789+
- mountPath: /etc/boskos
790+
name: boskos
791+
readOnly: true
792+
- mountPath: /secrets/ci-pull-credentials
793+
name: ci-pull-credentials
794+
readOnly: true
795+
- mountPath: /secrets/gcs
796+
name: gcs-credentials
797+
readOnly: true
798+
- mountPath: /secrets/manifest-tool
799+
name: manifest-tool-local-pusher
800+
readOnly: true
801+
- mountPath: /etc/pull-secret
802+
name: pull-secret
803+
readOnly: true
804+
- mountPath: /etc/report
805+
name: result-aggregator
806+
readOnly: true
807+
serviceAccountName: ci-operator
808+
volumes:
809+
- name: boskos
810+
secret:
811+
items:
812+
- key: credentials
813+
path: credentials
814+
secretName: boskos-credentials
815+
- name: ci-pull-credentials
816+
secret:
817+
secretName: ci-pull-credentials
818+
- name: manifest-tool-local-pusher
819+
secret:
820+
secretName: manifest-tool-local-pusher
821+
- name: pull-secret
822+
secret:
823+
secretName: registry-pull-credentials
824+
- name: result-aggregator
825+
secret:
826+
secretName: result-aggregator
827+
trigger: (?m)^/test( | .* )(reliability-v2-aws-4.18-nightly-x86-reliability-v2-20h|remaining-required),?($|\s.*)
828+
- agent: kubernetes
829+
always_run: false
830+
branches:
831+
- ^master$
832+
- ^master-
833+
cluster: build03
834+
context: ci/prow/reliability-v2-aws-4.18-nightly-x86-reliability-v2-install-only
835+
decorate: true
836+
decoration_config:
837+
skip_cloning: true
838+
labels:
839+
ci-operator.openshift.io/cloud: aws
840+
ci-operator.openshift.io/cloud-cluster-profile: aws-perfscale-lrc-qe
841+
ci-operator.openshift.io/variant: reliability-v2-aws-4.18-nightly-x86
842+
ci.openshift.io/generator: prowgen
843+
job-release: "4.18"
844+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
845+
name: pull-ci-openshift-svt-master-reliability-v2-aws-4.18-nightly-x86-reliability-v2-install-only
846+
rerun_command: /test reliability-v2-aws-4.18-nightly-x86-reliability-v2-install-only
847+
spec:
848+
containers:
849+
- args:
850+
- --gcs-upload-secret=/secrets/gcs/service-account.json
851+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
852+
- --lease-server-credentials-file=/etc/boskos/credentials
853+
- --report-credentials-file=/etc/report/credentials
854+
- --secret-dir=/secrets/ci-pull-credentials
855+
- --target=reliability-v2-install-only
856+
- --variant=reliability-v2-aws-4.18-nightly-x86
857+
command:
858+
- ci-operator
859+
image: ci-operator:latest
860+
imagePullPolicy: Always
861+
name: ""
862+
resources:
863+
requests:
864+
cpu: 10m
865+
volumeMounts:
866+
- mountPath: /etc/boskos
867+
name: boskos
868+
readOnly: true
869+
- mountPath: /secrets/ci-pull-credentials
870+
name: ci-pull-credentials
871+
readOnly: true
872+
- mountPath: /secrets/gcs
873+
name: gcs-credentials
874+
readOnly: true
875+
- mountPath: /secrets/manifest-tool
876+
name: manifest-tool-local-pusher
877+
readOnly: true
878+
- mountPath: /etc/pull-secret
879+
name: pull-secret
880+
readOnly: true
881+
- mountPath: /etc/report
882+
name: result-aggregator
883+
readOnly: true
884+
serviceAccountName: ci-operator
885+
volumes:
886+
- name: boskos
887+
secret:
888+
items:
889+
- key: credentials
890+
path: credentials
891+
secretName: boskos-credentials
892+
- name: ci-pull-credentials
893+
secret:
894+
secretName: ci-pull-credentials
895+
- name: manifest-tool-local-pusher
896+
secret:
897+
secretName: manifest-tool-local-pusher
898+
- name: pull-secret
899+
secret:
900+
secretName: registry-pull-credentials
901+
- name: result-aggregator
902+
secret:
903+
secretName: result-aggregator
904+
trigger: (?m)^/test( | .* )(reliability-v2-aws-4.18-nightly-x86-reliability-v2-install-only|remaining-required),?($|\s.*)
674905
- agent: kubernetes
675906
always_run: false
676907
branches:

ci-operator/step-registry/openshift/svt/reliability-v2/openshift-svt-reliability-v2-commands.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ oc config view
99
oc projects
1010
python --version
1111

12+
if [[ $REMOTE_CLIENT = "true" ]]; then
13+
cp /tmp/secret/kubeconfig ${ARTIFACT_DIR}/kubeconfig
14+
cp /tmp/secret/kubeadmin-password ${ARTIFACT_DIR}/kubeadmin-password
15+
cp ${SHARED_DIR}/runtime_env ${ARTIFACT_DIR}/runtime_env
16+
cp ${SHARED_DIR}/metadata.json ${ARTIFACT_DIR}/metadata.json
17+
sleep 3600
18+
exit 0
19+
fi
1220
pushd /tmp
1321
SLACK_API_TOKEN=$(cat "/token/reliability-v2-slack-api-token")
1422
export SLACK_API_TOKEN

ci-operator/step-registry/openshift/svt/reliability-v2/openshift-svt-reliability-v2-ref.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ ref:
2828
default: "prow.yaml"
2929
documentation: |-
3030
Configuration template under https://github.com/openshift/svt/tree/master/reliability-v2/config.
31+
- name: REMOTE_CLIENT
32+
default: "false"
33+
documentation: |-
34+
If set to "true", only copy the kubeconfig and manifest to SHARED_DIR to run the test from remote client.
3135
resources:
3236
requests:
3337
cpu: 100m

0 commit comments

Comments
 (0)