mirror of
https://github.com/ostreedev/ostree.git
synced 2024-12-22 17:35:55 +03:00
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
|
||||
# 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user