Add `exec` notes to log output
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
2e4ef5de33
commit
ff6dbc62ed
|
@ -51,7 +51,9 @@ run_docker_cp() {
|
||||||
tar cf - $CD $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - $CONTAINER:$PLUGIN_DEST
|
tar cf - $CD $PLUGIN_SOURCE | docker -H "$REMOTE_DOCKER_HOST" cp - $CONTAINER:$PLUGIN_DEST
|
||||||
|
|
||||||
if [ -n "$PLUGIN_EXEC" ]; then
|
if [ -n "$PLUGIN_EXEC" ]; then
|
||||||
|
echo "--- start exec ---"
|
||||||
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "$PLUGIN_EXEC"
|
docker -H "$REMOTE_DOCKER_HOST" exec "$CONTAINER" sh -c "$PLUGIN_EXEC"
|
||||||
|
echo "--- end exec ---"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "--- end deploy ---"
|
echo "--- end deploy ---"
|
||||||
|
|
Loading…
Reference in New Issue