Skip to content

Commit

Permalink
#7224 Pull images parallel during deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
AshwinMN24 committed Sep 19, 2024
1 parent 9531d88 commit a920e47
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
### Improvements

- Auth token, ip address, remote address, mobile number, email redacted/masked from server log
- Improved deployment time by images download faster.

### Infrastructure breaking changes

Expand Down
6 changes: 4 additions & 2 deletions infrastructure/deployment/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,11 @@ docker_stack_deploy() {
do
echo "Server failed to download $tag. Retrying..."
sleep 5
done
done &
done

echo "Images are getting downloaded"
wait
echo "Images are successfully downloaded"
echo "Updating docker swarm stack with new compose files"

configured_ssh 'cd /opt/opencrvs && \
Expand Down

0 comments on commit a920e47

Please sign in to comment.