more debugging on the drone build
This commit is contained in:
parent
9c19bab033
commit
1b237d4a52
|
@ -2,6 +2,7 @@ pipeline:
|
|||
build:
|
||||
image: registry.i.wit.com/toby/packager:1.3
|
||||
commands:
|
||||
- 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
|
||||
|
@ -10,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 ]
|
||||
|
|
Loading…
Reference in New Issue