Skip to content

Commit dc64d2f

Browse files
shakyavvshakya
and
vshakya
authored
ocp 4.19 expansion (#62448)
Co-authored-by: vshakya <vshakya@vshakya-thinkpadt14gen4.remote.csb>
1 parent 1550213 commit dc64d2f

File tree

3 files changed

+386
-0
lines changed

3 files changed

+386
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,135 @@
1+
base_images:
2+
cli:
3+
name: "4.19"
4+
namespace: ocp
5+
tag: cli
6+
mtc-python-client:
7+
name: mtc-python-client
8+
namespace: mtc-qe
9+
tag: master
10+
oadp-apps-deployer:
11+
name: oadp-apps-deployer
12+
namespace: oadp-qe
13+
tag: master
14+
oadp-e2e-qe:
15+
name: oadp-e2e-qe
16+
namespace: oadp-qe
17+
tag: master
18+
build_root:
19+
image_stream_tag:
20+
name: release
21+
namespace: openshift
22+
tag: golang-1.20
23+
images:
24+
- context_dir: .
25+
dockerfile_path: dockerfiles/testing/interop/Dockerfile
26+
inputs:
27+
mtc-python-client:
28+
paths:
29+
- destination_dir: mtc-python-client.tar.gz
30+
source_path: /mtc-python-client.tar.gz
31+
oadp-apps-deployer:
32+
paths:
33+
- destination_dir: oadp-apps-deployer.tar.gz
34+
source_path: /oadp-apps-deployer.tar.gz
35+
oadp-e2e-qe:
36+
paths:
37+
- destination_dir: oadp-e2e-qe.tar.gz
38+
source_path: /oadp-e2e-qe.tar.gz
39+
to: oadp-runner
40+
releases:
41+
latest:
42+
candidate:
43+
product: ocp
44+
stream: nightly
45+
version: "4.19"
46+
resources:
47+
'*':
48+
requests:
49+
cpu: 100m
50+
memory: 200Mi
51+
tests:
52+
- as: oadp-interop-aws
53+
cron: 0 23 31 2 *
54+
steps:
55+
cluster_profile: aws-cspi-qe
56+
env:
57+
BASE_DOMAIN: cspilp.interop.ccitredhat.com
58+
COMPUTE_NODE_TYPE: c5n.metal
59+
EXECUTE_KUBEVIRT_TESTS: "true"
60+
FIREWATCH_CONFIG: |
61+
{
62+
"failure_rules":
63+
[
64+
{"step": "interop-tests-deploy-*", "failure_type": "all", "classification": "CNV Install Failure", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
65+
{"step": "oadp-s3-*", "failure_type": "all", "classification": "Infrastructure Provisioning - S3 Buckets", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
66+
{"step": "oadp-execute-tests", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 3}, "jira_additional_labels": ["!default","interop-tests"]},
67+
{"step": "oadp-execute-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "OADP", "group": {"name": "lp-tests", "priority": 3}, "jira_additional_labels": ["!default","interop-tests"]}
68+
]
69+
}
70+
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json
71+
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.19-lp","self-managed-lp","oadp-lp"]'
72+
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: talayan@redhat.com
73+
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
74+
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
75+
ODF_OPERATOR_CHANNEL: stable-4.15
76+
ODF_STORAGE_CLUSTER_NAME: odf-operator
77+
ODF_VERSION_MAJOR_MINOR: "4.15"
78+
OPERATORS: |
79+
[
80+
{"name": "redhat-oadp-operator", "source": "redhat-operators", "channel": "stable-1.4", "install_namespace": "openshift-adp", "target_namespaces": "openshift-adp", "operator_group":"oadp-operator-group"}
81+
]
82+
RE_TRIGGER_ON_FAILURE: "false"
83+
USER_TAGS: |
84+
scenario oadp
85+
test:
86+
- ref: install-operators
87+
- ref: interop-tests-deploy-cnv
88+
- ref: interop-tests-deploy-odf
89+
- ref: oadp-execute-tests
90+
workflow: oadp-ipi-aws
91+
- as: oadp-interop-aws-fips
92+
cron: 0 23 31 2 *
93+
steps:
94+
cluster_profile: aws-cspi-qe
95+
env:
96+
BASE_DOMAIN: cspilp.interop.ccitredhat.com
97+
COMPUTE_NODE_TYPE: c5n.metal
98+
EXECUTE_KUBEVIRT_TESTS: "true"
99+
FIPS_ENABLED: "true"
100+
FIREWATCH_CONFIG: |
101+
{
102+
"failure_rules":
103+
[
104+
{"step": "interop-tests-deploy-*", "failure_type": "all", "classification": "CNV Install Failure", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
105+
{"step": "oadp-s3-*", "failure_type": "all", "classification": "Infrastructure Provisioning - S3 Buckets", "group": {"name": "lp-tests", "priority": 2}, "jira_additional_labels": ["!default","interop-tests"]},
106+
{"step": "oadp-execute-tests", "failure_type": "pod_failure", "classification": "Test Execution", "group": {"name": "lp-tests", "priority": 3}, "jira_additional_labels": ["!default","interop-tests"]},
107+
{"step": "oadp-execute-tests", "failure_type": "test_failure", "classification": "Test Failure", "jira_project": "OADP", "group": {"name": "lp-tests", "priority": 3}, "jira_additional_labels": ["!default","interop-tests"]}
108+
]
109+
}
110+
FIREWATCH_CONFIG_FILE_PATH: https://raw.githubusercontent.com/CSPI-QE/cspi-utils/main/firewatch-base-configs/aws-ipi/lp-interop.json
111+
FIREWATCH_DEFAULT_JIRA_ADDITIONAL_LABELS: '["4.19-lp","self-managed-lp","fips","oadp-lp"]'
112+
FIREWATCH_DEFAULT_JIRA_ASSIGNEE: talayan@redhat.com
113+
FIREWATCH_DEFAULT_JIRA_PROJECT: LPINTEROP
114+
FIREWATCH_FAIL_WITH_TEST_FAILURES: "true"
115+
ODF_OPERATOR_CHANNEL: stable-4.15
116+
ODF_STORAGE_CLUSTER_NAME: odf-operator
117+
ODF_VERSION_MAJOR_MINOR: "4.15"
118+
OPERATORS: |
119+
[
120+
{"name": "redhat-oadp-operator", "source": "redhat-operators", "channel": "stable-1.4", "install_namespace": "openshift-adp", "target_namespaces": "openshift-adp", "operator_group":"oadp-operator-group"}
121+
]
122+
RE_TRIGGER_ON_FAILURE: "false"
123+
USER_TAGS: |
124+
scenario oadp
125+
test:
126+
- ref: install-operators
127+
- ref: interop-tests-deploy-cnv
128+
- ref: interop-tests-deploy-odf
129+
- ref: oadp-execute-tests
130+
workflow: oadp-ipi-aws
131+
zz_generated_metadata:
132+
branch: main
133+
org: oadp-qe
134+
repo: oadp-qe-automation
135+
variant: oadp1.4-ocp4.19-lp-interop

ci-operator/jobs/oadp-qe/oadp-qe-automation/oadp-qe-oadp-qe-automation-main-periodics.yaml

+186
Original file line numberDiff line numberDiff line change
@@ -1555,3 +1555,189 @@ periodics:
15551555
- name: result-aggregator
15561556
secret:
15571557
secretName: result-aggregator
1558+
- agent: kubernetes
1559+
cluster: build07
1560+
cron: 0 23 31 2 *
1561+
decorate: true
1562+
decoration_config:
1563+
skip_cloning: true
1564+
extra_refs:
1565+
- base_ref: main
1566+
org: oadp-qe
1567+
repo: oadp-qe-automation
1568+
labels:
1569+
ci-operator.openshift.io/cloud: aws
1570+
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
1571+
ci-operator.openshift.io/variant: oadp1.4-ocp4.19-lp-interop
1572+
ci.openshift.io/generator: prowgen
1573+
job-release: "4.19"
1574+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1575+
name: periodic-ci-oadp-qe-oadp-qe-automation-main-oadp1.4-ocp4.19-lp-interop-oadp-interop-aws
1576+
reporter_config:
1577+
slack:
1578+
channel: '#oadp-qe'
1579+
job_states_to_report:
1580+
- success
1581+
- failure
1582+
- error
1583+
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
1584+
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
1585+
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
1586+
logs> {{end}}'
1587+
spec:
1588+
containers:
1589+
- args:
1590+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1591+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1592+
- --lease-server-credentials-file=/etc/boskos/credentials
1593+
- --oauth-token-path=/usr/local/github-credentials/oauth
1594+
- --report-credentials-file=/etc/report/credentials
1595+
- --secret-dir=/secrets/ci-pull-credentials
1596+
- --target=oadp-interop-aws
1597+
- --variant=oadp1.4-ocp4.19-lp-interop
1598+
command:
1599+
- ci-operator
1600+
image: ci-operator:latest
1601+
imagePullPolicy: Always
1602+
name: ""
1603+
resources:
1604+
requests:
1605+
cpu: 10m
1606+
volumeMounts:
1607+
- mountPath: /etc/boskos
1608+
name: boskos
1609+
readOnly: true
1610+
- mountPath: /secrets/ci-pull-credentials
1611+
name: ci-pull-credentials
1612+
readOnly: true
1613+
- mountPath: /secrets/gcs
1614+
name: gcs-credentials
1615+
readOnly: true
1616+
- mountPath: /usr/local/github-credentials
1617+
name: github-credentials-openshift-ci-robot-private-git-cloner
1618+
readOnly: true
1619+
- mountPath: /secrets/manifest-tool
1620+
name: manifest-tool-local-pusher
1621+
readOnly: true
1622+
- mountPath: /etc/pull-secret
1623+
name: pull-secret
1624+
readOnly: true
1625+
- mountPath: /etc/report
1626+
name: result-aggregator
1627+
readOnly: true
1628+
serviceAccountName: ci-operator
1629+
volumes:
1630+
- name: boskos
1631+
secret:
1632+
items:
1633+
- key: credentials
1634+
path: credentials
1635+
secretName: boskos-credentials
1636+
- name: ci-pull-credentials
1637+
secret:
1638+
secretName: ci-pull-credentials
1639+
- name: github-credentials-openshift-ci-robot-private-git-cloner
1640+
secret:
1641+
secretName: github-credentials-openshift-ci-robot-private-git-cloner
1642+
- name: manifest-tool-local-pusher
1643+
secret:
1644+
secretName: manifest-tool-local-pusher
1645+
- name: pull-secret
1646+
secret:
1647+
secretName: registry-pull-credentials
1648+
- name: result-aggregator
1649+
secret:
1650+
secretName: result-aggregator
1651+
- agent: kubernetes
1652+
cluster: build07
1653+
cron: 0 23 31 2 *
1654+
decorate: true
1655+
decoration_config:
1656+
skip_cloning: true
1657+
extra_refs:
1658+
- base_ref: main
1659+
org: oadp-qe
1660+
repo: oadp-qe-automation
1661+
labels:
1662+
ci-operator.openshift.io/cloud: aws
1663+
ci-operator.openshift.io/cloud-cluster-profile: aws-cspi-qe
1664+
ci-operator.openshift.io/variant: oadp1.4-ocp4.19-lp-interop
1665+
ci.openshift.io/generator: prowgen
1666+
job-release: "4.19"
1667+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1668+
name: periodic-ci-oadp-qe-oadp-qe-automation-main-oadp1.4-ocp4.19-lp-interop-oadp-interop-aws-fips
1669+
reporter_config:
1670+
slack:
1671+
channel: '#oadp-qe'
1672+
job_states_to_report:
1673+
- success
1674+
- failure
1675+
- error
1676+
report_template: '{{if eq .Status.State "success"}} :slack-green: Job *{{.Spec.Job}}*
1677+
ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs> {{else}} :failed:
1678+
Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View
1679+
logs> {{end}}'
1680+
spec:
1681+
containers:
1682+
- args:
1683+
- --gcs-upload-secret=/secrets/gcs/service-account.json
1684+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
1685+
- --lease-server-credentials-file=/etc/boskos/credentials
1686+
- --oauth-token-path=/usr/local/github-credentials/oauth
1687+
- --report-credentials-file=/etc/report/credentials
1688+
- --secret-dir=/secrets/ci-pull-credentials
1689+
- --target=oadp-interop-aws-fips
1690+
- --variant=oadp1.4-ocp4.19-lp-interop
1691+
command:
1692+
- ci-operator
1693+
image: ci-operator:latest
1694+
imagePullPolicy: Always
1695+
name: ""
1696+
resources:
1697+
requests:
1698+
cpu: 10m
1699+
volumeMounts:
1700+
- mountPath: /etc/boskos
1701+
name: boskos
1702+
readOnly: true
1703+
- mountPath: /secrets/ci-pull-credentials
1704+
name: ci-pull-credentials
1705+
readOnly: true
1706+
- mountPath: /secrets/gcs
1707+
name: gcs-credentials
1708+
readOnly: true
1709+
- mountPath: /usr/local/github-credentials
1710+
name: github-credentials-openshift-ci-robot-private-git-cloner
1711+
readOnly: true
1712+
- mountPath: /secrets/manifest-tool
1713+
name: manifest-tool-local-pusher
1714+
readOnly: true
1715+
- mountPath: /etc/pull-secret
1716+
name: pull-secret
1717+
readOnly: true
1718+
- mountPath: /etc/report
1719+
name: result-aggregator
1720+
readOnly: true
1721+
serviceAccountName: ci-operator
1722+
volumes:
1723+
- name: boskos
1724+
secret:
1725+
items:
1726+
- key: credentials
1727+
path: credentials
1728+
secretName: boskos-credentials
1729+
- name: ci-pull-credentials
1730+
secret:
1731+
secretName: ci-pull-credentials
1732+
- name: github-credentials-openshift-ci-robot-private-git-cloner
1733+
secret:
1734+
secretName: github-credentials-openshift-ci-robot-private-git-cloner
1735+
- name: manifest-tool-local-pusher
1736+
secret:
1737+
secretName: manifest-tool-local-pusher
1738+
- name: pull-secret
1739+
secret:
1740+
secretName: registry-pull-credentials
1741+
- name: result-aggregator
1742+
secret:
1743+
secretName: result-aggregator

ci-operator/jobs/oadp-qe/oadp-qe-automation/oadp-qe-oadp-qe-automation-main-presubmits.yaml

+65
Original file line numberDiff line numberDiff line change
@@ -710,3 +710,68 @@ presubmits:
710710
secret:
711711
secretName: result-aggregator
712712
trigger: (?m)^/test( | .* )oadp1.4-ocp4.18-lp-interop-images,?($|\s.*)
713+
- agent: kubernetes
714+
always_run: true
715+
branches:
716+
- ^main$
717+
- ^main-
718+
cluster: build05
719+
context: ci/prow/oadp1.4-ocp4.19-lp-interop-images
720+
decorate: true
721+
decoration_config:
722+
skip_cloning: true
723+
labels:
724+
ci-operator.openshift.io/variant: oadp1.4-ocp4.19-lp-interop
725+
ci.openshift.io/generator: prowgen
726+
job-release: "4.19"
727+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
728+
name: pull-ci-oadp-qe-oadp-qe-automation-main-oadp1.4-ocp4.19-lp-interop-images
729+
rerun_command: /test oadp1.4-ocp4.19-lp-interop-images
730+
spec:
731+
containers:
732+
- args:
733+
- --gcs-upload-secret=/secrets/gcs/service-account.json
734+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
735+
- --oauth-token-path=/usr/local/github-credentials/oauth
736+
- --report-credentials-file=/etc/report/credentials
737+
- --target=[images]
738+
- --variant=oadp1.4-ocp4.19-lp-interop
739+
command:
740+
- ci-operator
741+
image: ci-operator:latest
742+
imagePullPolicy: Always
743+
name: ""
744+
resources:
745+
requests:
746+
cpu: 10m
747+
volumeMounts:
748+
- mountPath: /secrets/gcs
749+
name: gcs-credentials
750+
readOnly: true
751+
- mountPath: /usr/local/github-credentials
752+
name: github-credentials-openshift-ci-robot-private-git-cloner
753+
readOnly: true
754+
- mountPath: /secrets/manifest-tool
755+
name: manifest-tool-local-pusher
756+
readOnly: true
757+
- mountPath: /etc/pull-secret
758+
name: pull-secret
759+
readOnly: true
760+
- mountPath: /etc/report
761+
name: result-aggregator
762+
readOnly: true
763+
serviceAccountName: ci-operator
764+
volumes:
765+
- name: github-credentials-openshift-ci-robot-private-git-cloner
766+
secret:
767+
secretName: github-credentials-openshift-ci-robot-private-git-cloner
768+
- name: manifest-tool-local-pusher
769+
secret:
770+
secretName: manifest-tool-local-pusher
771+
- name: pull-secret
772+
secret:
773+
secretName: registry-pull-credentials
774+
- name: result-aggregator
775+
secret:
776+
secretName: result-aggregator
777+
trigger: (?m)^/test( | .* )oadp1.4-ocp4.19-lp-interop-images,?($|\s.*)

0 commit comments

Comments
 (0)