Skip to content

Commit 9a598bc

Browse files
committed
feat(io): add periodic tests for sippy dashboard
This commit adds periodic tests that display test results on the Sippy dashboard. Signed-off-by: Ondrej Pokorny <[email protected]>
1 parent 01db437 commit 9a598bc

File tree

1 file changed

+115
-0
lines changed

1 file changed

+115
-0
lines changed
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
### Example of the test names that are valid for a given convention
2+
# periodic-ci-openshift-release-master-nightly-4.13-console-aws
3+
# periodic-ci-openshift-release-master-nightly-4.13-e2e-azure-ovn-etcd-scaling
4+
# periodic-ci-openshift-release-master-nightly-4.13-e2e-metal-ipi-serial-ovn-dualstack
5+
# periodic-ci-openshift-release-master-ci-4.13-e2e-gcp-sdn-techpreview-serial
6+
# periodic-ci-openshift-release-master-ci-4.13-upgrade-from-stable-4.12-e2e-azure-sdn-upgrade
7+
base_images:
8+
dev-scripts:
9+
name: test
10+
namespace: ocp-kni
11+
tag: dev-scripts
12+
hypershift-operator:
13+
name: hypershift-operator
14+
namespace: hypershift
15+
tag: latest
16+
insights-operator-tests:
17+
name: insights-operator-tests
18+
namespace: ci
19+
tag: "4.19"
20+
ocp_4.19_base-rhel9:
21+
name: "4.19"
22+
namespace: ocp
23+
tag: base-rhel9
24+
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
25+
name: builder
26+
namespace: ocp
27+
tag: rhel-9-golang-1.23-openshift-4.19
28+
build_root:
29+
from_repository: true
30+
images:
31+
- dockerfile_path: Dockerfile
32+
inputs:
33+
ocp_4.19_base-rhel9:
34+
as:
35+
- registry.ci.openshift.org/ocp/4.19:base-rhel9
36+
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
37+
as:
38+
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
39+
to: cluster-control-plane-machine-set-operator
40+
### This part is required to target the nightly builds as requested
41+
releases:
42+
arm64-latest:
43+
candidate:
44+
architecture: arm64
45+
product: ocp
46+
stream: nightly
47+
version: "4.19"
48+
latest:
49+
candidate:
50+
product: ocp
51+
stream: nightly
52+
version: "4.19"
53+
###
54+
resources:
55+
"*":
56+
# limits:
57+
# memory: 4Gi
58+
requests:
59+
cpu: 100m
60+
memory: 200Mi
61+
tests:
62+
## These are our periodic tests for the 4.19
63+
- as: e2e-gcp
64+
cron: 0 0 * * *
65+
steps:
66+
cluster_profile: gcp-3
67+
pre:
68+
- chain: ipi-gcp-pre
69+
- ref: insights-live
70+
test:
71+
- as: test
72+
cli: latest
73+
commands: |
74+
pytest.sh -k "not tp_only and not slow" --junitxml=$(pwd)/test-report.xml --rp_enabled --rp_name=Insights_operator_e2e_tests_periodic_4.19
75+
credentials:
76+
- collection: ""
77+
mount_path: /secrets
78+
name: insights-qa
79+
namespace: test-credentials
80+
- collection: ""
81+
mount_path: /secret/aws/aws-bucket
82+
name: aws-bucket
83+
namespace: test-credentials
84+
- collection: ""
85+
mount_path: /secret/aws/aws-access-key-id
86+
name: aws-access-key-id
87+
namespace: test-credentials
88+
- collection: ""
89+
mount_path: /secret/aws/aws-region
90+
name: aws-region
91+
namespace: test-credentials
92+
- collection: ""
93+
mount_path: /secret/aws/aws-secret-access-key
94+
name: aws-secret-access-key
95+
namespace: test-credentials
96+
- collection: ""
97+
mount_path: /secret/ocm-access/
98+
name: insights-ocm-token
99+
namespace: test-credentials
100+
env:
101+
- default: /secret/aws/aws-access-key-id/aws-access-key-id
102+
name: AWS_ACCESS_KEY_ID_PATH
103+
- default: /secret/aws/aws-bucket/aws-bucket
104+
name: AWS_BUCKET_PATH
105+
- default: /secret/aws/aws-region/aws-region
106+
name: AWS_REGION_PATH
107+
- default: /secret/aws/aws-secret-access-key/aws-secret-access-key
108+
name: AWS_SECRET_ACCESS_KEY_PATH
109+
from: insights-operator-tests
110+
grace_period: 30s
111+
resources:
112+
requests:
113+
cpu: 100m
114+
timeout: 3h0m0s
115+
workflow: ipi-gcp

0 commit comments

Comments
 (0)