Config files for my server. Except not my secrets

add more debugging to commit.sh

vielle.dev 1230ff33 b808697c

verified
Changed files
+7 -7
+7 -7
commit.sh
··· 3 3 echo "\n\nGot new commit: $(date)\n---\n\n" 4 4 5 5 # pull latest version 6 + echo "git fetch --all" 6 7 git fetch --all 8 + echo "git reset --hard origin/master" 7 9 git reset --hard origin/master 8 10 9 - # curl \ 10 - # -d "name=vps%3A%20git%20($(git log -1 --pretty=format:%h))\ 11 - # &timeout=5000\ 12 - # &body=fetched%20latest%20git%20commit%20for%20vielle.dev/vps-config\ 13 - # &key=vps/commit/git" \ 14 - # http://compuper:6500/notify 15 - 11 + echo "cat <<BODY | curl -d @- http://compuper:6500/notify" 16 12 cat <<BODY | curl -d @- http://compuper:6500/notify 17 13 name=vps%3A%20git%20($(git log -1 --pretty=format:%h)) 18 14 &timeout=5000 ··· 21 17 BODY 22 18 23 19 # restart/rebuild all containers 20 + echo "docker compose build --no-cache" 24 21 docker compose build --no-cache 22 + echo "docker compose up -d --force-recreate" 25 23 docker compose up -d --force-recreate 26 24 27 25 # clear out dockerfiles to stop my drive exploding 26 + echo "docker system prune -af > /dev/null" 28 27 docker system prune -af > /dev/null 29 28 29 + echo "cat <<- BODY | curl -d @- http://compuper:6500/notify" 30 30 cat <<- BODY | curl -d @- http://compuper:6500/notify 31 31 name=vps%3A%20ready%20($(git log -1 --pretty=format:%h))\ 32 32 &timeout=5000