Skip to content

Commit a25cbb7

Browse files
authoredDec 27, 2023
automate OCP-68608 and OCP-68609 (#47087)
1 parent c406f0e commit a25cbb7

10 files changed

+650
-0
lines changed
 

‎ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installation-nightly-4.14.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,32 @@ tests:
7070
test:
7171
- ref: cucushift-installer-check-cluster-health
7272
workflow: cucushift-installer-rehearse-aws-ipi-preserve-bootstrap-ign
73+
- as: azure-ipi-marketplace-image-gen1-vm-type-gen1-f28
74+
cron: 4 14 29 * *
75+
steps:
76+
cluster_profile: azure-qe
77+
env:
78+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
79+
COMPUTE_NODE_TYPE: Standard_NP10s
80+
CONTROL_PLANE_INSTANCE_TYPE: Standard_NP10s
81+
CUSTOM_AZURE_REGION: southcentralus
82+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker-gen1:413.92.2023101700
83+
test:
84+
- chain: cucushift-installer-check-cluster-health
85+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
86+
- as: azure-ipi-marketplace-image-gen2-vm-type-gen2-f28
87+
cron: 12 16 12 * *
88+
steps:
89+
cluster_profile: azure-qe
90+
env:
91+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
92+
COMPUTE_NODE_TYPE: Standard_DC4s_v3
93+
CONTROL_PLANE_INSTANCE_TYPE: Standard_DC4s_v3
94+
CUSTOM_AZURE_REGION: southcentralus
95+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker:413.92.2023101700
96+
test:
97+
- chain: cucushift-installer-check-cluster-health
98+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
7399
zz_generated_metadata:
74100
branch: master
75101
org: openshift

‎ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installation-nightly-4.15.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,32 @@ tests:
7070
test:
7171
- ref: cucushift-installer-check-cluster-health
7272
workflow: cucushift-installer-rehearse-aws-ipi-preserve-bootstrap-ign
73+
- as: azure-ipi-marketplace-image-gen1-vm-type-gen1-f14
74+
cron: 3 13 16,30 * *
75+
steps:
76+
cluster_profile: azure-qe
77+
env:
78+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
79+
COMPUTE_NODE_TYPE: Standard_NP10s
80+
CONTROL_PLANE_INSTANCE_TYPE: Standard_NP10s
81+
CUSTOM_AZURE_REGION: southcentralus
82+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker-gen1:413.92.2023101700
83+
test:
84+
- chain: cucushift-installer-check-cluster-health
85+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
86+
- as: azure-ipi-marketplace-image-gen2-vm-type-gen2-f14
87+
cron: 2 16 3,17 * *
88+
steps:
89+
cluster_profile: azure-qe
90+
env:
91+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
92+
COMPUTE_NODE_TYPE: Standard_DC4s_v3
93+
CONTROL_PLANE_INSTANCE_TYPE: Standard_DC4s_v3
94+
CUSTOM_AZURE_REGION: southcentralus
95+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker:413.92.2023101700
96+
test:
97+
- chain: cucushift-installer-check-cluster-health
98+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
7399
zz_generated_metadata:
74100
branch: master
75101
org: openshift

‎ci-operator/config/openshift/verification-tests/openshift-verification-tests-master__installation-nightly-4.16.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,32 @@ tests:
7070
test:
7171
- ref: cucushift-installer-check-cluster-health
7272
workflow: cucushift-installer-rehearse-aws-ipi-preserve-bootstrap-ign
73+
- as: azure-ipi-marketplace-image-gen1-vm-type-gen1-f14
74+
cron: 30 19 9,23 * *
75+
steps:
76+
cluster_profile: azure-qe
77+
env:
78+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
79+
COMPUTE_NODE_TYPE: Standard_NP10s
80+
CONTROL_PLANE_INSTANCE_TYPE: Standard_NP10s
81+
CUSTOM_AZURE_REGION: southcentralus
82+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker-gen1:413.92.2023101700
83+
test:
84+
- chain: cucushift-installer-check-cluster-health
85+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
86+
- as: azure-ipi-marketplace-image-gen2-vm-type-gen2-f14
87+
cron: 6 23 12,26 * *
88+
steps:
89+
cluster_profile: azure-qe
90+
env:
91+
BASE_DOMAIN: qe.azure.devcluster.openshift.com
92+
COMPUTE_NODE_TYPE: Standard_DC4s_v3
93+
CONTROL_PLANE_INSTANCE_TYPE: Standard_DC4s_v3
94+
CUSTOM_AZURE_REGION: southcentralus
95+
OS_IMAGE_URN: RedHat:rh-ocp-worker:rh-ocp-worker:413.92.2023101700
96+
test:
97+
- chain: cucushift-installer-check-cluster-health
98+
workflow: cucushift-installer-rehearse-azure-ipi-marketplace-generation
7399
zz_generated_metadata:
74100
branch: master
75101
org: openshift

‎ci-operator/jobs/openshift/verification-tests/openshift-verification-tests-master-periodics.yaml

+486
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
approvers:
2+
- jianlinliu
3+
- jinyunma
4+
- gpei
5+
reviewers:
6+
- jianlinliu
7+
- jinyunma
8+
- gpei
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"path": "cucushift/installer/rehearse/azure/ipi/marketplace/generation/cucushift-installer-rehearse-azure-ipi-marketplace-generation-workflow.yaml",
3+
"owners": {
4+
"approvers": [
5+
"jianlinliu",
6+
"jinyunma",
7+
"gpei"
8+
],
9+
"reviewers": [
10+
"jianlinliu",
11+
"jinyunma",
12+
"gpei"
13+
]
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
workflow:
2+
as: cucushift-installer-rehearse-azure-ipi-marketplace-generation
3+
steps:
4+
pre:
5+
- chain: cucushift-installer-rehearse-azure-ipi-marketplace-generation-provision
6+
post:
7+
- chain: cucushift-installer-rehearse-azure-ipi-deprovision
8+
documentation: |-
9+
The IPI workflow provides provision- and deprovision- steps that provision and
10+
deprovision an OpenShift cluster which workers are market-place image with a default configuration
11+
on AZURE, allowing job authors to inject their own end-to-end test logic.
12+
13+
All modifications to this workflow should be done by modifying the
14+
`cucushift-installer-rehearse-azure-ipi-marketimage-{provision,deprovision}` chains to
15+
allow other workflows to mimic and extend this base workflow without
16+
a need to backport changes.
17+
This only supports in 4.11 and later version.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
approvers:
2+
- jianlinliu
3+
- jinyunma
4+
- gpei
5+
- mgahagan73
6+
- MayXuQQ
7+
reviewers:
8+
- jianlinliu
9+
- jinyunma
10+
- gpei
11+
- mgahagan73
12+
- MayXuQQ
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"path": "cucushift/installer/rehearse/azure/ipi/marketplace/generation/provision/cucushift-installer-rehearse-azure-ipi-marketplace-generation-provision-chain.yaml",
3+
"owners": {
4+
"approvers": [
5+
"jianlinliu",
6+
"jinyunma",
7+
"gpei",
8+
"mgahagan73",
9+
"MayXuQQ"
10+
],
11+
"reviewers": [
12+
"jianlinliu",
13+
"jinyunma",
14+
"gpei",
15+
"mgahagan73",
16+
"MayXuQQ"
17+
]
18+
}
19+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
chain:
2+
as: cucushift-installer-rehearse-azure-ipi-marketplace-generation-provision
3+
steps:
4+
- chain: ipi-conf-azure
5+
- ref: ipi-conf-azure-osimage
6+
- ref: ipi-conf-azure-custom-region
7+
- chain: ipi-install
8+
- ref: enable-qe-catalogsource
9+
- chain: cucushift-installer-check
10+
- ref: cucushift-installer-check-azure-osimage
11+
documentation: |-
12+
Create an IPI cluster which workers are market-place image on Azure for QE e2e tests.
13+
All nodes are provisioned in specified region and intance type.
14+
This only supports in 4.11 and later version.
15+
Starting from 4.14, provision all nodes from marketplace image.

0 commit comments

Comments
 (0)
Please sign in to comment.