projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c216a43
)
ci: Don't install deps if running as non-root
author
Colin Walters
<walters@verbum.org>
Tue, 2 Feb 2021 21:08:54 +0000
(21:08 +0000)
committer
Colin Walters
<walters@verbum.org>
Tue, 2 Feb 2021 21:08:54 +0000
(21:08 +0000)
This way we run in Prow too.
ci/installdeps.sh
patch
|
blob
|
history
diff --git
a/ci/installdeps.sh
b/ci/installdeps.sh
index 7d7c723e0a2986d721ad4c999ef603f184bc338b..6880d91d9980055e924eb4696bc6d8ea5aa02664 100755
(executable)
--- a/
ci/installdeps.sh
+++ b/
ci/installdeps.sh
@@
-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