Commit 4891eda4 authored by Sune Keller's avatar Sune Keller 🐳

Improve om demo scripts

Signed-off-by: Sune Keller's avatarSune Keller <sune.keller@gmail.com>
parent 1846aa8c
Pipeline #59046589 passed with stage
in 57 seconds
......@@ -23,3 +23,4 @@ ENV DOCKER_BUILDKIT=1
COPY --from=builder /go/bin/installer /usr/local/bin/installer
COPY --from=docker-stack-waiter /docker-stack-waiter /usr/local/bin/docker-stack-waiter
COPY demo.sh cleanup.sh docker-compose.yml /root/
WORKDIR /root
......@@ -11,7 +11,7 @@ docker secret rm secret-zero
plugin_service=${plugin_name/*\//}
plugin_service=${plugin_service/:*/}
docker service rm ${plugin_service}
while docker plugin inspect ${plugin_name} > /dev/null
while docker plugin inspect ${plugin_name} &> /dev/null
do
echo "waiting for plugin to be uninstalled"
sleep 1
......
......@@ -6,7 +6,7 @@ export remote=${remote:-${plugin_name}}
./cleanup.sh &>/dev/null
installer
until docker plugin inspect ${plugin_name} > /dev/null
until docker plugin inspect ${plugin_name} &> /dev/null
do
echo "waiting for plugin to be installed"
sleep 1
......
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