yunohost-ci/cleanup.sh

9 lines
267 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 )"
2020-05-26 19:32:46 +02:00
source $current_dir/prints.sh
2020-05-26 19:30:45 +02:00
source $current_dir/variables.sh # Get variables from variables.
2019-11-25 13:11:18 +01:00
2020-05-26 19:24:01 +02:00
info "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"