Commit 5930b0b4 authored by intrigeri's avatar intrigeri
Browse files

Release process: check that disk space requirements are met

parent 777caeaf
......@@ -877,6 +877,15 @@ that is not present locally yet):
Build the Incremental Upgrade Kits locally
------------------------------------------
Verify there's enough free disk space in `$IUKS_DIR`:
MIN_DISK_SPACE=15000
FREE_DISK_SPACE=$(/bin/df --block-size=M --output=avail "${IUKS_DIR:?}" \
| tail -n1 | sed --regexp-extended 's,M$,,')
if [ "$FREE_DISK_SPACE" -lt "$MIN_DISK_SPACE" ]; then
echo "ERROR! Not enough free space in ${IUKS_DIR:?}"
fi
Start building the IUKs locally:
(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment