ci: Don't install deps if running as non-root
This way we run in Prow too.
This commit is contained in:
1 parent
c216a438b8
commit
afb032e693
1 file changed
+1
-1
+1
-1
@@ -7,7 +7,7 @@ set -xeuo pipefail
|
||||
# cosa buildroot container
|
||||
# https://github.com/coreos/coreos-assembler/pull/730
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
||||
Reference in new issue
Block a user