Skip to content

Commit 0581786

Browse files
cgwaltersopenshift-merge-robot
authored andcommitted
ci: Skip installing deps if non-root
Assume in the pet/dev container case the user already has deps. And for Prow we're using the buildroot container which should have them.
1 parent 57978fe commit 0581786

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/installdeps.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ set -xeuo pipefail
66
dn=$(dirname $0)
77
. ${dn}/libbuild.sh
88

9-
if [ -n "${SKIP_INSTALLDEPS:-}" ]; then
9+
if [ -n "${SKIP_INSTALLDEPS:-}" ] || test $(id -u) != 0; then
1010
exit 0
1111
fi
1212

0 commit comments

Comments
 (0)