more debugging on the drone build
This commit is contained in:
parent
383375dafe
commit
5ec811359a
|
@ -4,7 +4,7 @@ pipeline:
|
||||||
environment:
|
environment:
|
||||||
- SHELL=/bin/bash
|
- SHELL=/bin/bash
|
||||||
commands:
|
commands:
|
||||||
- echo Building $${DRONE_BRANCH/prod/ }
|
- echo Building ${DRONE_BRANCH/prod/ }
|
||||||
- apt-get --allow-releaseinfo-change update
|
- apt-get --allow-releaseinfo-change update
|
||||||
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
|
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
|
||||||
- apt-get clean
|
- apt-get clean
|
||||||
|
@ -13,7 +13,7 @@ pipeline:
|
||||||
- ls -lha ../wit-network-config_*_all.deb
|
- ls -lha ../wit-network-config_*_all.deb
|
||||||
- echo "$SSH_KEY" >/tmp/id_rsa
|
- echo "$SSH_KEY" >/tmp/id_rsa
|
||||||
- chmod 600 /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 ]
|
secrets: [ ssh_key ]
|
||||||
branches:
|
branches:
|
||||||
- prod
|
- prod
|
||||||
|
|
Loading…
Reference in New Issue