This commit is contained in:
parent
c6a3f8ed1f
commit
4b1c4ed1e7
1 changed files with 5 additions and 9 deletions
14
.drone.yml
14
.drone.yml
|
@ -7,13 +7,9 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \;
|
- find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \;
|
||||||
- name: build arch package
|
- name: build arch package
|
||||||
image: archlinux/archlinux:base-devel
|
image: whynothugo/makepkg
|
||||||
|
environment:
|
||||||
|
SYNC_DATABASE: 1
|
||||||
commands:
|
commands:
|
||||||
- pacman -Syu
|
- cd _pkg
|
||||||
- mkdir /home/build
|
- makepkg -cs
|
||||||
- cp -r /drone/src/_pkg /home/build
|
|
||||||
- chgrp nobody /home/build
|
|
||||||
- chmod g+ws /home/build
|
|
||||||
- setfacl -m u::rwx,g::rwx /home/build
|
|
||||||
- setfacl -d --set u::rwx,g::rwx,o::- /home/build
|
|
||||||
- sudo -u nobody makepkg -cs
|
|
||||||
|
|
Loading…
Reference in a new issue