Skip to content

Commit 5418a9b

Browse files
committed
update periodics for aws-ebs-csi-driver
Update periodic tests to their respective files. Enable tests to be visible in Sippy.
1 parent 445e6f5 commit 5418a9b

8 files changed

+191
-101
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
slack_reporter:
2+
- channel: "#forum-ocp-storage"
3+
job_states_to_report:
4+
- failure
5+
- error
6+
report_template: |
7+
':red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>'
8+
job_names: # Listing of job names (ci-operator's 'as' field) that this configuration applies to
9+
- periodic-e2e-aws-csi-techpreview-volumeattributesclass

ci-operator/config/openshift/aws-ebs-csi-driver/openshift-aws-ebs-csi-driver-master.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,6 @@ tests:
8686
TEST_ARGS: --run=VolumeAttributesClass
8787
TEST_SUITE: all
8888
workflow: openshift-e2e-aws
89-
- as: periodic-e2e-aws-csi-techpreview-volumeattributesclass
90-
cron: '@daily'
91-
steps:
92-
cluster_profile: aws-2
93-
env:
94-
FEATURE_SET: TechPreviewNoUpgrade
95-
TEST_ARGS: --run=VolumeAttributesClass
96-
TEST_SUITE: all
97-
workflow: openshift-e2e-aws
9889
- as: verify-commits
9990
commands: |
10091
commitchecker --start ${PULL_BASE_SHA:-master}

ci-operator/config/openshift/aws-ebs-csi-driver/openshift-aws-ebs-csi-driver-release-4.19.yaml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,6 @@ tests:
8686
TEST_ARGS: --run=VolumeAttributesClass
8787
TEST_SUITE: all
8888
workflow: openshift-e2e-aws
89-
- as: periodic-e2e-aws-csi-techpreview-volumeattributesclass
90-
cron: '@daily'
91-
steps:
92-
cluster_profile: aws-2
93-
env:
94-
FEATURE_SET: TechPreviewNoUpgrade
95-
TEST_ARGS: --run=VolumeAttributesClass
96-
TEST_SUITE: all
97-
workflow: openshift-e2e-aws
9889
- as: verify-commits
9990
commands: |
10091
commitchecker --start ${PULL_BASE_SHA:-master}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
base_images:
2+
aws-ebs-csi-driver-test:
3+
name: "4.19"
4+
namespace: ocp
5+
tag: aws-ebs-csi-driver-test
6+
build_root:
7+
from_repository: true
8+
releases:
9+
initial:
10+
candidate:
11+
product: ocp
12+
stream: nightly
13+
version: "4.19"
14+
latest:
15+
candidate:
16+
product: ocp
17+
stream: nightly
18+
version: "4.19"
19+
resources:
20+
'*':
21+
limits:
22+
memory: 4Gi
23+
requests:
24+
cpu: 100m
25+
memory: 200Mi
26+
tests:
27+
- as: periodic-e2e-aws-csi-techpreview-volumeattributesclass
28+
cron: '@daily'
29+
steps:
30+
cluster_profile: aws-2
31+
env:
32+
FEATURE_SET: TechPreviewNoUpgrade
33+
TEST_ARGS: --run=VolumeAttributesClass
34+
TEST_SUITE: all
35+
workflow: openshift-e2e-aws
36+
zz_generated_metadata:
37+
branch: release-4.19
38+
org: openshift
39+
repo: aws-ebs-csi-driver
40+
variant: periodics
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
base_images:
2+
aws-ebs-csi-driver-test:
3+
name: "4.20"
4+
namespace: ocp
5+
tag: aws-ebs-csi-driver-test
6+
build_root:
7+
from_repository: true
8+
releases:
9+
initial:
10+
candidate:
11+
product: ocp
12+
stream: nightly
13+
version: "4.20"
14+
latest:
15+
candidate:
16+
product: ocp
17+
stream: nightly
18+
version: "4.20"
19+
resources:
20+
'*':
21+
limits:
22+
memory: 4Gi
23+
requests:
24+
cpu: 100m
25+
memory: 200Mi
26+
tests:
27+
- as: periodic-e2e-aws-csi-techpreview-volumeattributesclass
28+
cron: '@daily'
29+
steps:
30+
cluster_profile: aws-2
31+
env:
32+
FEATURE_SET: TechPreviewNoUpgrade
33+
TEST_ARGS: --run=VolumeAttributesClass
34+
TEST_SUITE: all
35+
workflow: openshift-e2e-aws
36+
zz_generated_metadata:
37+
branch: release-4.20
38+
org: openshift
39+
repo: aws-ebs-csi-driver
40+
variant: periodics

ci-operator/jobs/openshift/aws-ebs-csi-driver/openshift-aws-ebs-csi-driver-master-periodics.yaml

Lines changed: 0 additions & 80 deletions
This file was deleted.

