Merge pull request #99810 from BenTheElder/fix-junit-deps

disable colors in zeitgeist so as not to break shell2junit
This commit is contained in:
Kubernetes Prow Robot 2021-03-04 18:35:03 -08:00 committed by GitHub
commit 9cea3f88ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,9 @@ cd -
# Prefer full path for running zeitgeist
ZEITGEIST_BIN="$(which zeitgeist)"
"${ZEITGEIST_BIN}" validate \
# TODO: revert sed hack when zetigeist respects CLICOLOR/ttys
CLICOLOR=0 "${ZEITGEIST_BIN}" validate \
--local \
--base-path "${KUBE_ROOT}" \
--config "${KUBE_ROOT}"/build/dependencies.yaml
--config "${KUBE_ROOT}"/build/dependencies.yaml \
2> >(sed -e $'s/\x1b\[[0-9;]*m//g' >&2)