more debugging on the drone build
This commit is contained in:
parent
2ca1595db8
commit
9c19bab033
|
@ -1,10 +1,7 @@
|
|||
pipeline:
|
||||
build:
|
||||
image: registry.i.wit.com/toby/packager:1.3
|
||||
environment:
|
||||
- RELEASE=$${DRONE_BRANCH/prod/}
|
||||
commands:
|
||||
- echo Building $RELEASE from $DRONE_BRANCH
|
||||
- apt-get --allow-releaseinfo-change update
|
||||
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
|
||||
- apt-get clean
|
||||
|
@ -13,6 +10,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/${RELEASE}
|
||||
- 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 ]
|
||||
|
|
Loading…
Reference in New Issue