More debug logs, host in the right place
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-09-23 09:12:21 +02:00
parent 9655b55dd7
commit d04583f6d2
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 6 deletions

View File

@ -9,17 +9,18 @@ load_deploy_key() {
run_stack_deploy() {
PLUGIN_COMPOSE=${PLUGIN_COMPOSE:-compose.yml}
docker stack deploy \
-c "$PLUGIN_COMPOSE" \
-H "$PLUGIN_HOST" \
"$PLUGIN_STACK"
echo "--- start docker:dind info ---"
docker info
echo "--- end docker:dind info ---"
docker -H "$PLUGIN_HOST" stack deploy -c "$PLUGIN_COMPOSE" "$PLUGIN_STACK"
}
run_plugin() {
echo "--- Starting deployment ---"
echo "--- start deployment ---"
load_deploy_key
run_stack_deploy
echo "--- Deployment successful ---"
echo "--- end deployment ---"
}
run_plugin