we now have full support for various components in the repo, so cleaning it up a bit
This commit is contained in:
parent
d81c621bd0
commit
e3fe47275c
|
@ -4,7 +4,7 @@ pipeline:
|
||||||
environment:
|
environment:
|
||||||
- SHELL=/bin/bash
|
- SHELL=/bin/bash
|
||||||
commands:
|
commands:
|
||||||
- echo Building ${DRONE_BRANCH/prod/ }
|
- echo Building ${DRONE_BRANCH/master/experimental}
|
||||||
- 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,9 +13,9 @@ 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/master/experimental}
|
||||||
secrets: [ ssh_key ]
|
secrets: [ ssh_key ]
|
||||||
branches:
|
branches:
|
||||||
- prod
|
- master
|
||||||
- staging
|
- staging
|
||||||
- experimental
|
- main
|
||||||
|
|
Loading…
Reference in New Issue