-
Notifications
You must be signed in to change notification settings - Fork 2.7k
/
etcd-presubmits.yaml
116 lines (113 loc) · 2.76 KB
/
etcd-presubmits.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
presubmits:
etcd-io/etcd:
- name: pull-etcd-build
cluster: eks-prow-build-cluster
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-presubmits
testgrid-tab-name: pull-etcd-build
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
command:
- runner.sh
args:
- make
- build
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"
- name: pull-etcd-unit-test
cluster: eks-prow-build-cluster
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-presubmits
testgrid-tab-name: pull-etcd-unit-test
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
command:
- runner.sh
args:
- make
- test-unit
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"
- name: pull-etcd-verify
cluster: eks-prow-build-cluster
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-presubmits
testgrid-tab-name: pull-etcd-verify
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
command:
- /bin/bash
args:
- -c
- |
make verify
make fix
DIFF=$(git status --porcelain)
if [ -n "$DIFF" ]; then
echo "These files were modified:"
echo
echo "$DIFF"
echo
exit 1
fi
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"
- name: pull-etcd-e2e-amd64
cluster: eks-prow-build-cluster
optional: true # remove this once the job is green
always_run: true
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-presubmits
testgrid-tab-name: pull-etcd-e2e-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240409-13cd3acf7e-master
command:
- runner.sh
args:
- bash
- -c
- |
set -euo pipefail
make gofail-enable
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=4 EXPECT_DEBUG=true make test-e2e-release
resources:
requests:
cpu: "4"
memory: "8Gi"
limits:
cpu: "4"
memory: "8Gi"