This commit is contained in:
Jackson Delahunt 2019-03-03 13:51:59 +11:00
commit 5a69052d85
3 changed files with 8 additions and 8 deletions

View file

@ -1,8 +1,5 @@
REPO_ROOT=$(dirname $(readlink -f $0))/../..
# Clean secrets and home
$REPO_ROOT/docker/scripts/clean-secrets.sh
# Remove volumes that can be recreated from scratch, but require manual configuration in app
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_CHROME
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_CODE
@ -10,3 +7,6 @@ $REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_GITHUB
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_JUMP
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_MUSIKCUBE
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_STATE_ZOOM
# Clean secrets and home
$REPO_ROOT/docker/scripts/clean-secrets.sh

View file

@ -1,9 +1,9 @@
REPO_ROOT=$(dirname $(readlink -f $0))/../..
# Perform standard clean
$REPO_ROOT/docker/scripts/clean.sh
# Remove volumes containing secrets
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_CACHE_SECRETS
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_CACHE_SSH
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_CACHE_VCSH_PRIVATE
# Perform standard clean
$REPO_ROOT/docker/scripts/clean.sh

View file

@ -1,8 +1,8 @@
REPO_ROOT=$(dirname $(readlink -f $0))/../..
# Stop the running environment so there are no containers using the volumes, ignoring errors if it does not exist
$REPO_ROOT/docker/scripts/stop.sh 2>/dev/null
# $REPO_ROOT/docker/scripts/stop.sh 2>/dev/null
# Remove volumes that can be recreated from scratch, directly from the container filesystem
# Remove stateful volumes that are recreated directly from the container filesystem
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_CACHE_VCSH
$REPO_ROOT/docker/scripts/wipe-volume.sh DESKTOP_ENVIRONMENT_USER_HOME