mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-03 20:40:26 -05:00
hack/verify-featuregates.sh: print failure information to stderr
Verify scripts are run such that stderr is captured and included in the JUnit files. Stdout is not. Therefore the instructions in case of a failure where only visible by searching the entire job log file, but not in the Prow summary.
This commit is contained in:
parent
d04610bbfb
commit
ad012f63f7
1 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ kube::golang::setup_env
|
|||
cd "${KUBE_ROOT}"
|
||||
|
||||
if ! go run test/compatibility_lifecycle/main.go feature-gates verify; then
|
||||
echo "Please run 'hack/update-featuregates.sh' to update the feature list."
|
||||
echo >&2 "Please run 'hack/update-featuregates.sh' to update the feature list."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
@ -44,7 +44,7 @@ trap 'rm -f "${TMPFILE}"' EXIT
|
|||
go run cmd/genfeaturegates/genfeaturegates.go -output="${TMPFILE}"
|
||||
|
||||
if ! diff -q "${FEATURE_LIST_MD}" "${TMPFILE}" > /dev/null 2>&1; then
|
||||
echo "${FEATURE_LIST_MD} is out of date."
|
||||
echo "Please run 'hack/update-featuregates.sh' to update the feature list."
|
||||
echo >&2 "${FEATURE_LIST_MD} is out of date."
|
||||
echo >&2 "Please run 'hack/update-featuregates.sh' to update the feature list."
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue