build pakete buzz-ed
continuous-integration/drone/push Build encountered an error Details

This commit is contained in:
teldra 2019-12-18 13:57:48 +01:00
parent d57764431d
commit 39f341b665
3 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ steps:
- 'bash ./sign.sh'
volumes:
- name: dronecache
path: /kernelfiles
path: hostdir
- name: notify
image: drillster/drone-email

View File

@ -1,12 +1,12 @@
#!/bin/bash
echo start binary bootstrap
./xbps-src -r pakete -H /kernelfiles/hostdir binary-bootstrap
./xbps-src -r pakete binary-bootstrap
echo start bootstrap-update
./xbps-src -r pakete -H /kernelfiles/hostdir bootstrap-update
./xbps-src -r pakete bootstrap-update
for i in $(cat pakete); do
echo start build
./xbps-src -E -r pakete -H /kernelfiles/hostdir pkg "${i}"
./xbps-src -E -r pakete pkg "${i}"
echo clean distfiles
done
./xbps-src -r pakete -H /kernelfiles/hostdir clean-repocache
./xbps-src -r pakete -H /kernelfiles/hostdir purge-distfiles
./xbps-src -r pakete clean-repocache
./xbps-src -r pakete purge-distfiles

View File

@ -1,7 +1,7 @@
#!/bin/bash
echo sign files
KEY=/kernelfiles/id_rsa
FOLDER=/kernelfiles/hostdir/binpkgs/pakete
FOLDER=hostdir/binpkgs/pakete
if [[ ! -e "${KEY}" ]]; then
xbps-rindex --sign --signedby "I am Groot" --privkey ${KEY} ${FOLDER}
fi