drone fixes
This commit is contained in:
parent
22008293c5
commit
3e5b0e21a6
|
@ -6,9 +6,9 @@ pipeline:
|
||||||
- DEBNAME=wit-network-config
|
- DEBNAME=wit-network-config
|
||||||
commands:
|
commands:
|
||||||
- echo Building ${DRONE_BRANCH/master/experimental}
|
- echo Building ${DRONE_BRANCH/master/experimental}
|
||||||
- apt-get --allow-releaseinfo-change update
|
- apt-get update
|
||||||
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
|
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
|
||||||
- echo "$DEBNAME (1.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >debian/changelog
|
- echo "$DEBNAME (2.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(date -R)" >debian/changelog
|
||||||
- dpkg-buildpackage --no-sign
|
- dpkg-buildpackage --no-sign
|
||||||
- ls -lha ../$DEBNAME_*_all.deb
|
- ls -lha ../$DEBNAME_*_all.deb
|
||||||
- echo "$SSH_KEY" >/tmp/id_rsa
|
- echo "$SSH_KEY" >/tmp/id_rsa
|
||||||
|
|
Loading…
Reference in New Issue