pxeboot/.drone.yml

15 lines
717 B
YAML
Raw Normal View History

pipeline:
build:
image: registry.v1.cloud.wit.com/toby/packager:1.3
commands:
- export DEBNAME=wit-pxeboot
- export RESULT_DIR=/tmp/result
- ./create_pxeinitrd.sh
- cd $RESULT_DIR
- dpkg-buildpackage --no-sign
- ls -lha ../$DEBNAME_*_all.deb
- echo "$SSH_KEY" >/tmp/id_rsa
- chmod 600 /tmp/id_rsa
- scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../$DEBNAME_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
secrets: [ ssh_key ]