yunohost-ci/cleanup.sh

8 lines
227 B
Bash
Raw Normal View History

2019-11-25 13:11:18 +01:00
#!/usr/bin/env bash
2020-03-26 17:50:12 +01:00
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
source $current_dir/base.sh # Get variables from base.
2019-11-25 13:11:18 +01:00
2019-11-26 14:01:29 +01:00
echo "Deleting container $CONTAINER_ID"
2019-11-25 13:11:18 +01:00
2019-11-26 14:01:29 +01:00
lxc delete -f "$CONTAINER_ID"