Skip to content

Commit

Permalink
ci: Skip installing deps if non-root
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cgwalters authored and openshift-merge-robot committed Feb 3, 2021
1 parent 57978fe commit 0581786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/installdeps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ set -xeuo pipefail
dn=$(dirname $0)
. ${dn}/libbuild.sh

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

Expand Down

0 comments on commit 0581786

Please sign in to comment.