more debugging on the drone build

This commit is contained in:
toby 2018-12-01 18:59:17 +01:00
parent 1b237d4a52
commit d3c5c5eb47
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ pipeline:
build:
image: registry.i.wit.com/toby/packager:1.3
commands:
- echo Building $${DRONE_BRANCH/prod/}
- echo Building ${DRONE_BRANCH/prod/}
- apt-get --allow-releaseinfo-change update
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
- apt-get clean
@ -11,6 +11,6 @@ pipeline:
- ls -lha ../wit-network-config_*_all.deb
- echo "$SSH_KEY" >/tmp/id_rsa
- chmod 600 /tmp/id_rsa
- scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v2.stack.wit.com:/data/incoming/$${DRONE_BRANCH/prod/}
- scp -i /tmp/id_rsa -o StrictHostKeyChecking=no -P 22022 ../wit-network-config_*_all.deb root@cloud-api.v2.stack.wit.com:/data/incoming/${DRONE_BRANCH/prod/}
secrets: [ ssh_key ]
branches: [ staging, prod ]