Skip to content
Snippets Groups Projects
Commit e7dd0f91 authored by Seblu's avatar Seblu
Browse files

Various CI improvments

- Add ~/.makepkg.conf in CI
- Allow pipelines trigger from web
parent fd62a6bc
No related branches found
No related tags found
No related merge requests found
Pipeline #118 passed
......@@ -12,8 +12,10 @@ makepkg:
- echo 'SigLevel = Required TrustedOnly' >> /etc/pacman.conf
- pacman --sync --refresh --sysupgrade --noconfirm
- pacman --sync --noconfirm base-devel devtools
- useradd --home-dir /root --groups root,wheel --shell /bin/bash build
- useradd --create-home --shell /bin/bash build
- "echo 'build ALL = NOPASSWD: /usr/bin/pacman' > /etc/sudoers.d/build"
- "[ -n \"$PACKAGER\" ] && echo \"PACKAGER='$PACKAGER'\" > /home/build/.makepkg.conf"
- echo "MAKEFLAGS='-j$(nproc)'" >> /home/build/.makepkg.conf
script:
- ulimit -c 0
- sudo -u build -- makepkg --syncdeps --noconfirm
......@@ -26,6 +28,7 @@ makepkg:
only:
refs:
- tags
- web
commitpkg:
stage: deploy
......@@ -47,3 +50,4 @@ commitpkg:
only:
refs:
- tags
- web
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment