Config for my PI/PDS
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

make notification commands more readable && timeout

vielle.dev 8ba18a17 f9b0751c

verified
+12 -2
+12 -2
commit.sh
··· 12 13 echo "git fetched!" 14 15 - curl -d "name=pi%20git%20updated%20$(git log -1 --pretty=format:%h)&timeout=5000&body=fetched%20latest%20git%20commit%20for%20vielle.dev/pi-config&key=pi/commit/git" http://compuper:6500/notify 16 17 # restart/rebuild all containers 18 docker compose build ··· 21 # clear out dockerfiles to stop my drive exploding 22 docker system prune -af 23 24 - curl -d "name=pi%20ready&timeout=5000&body=finished%20building%20docker&key=pi/commit/build" http://compuper:6500/notify 25 26 exit 0
··· 12 13 echo "git fetched!" 14 15 + cat <<BODY | curl -d @- http://compuper:6500/notify 16 + name=vps%3A%20git%20($(git log -1 --pretty=format:%h))\ 17 + &timeout=5000\ 18 + &body=fetched%20latest%20git%20commit%20for%20vielle.dev/pi-config\ 19 + &key=pi/commit/git 20 + BODY 21 22 # restart/rebuild all containers 23 docker compose build ··· 26 # clear out dockerfiles to stop my drive exploding 27 docker system prune -af 28 29 + cat <<BODY | curl -d @- http://compuper:6500/notify 30 + name=pi%3A%20ready%20($(git log -1 --pretty=format:%h)) 31 + &timeout=5000 32 + &body=finished%20building%20docker 33 + &key=pi/commit/build 34 + BODY 35 36 exit 0