ci-operator/jobs/openshift/aws-ebs-csi-driver/openshift-aws-ebs-csi-driver-release-4.19-periodics.yaml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,28 @@
11
periodics:
22
- agent: kubernetes
33
cluster: build01
4-
cron: 13 23 * * *
4+
cron: 18 22 * * *
55
decorate: true
66
extra_refs:
77
- base_ref: release-4.19
88
org: openshift
9-
path_alias: github.com/kubernetes-sigs/aws-ebs-csi-driver
109
repo: aws-ebs-csi-driver
1110
labels:
1211
ci-operator.openshift.io/cloud: aws
1312
ci-operator.openshift.io/cloud-cluster-profile: aws-2
13+
ci-operator.openshift.io/variant: periodics
1414
ci.openshift.io/generator: prowgen
15+
job-release: "4.19"
1516
pj-rehearse.openshift.io/can-be-rehearsed: "true"
16-
name: periodic-ci-openshift-aws-ebs-csi-driver-release-4.19-periodic-e2e-aws-csi-techpreview-volumeattributesclass
17+
name: periodic-ci-openshift-aws-ebs-csi-driver-release-4.19-periodics-periodic-e2e-aws-csi-techpreview-volumeattributesclass
18+
reporter_config:
19+
slack:
20+
channel: '#forum-ocp-storage'
21+
job_states_to_report:
22+
- failure
23+
- error
24+
report_template: |
25+
':red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>'
1726
spec:
1827
containers:
1928
- args:
@@ -23,6 +32,7 @@ periodics:
2332
- --report-credentials-file=/etc/report/credentials
2433
- --secret-dir=/secrets/ci-pull-credentials
2534
- --target=periodic-e2e-aws-csi-techpreview-volumeattributesclass
35+
- --variant=periodics
2636
command:
2737
- ci-operator
2838
image: ci-operator:latest

ci-operator/jobs/openshift/aws-ebs-csi-driver/openshift-aws-ebs-csi-driver-release-4.20-periodics.yaml

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ periodics:
1414
ci.openshift.io/generator: prowgen
1515
pj-rehearse.openshift.io/can-be-rehearsed: "true"
1616
name: periodic-ci-openshift-aws-ebs-csi-driver-release-4.20-periodic-e2e-aws-csi-techpreview-volumeattributesclass
17+
reporter_config:
18+
slack:
19+
channel: '#forum-ocp-storage'
20+
job_states_to_report:
21+
- failure
22+
- error
23+
report_template: |
24+
':red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>'
1725
spec:
1826
containers:
1927
- args:
@@ -70,3 +78,84 @@ periodics:
7078
- name: result-aggregator
7179
secret:
7280
secretName: result-aggregator
81+
- agent: kubernetes
82+
cluster: build01
83+
cron: 22 2 * * *
84+
decorate: true
85+
extra_refs:
86+
- base_ref: release-4.20
87+
org: openshift
88+
repo: aws-ebs-csi-driver
89+
labels:
90+
ci-operator.openshift.io/cloud: aws
91+
ci-operator.openshift.io/cloud-cluster-profile: aws-2
92+
ci-operator.openshift.io/variant: periodics
93+
ci.openshift.io/generator: prowgen
94+
job-release: "4.20"
95+
pj-rehearse.openshift.io/can-be-rehearsed: "true"
96+
name: periodic-ci-openshift-aws-ebs-csi-driver-release-4.20-periodics-periodic-e2e-aws-csi-techpreview-volumeattributesclass
97+
reporter_config:
98+
slack:
99+
channel: '#forum-ocp-storage'
100+
job_states_to_report:
101+
- failure
102+
- error
103+
report_template: |
104+
':red_jenkins_circle: Job *{{.Spec.Job}}* ended with *{{.Status.State}}*. <{{.Status.URL}}|View logs>'
105+
spec:
106+
containers:
107+
- args:
108+
- --gcs-upload-secret=/secrets/gcs/service-account.json
109+
- --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson
110+
- --lease-server-credentials-file=/etc/boskos/credentials
111+
- --report-credentials-file=/etc/report/credentials
112+
- --secret-dir=/secrets/ci-pull-credentials
113+
- --target=periodic-e2e-aws-csi-techpreview-volumeattributesclass
114+
- --variant=periodics
115+
command:
116+
- ci-operator
117+
image: ci-operator:latest
118+
imagePullPolicy: Always
119+
name: ""
120+
resources:
121+
requests:
122+
cpu: 10m
123+
volumeMounts:
124+
- mountPath: /etc/boskos
125+
name: boskos
126+
readOnly: true
127+
- mountPath: /secrets/ci-pull-credentials
128+
name: ci-pull-credentials
129+
readOnly: true
130+
- mountPath: /secrets/gcs
131+
name: gcs-credentials
132+
readOnly: true
133+
- mountPath: /secrets/manifest-tool
134+
name: manifest-tool-local-pusher
135+
readOnly: true
136+
- mountPath: /etc/pull-secret
137+
name: pull-secret
138+
readOnly: true
139+
- mountPath: /etc/report
140+
name: result-aggregator
141+
readOnly: true
142+
serviceAccountName: ci-operator
143+
volumes:
144+
- name: boskos
145+
secret:
146+
items:
147+
- key: credentials
148+
path: credentials
149+
secretName: boskos-credentials
150+
- name: ci-pull-credentials
151+
secret:
152+
secretName: ci-pull-credentials
153+
- name: manifest-tool-local-pusher
154+
secret:
155+
secretName: manifest-tool-local-pusher
156+
- name: pull-secret
157+
secret:
158+
secretName: registry-pull-credentials
159+
- name: result-aggregator
160+
secret:
161+
secretName: result-aggregator

0 commit comments

Comments
 (0)