wit-network-config/.drone.yml

20 lines
786 B
YAML

pipeline:
build:
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
upload:
image: appleboy/drone-scp
host: cloud-api.v1.cloud.wit.com
username: root
secrets: [ ssh_key ]
port: 22022
target: /data/incoming
source: ../wit-network-config_*_all.deb
strip_components: 1