drone fixes

This commit is contained in:
toby 2019-03-29 18:10:33 +00:00
parent 22008293c5
commit 3e5b0e21a6
1 changed files with 2 additions and 2 deletions

View File

@ -6,9 +6,9 @@ pipeline:
- DEBNAME=wit-network-config
commands:
- 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
- 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
- ls -lha ../$DEBNAME_*_all.deb
- echo "$SSH_KEY" >/tmp/id_rsa