All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 15s
12 lines
299 B
Bash
Executable File
12 lines
299 B
Bash
Executable File
#!/bin/bash
|
|
source "${AGENT_PATH}/common.sh"
|
|
_check_required_env_vars "CONTAINER_NAME" "DATA_VOLUME"
|
|
|
|
echo "WARNING: This will PERMANENTLY DELETE all data for ${CONTAINER_NAME}"
|
|
|
|
bash ./stop.sh
|
|
_remove_container "$CONTAINER_NAME"
|
|
_remove_volume "$DATA_VOLUME"
|
|
|
|
echo "Service and all data destroyed"
|