Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this disappear in the log output of the pull(s)? Eg are they outputting earlier and parallel so this gets lost in their log output...?

If so we can drop this

Copy link
Contributor Author

@AshwinMN24 AshwinMN24 Sep 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I could see it the logs as i have rephrased the sentence "Images download is in process" to "Images are getting downloaded" for better as per the if you check https://github.com/opencrvs/opencrvs-farajaland/actions/runs/10938830700/job/30369325656 (line-194) and in Line- 2190 i have again put check-mark "Images are successfully downloaded" to confirm the images are downloaded and the wait has happened.

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

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