From ebc4567bab97e80fd17a2f012127af900c3921f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Luttringer?= Date: Mon, 14 Jan 2019 04:46:01 +0100 Subject: [PATCH] CI improvments - Only build when PKGBUILD are changed - Remove not needed chmod --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 10246d1..d5a358f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,6 @@ makepkg: - pacman --sync --refresh --sysupgrade --noconfirm - pacman --sync --noconfirm base-devel devtools - useradd --home-dir /root --groups root,wheel --shell /bin/bash build - - chmod 770 /root script: - ulimit -c 0 - sudo -u build -- makepkg --syncdeps @@ -22,6 +21,9 @@ makepkg: expire_in: 1 week paths: - "*.pkg.tar.xz" + only: + changes: + - PKGBUILD commitpkg: stage: deploy -- GitLab