adding a temp script till drone disk space issue is fixed

This commit is contained in:
toby 2018-09-27 12:47:26 +00:00
parent e95e641bbf
commit b1d76a5171
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
debian/changelog
initramfs/*
newroot/*
files/vmlinuz

3
drone-not-working.sh Normal file → Executable file
View File

@ -1,8 +1,9 @@
#!/bin/bash
set -Eeuxo pipefail
TMP_DIR=$(mktemp -d)
export TMP_DIR=$(mktemp -d)
cp -r debian $TMP_DIR
cp -r files $TMP_DIR
echo -e "wit-pxeboot (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)" >$TMP_DIR/debian/changelog
sudo ./create_pxeinitrd.sh
cd $TMP_DIR