Skip to content

Commit

Permalink
Add etcd robustness presubmit job
Browse files Browse the repository at this point in the history
This commit will migrate etcd robustness presubmit
github action to presubmit prowjob for main branch.

Signed-off-by: ArkaSaha30 <[email protected]>
  • Loading branch information
ArkaSaha30 committed Jun 11, 2024
1 parent 915d331 commit 7e7ce37
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions config/jobs/etcd/etcd-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,3 +236,44 @@ presubmits:
limits:
cpu: "4"
memory: "8Gi"

- name: pull-etcd-robustness-amd64
cluster: k8s-infra-prow-build
optional: true # remove this once the job is green
always_run: true
branches:
- main
decorate: true
decoration_config:
timeout: 60m
annotations:
testgrid-dashboards: sig-etcd-robustness
testgrid-tab-name: pull-etcd-robustness-amd64
spec:
containers:
- image: gcr.io/k8s-staging-test-infra/kubekins-e2e:v20240515-17c6d50e24-master
command:
- runner.sh
args:
- bash
- -c
- |
return_code=0
apt-get -o APT::Update::Error-Mode=any update && apt-get --yes install cmake libfuse3-dev libfuse3-3 fuse3
sed -i 's/#user_allow_other/user_allow_other/g' /etc/fuse.conf
make install-lazyfs
set -euo pipefail
go clean -testcache
GO_TEST_FLAGS="-v --count 12 --timeout '30m' --run TestRobustness"
VERBOSE=1 GOOS=linux GOARCH=amd64 CPU=8 EXPECT_DEBUG=true GO_TEST_FLAGS=${GO_TEST_FLAGS} RESULTS_DIR=/tmp/results make test-robustness-main || return_code=$?
if [ -d /tmp/results ]; then
zip -r ${ARTIFACTS}/results.zip /tmp/results
fi
exit $return_code
resources:
requests:
cpu: "7"
memory: "14Gi"
limits:
cpu: "7"
memory: "14Gi"

0 comments on commit 7e7ce37

Please sign in to comment.