2022-07-10 18:47:46 +00:00
|
|
|
kind: pipeline
|
|
|
|
name: default
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: test
|
|
|
|
image: koalaman/shellcheck-alpine:latest
|
|
|
|
commands:
|
2022-07-10 18:52:48 +00:00
|
|
|
- find usr/local/bin -type f -exec echo Testing {} \; -exec shellcheck {} \;
|
2022-07-11 18:33:52 +00:00
|
|
|
- name: build arch package
|
2022-07-11 18:44:35 +00:00
|
|
|
image: archlinux/archlinux:base-devel
|
2022-07-11 18:33:52 +00:00
|
|
|
commands:
|
2022-07-11 18:44:35 +00:00
|
|
|
- pacman -Syu
|
|
|
|
- mkdir /home/build
|
|
|
|
- cp -r /drone/src /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
|
2022-07-11 18:44:49 +00:00
|
|
|
- sudo -u nobody cd _pkg && makepkg -cs
|