Something went wrong. Try again.
Config for my PI/PDS
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940#!/usr/bin/env bash
echo "Got new commit: $(date)---"
# pull latest versionecho "git fetch --all"git fetch --allecho "git reset --hard origin/main"git reset --hard origin/main
echo "curl -d fetched-latest http://compuper:6500/notify"cat <<BODY | curl -d @- http://compuper:6500/notifyname=vps%3A%20git%20($(git log -1 --pretty=format:%h))\&timeout=5000\&body=fetched%20latest%20git%20commit%20for%20vielle.dev/pi-config\&key=pi/commit/gitBODY
# restart/rebuild all containersecho "docker compose build"docker compose buildecho "docker compose up -d --force-recreate --remove-orphans"docker compose up -d --force-recreate --remove-orphans
# clear out dockerfiles to stop my drive exploding# echo "docker system prune -af"# docker system prune -af
echo "curl -d ready http://compuper:6500/notify"cat <<BODY | curl -d @- http://compuper:6500/notifyname=pi%3A%20ready%20($(git log -1 --pretty=format:%h))&timeout=5000&body=finished%20building%20docker&key=pi/commit/buildBODY
exit 0