Skip to content

Commit

Permalink
Add pipefail for etcd verify presubmit and fix path.
Browse files Browse the repository at this point in the history
Signed-off-by: James Blair <[email protected]>
  • Loading branch information
jmhbnz committed May 5, 2024
1 parent 0c0a8f3 commit b028340
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/jobs/etcd/etcd-presubmits.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ presubmits:
etcd-io/etcd:
- name: pull-etcd-build
cluster: eks-prow-build-cluster
always_run: true
.........._run: true
branches:
- main
decorate: true
Expand Down Expand Up @@ -67,8 +67,9 @@ presubmits:
args:
- -c
- |
make verify
make fix
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:"
Expand Down

0 comments on commit b028340

Please sign in to comment.