Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etcd: enable prow postsubmit jobs #33804

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
107 changes: 84 additions & 23 deletions config/jobs/etcd/etcd-postsubmits.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,86 @@
postsubmits:
etcd-io/etcd:
- name: post-etcd-build
cluster: eks-prow-build-cluster
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-postsubmits
testgrid-tab-name: post-etcd-build
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
command:
- runner.sh
args:
- make
- build
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"
- name: post-etcd-build
cluster: eks-prow-build-cluster
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-postsubmits
testgrid-tab-name: post-etcd-build
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
command:
- runner.sh
args:
- make
- build
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"

- name: post-etcd-verify
cluster: eks-prow-build-cluster
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-postsubmits
testgrid-tab-name: post-etcd-verify
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
command:
- /bin/bash
args:
- -c
- |
set -euo pipefail
export PATH=$GOPATH/bin:$PATH && make verify
export PATH=$GOPATH/bin:$PATH && 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: post-etcd-govulncheck
cluster: eks-prow-build-cluster
branches:
- main
decorate: true
annotations:
testgrid-dashboards: sig-etcd-postsubmits
testgrid-tab-name: post-etcd-govulncheck
spec:
containers:
- image: us-central1-docker.pkg.dev/k8s-staging-test-infra/images/kubekins-e2e:v20241021-d3a4913879-master
command:
- runner.sh
args:
- bash
- -c
- |
export PATH=$GOPATH/bin:$PATH && make run-govulncheck
resources:
requests:
cpu: "4"
memory: "4Gi"
limits:
cpu: "4"
memory: "4Gi"