From 1b237d4a52f4d2e93cea95a169674309d567510b Mon Sep 17 00:00:00 2001 From: toby Date: Sat, 1 Dec 2018 18:56:31 +0100 Subject: [PATCH] more debugging on the drone build --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 53b7b33..2354106 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ]