Skip to content

Commit

Permalink
make image downloads parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa committed Sep 20, 2024
1 parent fefdb31 commit 9fdb9a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion infrastructure/deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -295,9 +295,11 @@ docker_stack_deploy() {
do
echo "Server failed to download $tag. Retrying..."
sleep 5
done
done &
done

wait

echo "Updating docker swarm stack with new compose files"

EXISTING_STACKS=$(configured_ssh 'docker stack ls --format "{{ .Name }}" | grep -v "dependencies" | paste -sd "," -')
Expand Down

0 comments on commit 9fdb9a8

Please sign in to comment.