Skip to content
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

Fix: Ignore exit code of nginx reload #120

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bensofficial
Copy link
Member

We recently added the command to reload the nginx config after the Artemis was started (#114).

In the case of a new Nginx container, the Nginx service might not be running already. Reloading the config will result in a error exit code. This has no negative implications as Artemis is running as expected. Nevertheless, our CI pipeline for deploying Artemis will fail and won't lock the test server, even though technically the deployment was successful.

Thus, we added || true to ignore the exit code in case of an error.

@bensofficial bensofficial added bug Something isn't working role.artemis labels Jan 29, 2025
@bensofficial bensofficial requested review from Mtze and Hialus January 29, 2025 17:02
@bensofficial bensofficial self-assigned this Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working role.artemis
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant