From 03ce64ea2c1daf4c531b66697b9d650645a0c8fa Mon Sep 17 00:00:00 2001 From: James Blair Date: Sun, 5 May 2024 17:46:00 +1200 Subject: [PATCH] Add pipefail for etcd verify presubmit and fix path. Signed-off-by: James Blair --- config/jobs/etcd/etcd-presubmits.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/jobs/etcd/etcd-presubmits.yaml b/config/jobs/etcd/etcd-presubmits.yaml index ac67474d55d8..1c1fa885d934 100644 --- a/config/jobs/etcd/etcd-presubmits.yaml +++ b/config/jobs/etcd/etcd-presubmits.yaml @@ -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:"