ci: Don't install deps if running as non-root
This way we run in Prow too.
This commit is contained in:
parent
c216a438b8
commit
afb032e693
|
|
@ -7,7 +7,7 @@ set -xeuo pipefail
|
||||||
# cosa buildroot container
|
# cosa buildroot container
|
||||||
# https://github.com/coreos/coreos-assembler/pull/730
|
# https://github.com/coreos/coreos-assembler/pull/730
|
||||||
# And using `yum` at all means we can flake on fetching rpm metadata
|
# And using `yum` at all means we can flake on fetching rpm metadata
|
||||||
if [ -n "${SKIP_INSTALLDEPS:-}" ]; then
|
if [ -n "${SKIP_INSTALLDEPS:-}" ] || test "$(id -u)" != 0; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue