Commit 75ad61b2 authored by Sune Keller's avatar Sune Keller 🐳

Clean up scripts

Signed-off-by: Sune Keller's avatarSune Keller <sune.keller@gmail.com>
parent efbeed66
Pipeline #59046394 passed with stage
in 1 minute
......@@ -7,9 +7,7 @@ rm -fr plugin/rootfs/.dockerenv plugin/rootfs/*
docker container rm -f -v vault
docker stack rm demo
docker service rm demo_snitch vault-helper-service
docker secret rm secret-zero # multi_a multi_b multi_json multi_json_v1 multi_json_v2 secret wrapped_secret generic_vault_token
# docker plugin disable ${plugin_name}
# docker plugin rm ${plugin_name}
docker secret rm secret-zero
plugin_service=${plugin_name/*\//}
plugin_service=${plugin_service/:*/}
docker service rm ${plugin_service}
......
......@@ -3,7 +3,7 @@ set -u
set -o pipefail
export plugin_name=${plugin_name:-sirlatrom/secret-pets:latest}
export remote=${remote:-${plugin_name}}
./cleanup.sh
./cleanup.sh &>/dev/null
installer
until docker plugin inspect ${plugin_name} > /dev/null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment