Skip to content

Commit 832f23e

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 832f23e

File tree

1 file changed

+110
-0
lines changed

1 file changed

+110
-0
lines changed
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
base_images:
2+
dev-scripts:
3+
name: test
4+
namespace: ocp-kni
5+
tag: dev-scripts
6+
hypershift-operator:
7+
name: hypershift-operator
8+
namespace: hypershift
9+
tag: latest
10+
insights-operator-tests:
11+
name: insights-operator-tests
12+
namespace: ci
13+
tag: "4.19"
14+
ocp_4.19_base-rhel9:
15+
name: "4.19"
16+
namespace: ocp
17+
tag: base-rhel9
18+
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
19+
name: builder
20+
namespace: ocp
21+
tag: rhel-9-golang-1.23-openshift-4.19
22+
build_root:
23+
from_repository: true
24+
images:
25+
- dockerfile_path: Dockerfile
26+
inputs:
27+
ocp_4.19_base-rhel9:
28+
as:
29+
- registry.ci.openshift.org/ocp/4.19:base-rhel9
30+
ocp_builder_rhel-9-golang-1.23-openshift-4.19:
31+
as:
32+
- registry.ci.openshift.org/ocp/builder:rhel-9-golang-1.23-openshift-4.19
33+
to: insights-operator
34+
releases:
35+
arm64-latest:
36+
candidate:
37+
architecture: arm64
38+
product: ocp
39+
stream: nightly
40+
version: "4.19"
41+
latest:
42+
candidate:
43+
product: ocp
44+
stream: nightly
45+
version: "4.19"
46+
resources:
47+
"*":
48+
# limits:
49+
# memory: 4Gi
50+
requests:
51+
cpu: 100m
52+
memory: 200Mi
53+
tests:
54+
- as: e2e-gcp
55+
cron: 0 0 * * *
56+
steps:
57+
cluster_profile: gcp-3
58+
pre:
59+
- chain: ipi-gcp-pre
60+
- ref: insights-live
61+
test:
62+
- as: test
63+
cli: latest
64+
commands: |
65+
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
66+
credentials:
67+
- collection: ""
68+
mount_path: /secrets
69+
name: insights-qa
70+
namespace: test-credentials
71+
- collection: ""
72+
mount_path: /secret/aws/aws-bucket
73+
name: aws-bucket
74+
namespace: test-credentials
75+
- collection: ""
76+
mount_path: /secret/aws/aws-access-key-id
77+
name: aws-access-key-id
78+
namespace: test-credentials
79+
- collection: ""
80+
mount_path: /secret/aws/aws-region
81+
name: aws-region
82+
namespace: test-credentials
83+
- collection: ""
84+
mount_path: /secret/aws/aws-secret-access-key
85+
name: aws-secret-access-key
86+
namespace: test-credentials
87+
- collection: ""
88+
mount_path: /secret/ocm-access/
89+
name: insights-ocm-token
90+
namespace: test-credentials
91+
env:
92+
- default: /secret/aws/aws-access-key-id/aws-access-key-id
93+
name: AWS_ACCESS_KEY_ID_PATH
94+
- default: /secret/aws/aws-bucket/aws-bucket
95+
name: AWS_BUCKET_PATH
96+
- default: /secret/aws/aws-region/aws-region
97+
name: AWS_REGION_PATH
98+
- default: /secret/aws/aws-secret-access-key/aws-secret-access-key
99+
name: AWS_SECRET_ACCESS_KEY_PATH
100+
from: insights-operator-tests
101+
grace_period: 30s
102+
resources:
103+
requests:
104+
cpu: 100m
105+
timeout: 3h0m0s
106+
workflow: ipi-gcp
107+
zz_generated_metadata:
108+
branch: release-4.19
109+
org: openshift
110+
repo: insights-operator

0 commit comments

Comments
 (0)