Config files for my server. Except not my secrets

make notification commands more readable && timeout

vielle.dev 3dfaaece 09dfedf3

verified
Changed files
+18 -2
+18 -2
commit.sh
··· 10 10 git fetch --all 11 11 git reset --hard origin/master 12 12 13 - curl -d "name=vps%20git%20updated&body=$(git log -1 --pretty=format:%h)%3A%20fetched%20latest%20git%20commit%20for%20vielle.dev/vps-config&key=vps/commit/git" http://compuper:6500/notify 13 + # curl \ 14 + # -d "name=vps%3A%20git%20($(git log -1 --pretty=format:%h))\ 15 + # &timeout=5000\ 16 + # &body=fetched%20latest%20git%20commit%20for%20vielle.dev/vps-config\ 17 + # &key=vps/commit/git" \ 18 + # http://compuper:6500/notify 14 19 20 + cat <<BODY | curl -d @- http://compuper:6500/notify 21 + name=vps%3A%20git%20($(git log -1 --pretty=format:%h)) 22 + &timeout=5000 23 + &body=fetched%20latest%20git%20commit%20for%20vielle.dev/vps-config 24 + &key=vps/commit/git 25 + BODY 15 26 16 27 # restart/rebuild all containers 17 28 docker compose build --no-cache ··· 22 33 # clear out dockerfiles to stop my drive exploding 23 34 docker system prune -af 24 35 25 - curl -d "name=vps%20ready&body=finished%20building%20docker&key=vps/commit/build" http://compuper:6500/notify 36 + cat <<- BODY | curl -d @- http://compuper:6500/notify 37 + name=vps%3A%20ready%20($(git log -1 --pretty=format:%h))\ 38 + &timeout=5000 39 + &body=finished%20building%20docker 40 + &key=vps/commit/build 41 + BODY 26 42 27 43 exit 0