drone and gitignore

This commit is contained in:
toby 2019-04-05 18:09:20 +00:00
parent b8e6a8a418
commit 68f8088b55
2 changed files with 8 additions and 6 deletions

View File

@ -8,7 +8,7 @@ pipeline:
- echo Building ${DRONE_BRANCH/master/experimental}
- apt-get update
- apt-get install -y sed strongswan frr isc-dhcp-client systemd
- 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
- echo "${DEBNAME} (2.0.$(TZ=UTC date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit <netops@wit.com> $(TZ=UTC date -R)" >debian/changelog
- dpkg-buildpackage --no-sign
- ls -lha ../${DEBNAME}_*_all.deb
- echo "$SSH_KEY" >/tmp/id_rsa

12
.gitignore vendored
View File

@ -1,9 +1,11 @@
debian/.debhelper
debian/debhelper-build-stamp
debian/wit-network-config/
debian/*/
!debian/source/
debian/files
debian/wit-network-config.postinst.debhelper
debian/wit-network-config.prerm.debhelper
debian/wit-network-config.substvars
debian/wit-network-config.debhelper.log
debian/*.postinst.debhelper
debian/*.prerm.debhelper
debian/*.substvars
debian/*.debhelper.log
debian/*.postrm.debhelper
debian/changelog