'Generic Commit'
This commit is contained in:
13
gitea-runner-docker/destroy.sh
Executable file
13
gitea-runner-docker/destroy.sh
Executable 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}"
|
Reference in New Issue
Block a user