'Generic Commit'

This commit is contained in:
Your Name
2025-06-01 17:37:45 +12:00
parent fcee3fd99d
commit ffd61cd754
11 changed files with 142 additions and 2 deletions

13
gitea-runner-docker/destroy.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/bash
set -euo pipefail
# shellcheck disable=SC1091
source "${AGENT_PATH}/common.sh"
_check_required_env_vars "SERVER" "SERVICE" "GITEA_RUNNER_DIRECTORY"
# Call uninstall script first
./uninstall.sh
echo "Removing ${GITEA_RUNNER_DIRECTORY}"
rm -rf "${GITEA_RUNNER_DIRECTORY}"
echo "Destroyed ${SERVICE}"