more debugging on the drone build
This commit is contained in:
parent
383375dafe
commit
5ec811359a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue