From 06ea9300e59b5746d897d8c17484608e8361d905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Mon, 14 Jan 2019 05:00:29 +0100 Subject: [PATCH] Fix installation of package dependencies in CI --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d5a358f..5a81b53 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,9 +13,10 @@ makepkg: - pacman --sync --refresh --sysupgrade --noconfirm - pacman --sync --noconfirm base-devel devtools - useradd --home-dir /root --groups root,wheel --shell /bin/bash build + - "echo 'build ALL = NOPASSWD: /usr/bin/pacman' > /etc/sudoers.d/build" script: - ulimit -c 0 - - sudo -u build -- makepkg --syncdeps + - sudo -u build -- makepkg --syncdeps --noconfirm artifacts: name: $CI_PROJECT_NAME-$CI_COMMIT_REF_NAME-$CI_COMMIT_SHA expire_in: 1 week -- GitLab