summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVarac <varac@leap.se>2017-12-21 10:39:43 +0100
committerVarac <varac@leap.se>2017-12-21 11:27:07 +0100
commitdc139ee2efc656d78e214ede048c8286f0245155 (patch)
treed21bb766708128844dd4e38f6bacc1aa86e2a251
parent6137646204777b5bdf14e796f288ecaa2d5075e6 (diff)
CI: Install gems as unprivileged user
Installing gems as user root and accessing them as unprivileged user breaks with gems that ship files with too restrictive file permissions. See https://github.com/invadersmustdie/puppet-catalog-test/issues/38
-rw-r--r--.gitlab-ci.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6d71f587..8656104a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -9,7 +9,7 @@ cache:
before_script:
- cd tests/platform-ci
- - time ./setup.sh
+ - su -c 'time ./setup.sh' cirunner
stages:
- syntax