File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ tar cjvf /tmp/workspace.tar.bz2 --exclude .git .
20
20
log " Launching ssh agent."
21
21
eval ` ssh-agent -s`
22
22
23
- remote_command=" set -e ; log() { echo '>> [remote]' \$ @ ; } ; cleanup() { log 'Removing workspace...'; rm -rf \"\$ HOME/workspace\" ; } ; log 'Creating workspace directory...' ; mkdir -p \"\$ HOME/workspace\" ; trap cleanup EXIT ; log 'Unpacking workspace...' ; tar -C \"\$ HOME/workspace\" -xjv ; log 'Launching docker-compose...' ; cd \"\$ HOME/workspace\" ; docker-compose -f \" $DOCKER_COMPOSE_FILENAME \" -p \" $DOCKER_COMPOSE_PREFIX \" up -d --remove-orphans --build"
23
+ remote_command=" set -e ; log() { echo '>> [remote]' \$ @ ; } ; cleanup() { log 'Removing workspace...'; rm -rf \"\$ HOME/workspace\" ; } ; log 'Creating workspace directory...' ; mkdir -p \"\$ HOME/workspace\" ; trap cleanup EXIT ; log 'Unpacking workspace...' ; tar -C \"\$ HOME/workspace\" -xjv ; log 'Launching docker-compose...' ; cd \"\$ HOME/workspace\" ; docker-compose -f \" $DOCKER_COMPOSE_FILENAME \" -p \" $DOCKER_COMPOSE_PREFIX \" pull ; docker-compose -f \" $DOCKER_COMPOSE_FILENAME \" -p \" $DOCKER_COMPOSE_PREFIX \" up -d --remove-orphans --build"
24
24
if $USE_DOCKER_STACK ; then
25
25
remote_command=" set -e ; log() { echo '>> [remote]' \$ @ ; } ; cleanup() { log 'Removing workspace...'; rm -rf \"\$ HOME/workspace\" ; } ; log 'Creating workspace directory...' ; mkdir -p \"\$ HOME/workspace/$DOCKER_COMPOSE_PREFIX \" ; trap cleanup EXIT ; log 'Unpacking workspace...' ; tar -C \"\$ HOME/workspace/$DOCKER_COMPOSE_PREFIX \" -xjv ; log 'Launching docker stack deploy...' ; cd \"\$ HOME/workspace/$DOCKER_COMPOSE_PREFIX \" ; docker stack deploy -c \" $DOCKER_COMPOSE_FILENAME \" --prune \" $DOCKER_COMPOSE_PREFIX \" "
26
26
fi
You can’t perform that action at this time.
0 commit comments