Skip to content

Commit 6c0e128

Browse files
authored
Merge pull request #33874 from Nordix/lentzi90/capo-release-periodics
CAPO: Add periodics for release branches
2 parents 9d58738 + 99aba85 commit 6c0e128

File tree

3 files changed

+345
-0
lines changed

3 files changed

+345
-0
lines changed
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
periodics:
2+
- name: periodic-cluster-api-provider-openstack-e2e-test-release-0-10
3+
cluster: k8s-infra-prow-build
4+
labels:
5+
preset-service-account: "true"
6+
preset-dind-enabled: "true"
7+
preset-kind-volume-mounts: "true"
8+
decorate: true
9+
decoration_config:
10+
timeout: 5h
11+
interval: 12h
12+
extra_refs:
13+
- org: kubernetes-sigs
14+
repo: cluster-api-provider-openstack
15+
base_ref: release-0.10
16+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
17+
max_concurrency: 1
18+
spec:
19+
containers:
20+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
21+
env:
22+
- name: "BOSKOS_HOST"
23+
value: "boskos.test-pods.svc.cluster.local"
24+
- name: E2E_GINKGO_FOCUS
25+
value: "\\[PR-Blocking\\]"
26+
command:
27+
- "runner.sh"
28+
- "./scripts/ci-e2e.sh"
29+
# we need privileged mode in order to do docker in docker
30+
securityContext:
31+
privileged: true
32+
resources:
33+
requests:
34+
# these are both a bit below peak usage during build
35+
# this is mostly for building kubernetes
36+
memory: "3Gi"
37+
# during the tests more like 3-20m is used
38+
cpu: 2000m
39+
limits:
40+
memory: "3Gi"
41+
cpu: 2000m
42+
annotations:
43+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
44+
testgrid-tab-name: periodic-e2e-test-release-0.10
45+
testgrid-alert-email: [email protected]
46+
testgrid-num-failures-to-alert: "2"
47+
testgrid-alert-stale-results-hours: "48"
48+
reporter_config:
49+
slack:
50+
channel: "cluster-api-openstack"
51+
job_states_to_report:
52+
- failure
53+
- aborted
54+
- error
55+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'
56+
- name: periodic-cluster-api-provider-openstack-e2e-full-test-release-0-10
57+
cluster: k8s-infra-prow-build
58+
labels:
59+
preset-service-account: "true"
60+
preset-dind-enabled: "true"
61+
preset-kind-volume-mounts: "true"
62+
decorate: true
63+
decoration_config:
64+
timeout: 5h
65+
interval: 12h
66+
extra_refs:
67+
- org: kubernetes-sigs
68+
repo: cluster-api-provider-openstack
69+
base_ref: release-0.10
70+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
71+
spec:
72+
containers:
73+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
74+
env:
75+
- name: "BOSKOS_HOST"
76+
value: "boskos.test-pods.svc.cluster.local"
77+
# The PR-Blocking tests are run in periodic-cluster-api-provider-openstack-e2e-test
78+
# so we skip them here and run only the rest.
79+
- name: E2E_GINKGO_SKIP
80+
value: "\\[PR-Blocking\\]"
81+
# These tests can use more than 2 machines per cluster and even 2 clusters
82+
# per test for clusterctl upgrade tests, so we limit the parallel jobs
83+
# to avoid capacity issues.
84+
- name: E2E_GINKGO_PARALLEL
85+
value: "1"
86+
command:
87+
- "runner.sh"
88+
- "./scripts/ci-e2e.sh"
89+
# we need privileged mode in order to do docker in docker
90+
securityContext:
91+
privileged: true
92+
resources:
93+
requests:
94+
# these are both a bit below peak usage during build
95+
# this is mostly for building kubernetes
96+
memory: "3Gi"
97+
# during the tests more like 3-20m is used
98+
cpu: 2000m
99+
limits:
100+
memory: "3Gi"
101+
cpu: 2000m
102+
annotations:
103+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
104+
testgrid-tab-name: periodic-e2e-full-test-release-0.10
105+
testgrid-alert-email: [email protected]
106+
testgrid-num-failures-to-alert: "2"
107+
testgrid-alert-stale-results-hours: "48"
108+
reporter_config:
109+
slack:
110+
channel: "cluster-api-openstack"
111+
job_states_to_report:
112+
- failure
113+
- aborted
114+
- error
115+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
periodics:
2+
- name: periodic-cluster-api-provider-openstack-e2e-test-release-0-11
3+
cluster: k8s-infra-prow-build
4+
labels:
5+
preset-service-account: "true"
6+
preset-dind-enabled: "true"
7+
preset-kind-volume-mounts: "true"
8+
decorate: true
9+
decoration_config:
10+
timeout: 5h
11+
interval: 12h
12+
extra_refs:
13+
- org: kubernetes-sigs
14+
repo: cluster-api-provider-openstack
15+
base_ref: release-0.11
16+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
17+
max_concurrency: 1
18+
spec:
19+
containers:
20+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
21+
env:
22+
- name: "BOSKOS_HOST"
23+
value: "boskos.test-pods.svc.cluster.local"
24+
- name: E2E_GINKGO_FOCUS
25+
value: "\\[PR-Blocking\\]"
26+
command:
27+
- "runner.sh"
28+
- "./scripts/ci-e2e.sh"
29+
# we need privileged mode in order to do docker in docker
30+
securityContext:
31+
privileged: true
32+
resources:
33+
requests:
34+
# these are both a bit below peak usage during build
35+
# this is mostly for building kubernetes
36+
memory: "3Gi"
37+
# during the tests more like 3-20m is used
38+
cpu: 2000m
39+
limits:
40+
memory: "3Gi"
41+
cpu: 2000m
42+
annotations:
43+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
44+
testgrid-tab-name: periodic-e2e-test-release-0.11
45+
testgrid-alert-email: [email protected]
46+
testgrid-num-failures-to-alert: "2"
47+
testgrid-alert-stale-results-hours: "48"
48+
reporter_config:
49+
slack:
50+
channel: "cluster-api-openstack"
51+
job_states_to_report:
52+
- failure
53+
- aborted
54+
- error
55+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'
56+
- name: periodic-cluster-api-provider-openstack-e2e-full-test-release-0-11
57+
cluster: k8s-infra-prow-build
58+
labels:
59+
preset-service-account: "true"
60+
preset-dind-enabled: "true"
61+
preset-kind-volume-mounts: "true"
62+
decorate: true
63+
decoration_config:
64+
timeout: 5h
65+
interval: 12h
66+
extra_refs:
67+
- org: kubernetes-sigs
68+
repo: cluster-api-provider-openstack
69+
base_ref: release-0.11
70+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
71+
spec:
72+
containers:
73+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
74+
env:
75+
- name: "BOSKOS_HOST"
76+
value: "boskos.test-pods.svc.cluster.local"
77+
# The PR-Blocking tests are run in periodic-cluster-api-provider-openstack-e2e-test
78+
# so we skip them here and run only the rest.
79+
- name: E2E_GINKGO_SKIP
80+
value: "\\[PR-Blocking\\]"
81+
# These tests can use more than 2 machines per cluster and even 2 clusters
82+
# per test for clusterctl upgrade tests, so we limit the parallel jobs
83+
# to avoid capacity issues.
84+
- name: E2E_GINKGO_PARALLEL
85+
value: "1"
86+
command:
87+
- "runner.sh"
88+
- "./scripts/ci-e2e.sh"
89+
# we need privileged mode in order to do docker in docker
90+
securityContext:
91+
privileged: true
92+
resources:
93+
requests:
94+
# these are both a bit below peak usage during build
95+
# this is mostly for building kubernetes
96+
memory: "3Gi"
97+
# during the tests more like 3-20m is used
98+
cpu: 2000m
99+
limits:
100+
memory: "3Gi"
101+
cpu: 2000m
102+
annotations:
103+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
104+
testgrid-tab-name: periodic-e2e-full-test-release-0.11
105+
testgrid-alert-email: [email protected]
106+
testgrid-num-failures-to-alert: "2"
107+
testgrid-alert-stale-results-hours: "48"
108+
reporter_config:
109+
slack:
110+
channel: "cluster-api-openstack"
111+
job_states_to_report:
112+
- failure
113+
- aborted
114+
- error
115+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'
Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
periodics:
2+
- name: periodic-cluster-api-provider-openstack-e2e-test-release-0-9
3+
cluster: k8s-infra-prow-build
4+
labels:
5+
preset-service-account: "true"
6+
preset-dind-enabled: "true"
7+
preset-kind-volume-mounts: "true"
8+
decorate: true
9+
decoration_config:
10+
timeout: 5h
11+
interval: 12h
12+
extra_refs:
13+
- org: kubernetes-sigs
14+
repo: cluster-api-provider-openstack
15+
base_ref: release-0.9
16+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
17+
max_concurrency: 1
18+
spec:
19+
containers:
20+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
21+
env:
22+
- name: "BOSKOS_HOST"
23+
value: "boskos.test-pods.svc.cluster.local"
24+
- name: E2E_GINKGO_FOCUS
25+
value: "\\[PR-Blocking\\]"
26+
command:
27+
- "runner.sh"
28+
- "./scripts/ci-e2e.sh"
29+
# we need privileged mode in order to do docker in docker
30+
securityContext:
31+
privileged: true
32+
resources:
33+
requests:
34+
# these are both a bit below peak usage during build
35+
# this is mostly for building kubernetes
36+
memory: "3Gi"
37+
# during the tests more like 3-20m is used
38+
cpu: 2000m
39+
limits:
40+
memory: "3Gi"
41+
cpu: 2000m
42+
annotations:
43+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
44+
testgrid-tab-name: periodic-e2e-test-release-0.9
45+
testgrid-alert-email: [email protected]
46+
testgrid-num-failures-to-alert: "2"
47+
testgrid-alert-stale-results-hours: "48"
48+
reporter_config:
49+
slack:
50+
channel: "cluster-api-openstack"
51+
job_states_to_report:
52+
- failure
53+
- aborted
54+
- error
55+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'
56+
- name: periodic-cluster-api-provider-openstack-e2e-full-test-release-0-9
57+
cluster: k8s-infra-prow-build
58+
labels:
59+
preset-service-account: "true"
60+
preset-dind-enabled: "true"
61+
preset-kind-volume-mounts: "true"
62+
decorate: true
63+
decoration_config:
64+
timeout: 5h
65+
interval: 12h
66+
extra_refs:
67+
- org: kubernetes-sigs
68+
repo: cluster-api-provider-openstack
69+
base_ref: release-0.9
70+
path_alias: "sigs.k8s.io/cluster-api-provider-openstack"
71+
spec:
72+
containers:
73+
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240725-1d8ea3e909-master
74+
env:
75+
- name: "BOSKOS_HOST"
76+
value: "boskos.test-pods.svc.cluster.local"
77+
# The PR-Blocking tests are run in periodic-cluster-api-provider-openstack-e2e-test
78+
# so we skip them here and run only the rest.
79+
- name: E2E_GINKGO_SKIP
80+
value: "\\[PR-Blocking\\]"
81+
# These tests can use more than 2 machines per cluster and even 2 clusters
82+
# per test for clusterctl upgrade tests, so we limit the parallel jobs
83+
# to avoid capacity issues.
84+
- name: E2E_GINKGO_PARALLEL
85+
value: "1"
86+
command:
87+
- "runner.sh"
88+
- "./scripts/ci-e2e.sh"
89+
# we need privileged mode in order to do docker in docker
90+
securityContext:
91+
privileged: true
92+
resources:
93+
requests:
94+
# these are both a bit below peak usage during build
95+
# this is mostly for building kubernetes
96+
memory: "3Gi"
97+
# during the tests more like 3-20m is used
98+
cpu: 2000m
99+
limits:
100+
memory: "3Gi"
101+
cpu: 2000m
102+
annotations:
103+
testgrid-dashboards: sig-cluster-lifecycle-cluster-api-provider-openstack
104+
testgrid-tab-name: periodic-e2e-full-test-release-0.9
105+
testgrid-alert-email: [email protected]
106+
testgrid-num-failures-to-alert: "2"
107+
testgrid-alert-stale-results-hours: "48"
108+
reporter_config:
109+
slack:
110+
channel: "cluster-api-openstack"
111+
job_states_to_report:
112+
- failure
113+
- aborted
114+
- error
115+
report_template: ':alert: Failed periodic job: {{.Status.State}}. <{{.Status.URL}}|Spyglass> | <https://testgrid.k8s.io/sig-cluster-lifecycle-cluster-api-provider-openstack|Testgrid> | <https://prow.k8s.io/?job={{.Spec.Job}}|Deck>'

0 commit comments

Comments
 (0)