-
-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: stop the right containers for minimize-downtime flag #4454
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,15 +1,9 @@ | ||
| if [[ "$MINIMIZE_DOWNTIME" ]]; then | ||
| echo "${_group}Waiting for Sentry to start ..." | ||
|
|
||
| # Start the whole setup, except nginx and relay. | ||
| # Start the whole setup, except nginx, relay, and web. | ||
| start_service_and_wait_ready --remove-orphans $($dc config --services | grep -v -E '^(nginx|relay)$') | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: The comment in Suggested FixUpdate the Prompt for AI Agent |
||
|
|
||
| if [ -n "$($dc ps -q relay 2>/dev/null)" ]; then | ||
| $dc restart relay | ||
| else | ||
| echo "Relay container not found, skipping restart." | ||
| fi | ||
|
|
||
| if [ -n "$($dc ps -q nginx 2>/dev/null)" ]; then | ||
| $dc exec -T nginx nginx -s reload || true | ||
| else | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
podmandown, stops and removes dependencies likepostgresas well.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sigh...