more debugging on the drone build

This commit is contained in:
toby 2018-12-01 19:15:38 +01:00
parent 383375dafe
commit 5ec811359a
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ pipeline:
environment:
- SHELL=/bin/bash
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
@ -13,7 +13,7 @@ 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:
- prod