wit-network-config/.drone.yml

16 lines
759 B
YAML
Raw Normal View History

pipeline:
build:
2018-08-16 14:34:58 -05:00
image: registry.v1.cloud.wit.com/toby/packager:1.2
commands:
- apt-get update
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
- apt-get clean
- dpkg-buildpackage --no-sign
- ls -lha ../wit-network-config_*_all.deb
- find / -name *.deb
2018-08-24 14:07:30 -05:00
- echo $SSH_KEY >/tmp/id_rsa
- chmod 600 /tmp/id_rsa
- scp -i /tmp/id_rsa -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v1.cloud.wit.com:/data/incoming
2018-08-24 14:04:48 -05:00
environment:
- SSH_KEY=$$ssh_key