Skip to content

Commit 1eff5cf

Browse files
authored
Merge pull request #33806 from samuelbartels20/enable-postsumbit-jobs
enable postsubmit jobs
2 parents fa39f6b + 6ec8e87 commit 1eff5cf

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

config/jobs/etcd/etcd-postsubmits.yaml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
postsubmits:
23
etcd-io/etcd:
34
- name: post-etcd-build
@@ -23,3 +24,63 @@ postsubmits:
2324
limits:
2425
cpu: "4"
2526
memory: "4Gi"
27+
- name: post-etcd-verify
28+
cluster: eks-prow-build-cluster
29+
branches:
30+
- main
31+
decorate: true
32+
annotations:
33+
testgrid-dashboards: sig-etcd-postsubmits
34+
testgrid-tab-name: post-etcd-verify
35+
spec:
36+
containers:
37+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
38+
command:
39+
- /bin/bash
40+
args:
41+
- -c
42+
- |
43+
set -euo pipefail
44+
export PATH=$GOPATH/bin:$PATH && make verify
45+
export PATH=$GOPATH/bin:$PATH && make fix
46+
DIFF=$(git status --porcelain)
47+
if [ -n "$DIFF" ]; then
48+
echo "These files were modified:"
49+
echo
50+
echo "$DIFF"
51+
echo
52+
exit 1
53+
fi
54+
resources:
55+
requests:
56+
cpu: "4"
57+
memory: "4Gi"
58+
limits:
59+
cpu: "4"
60+
memory: "4Gi"
61+
62+
- name: post-etcd-govulncheck
63+
cluster: eks-prow-build-cluster
64+
branches:
65+
- main
66+
decorate: true
67+
annotations:
68+
testgrid-dashboards: sig-etcd-postsubmits
69+
testgrid-tab-name: post-etcd-govulncheck
70+
spec:
71+
containers:
72+
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
73+
command:
74+
- runner.sh
75+
args:
76+
- bash
77+
- -c
78+
- |
79+
export PATH=$GOPATH/bin:$PATH && make run-govulncheck
80+
resources:
81+
requests:
82+
cpu: "4"
83+
memory: "4Gi"
84+
limits:
85+
cpu: "4"
86+
memory: "4Gi"

0 commit comments

Comments
 (0)