From dc139ee2efc656d78e214ede048c8286f0245155 Mon Sep 17 00:00:00 2001 From: Varac Date: Thu, 21 Dec 2017 10:39:43 +0100 Subject: 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 --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3