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

Disable restart policy on celery when running dev mode #319

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

Conversation

dpordomingo
Copy link
Contributor

@dpordomingo dpordomingo commented Nov 6, 2019

related to #317
blocks #320

Since sourced-ui-celery in dev mode is replaced by tianon/true, which exits fast, the restart policy should be "no" in order to avoid entering in a restart loop.

The \"no\" needs to be escaped because it must be a "string", and otherwise, the quotes (") would be removed by awk when processing the docker-compose.override.yml template.


  • I have updated the CHANGELOG file according to the conventions in keepachangelog.com
  • This PR contains changes that do not require a mention in the CHANGELOG file

Since celery in dev mode is replaced by 'tianon/true', which exit fast,
the restart policy should be "no" in order to avoid entering in a restart loop.

The "no" needs to be escaped because it must be a "string", and the quotes (")
would be removed by 'awk' when processing the 'docker-compose.override.yml' template.

Signed-off-by: David Pordomingo <[email protected]>
@dpordomingo dpordomingo added the bug Something isn't working label Nov 6, 2019
@dpordomingo dpordomingo requested a review from a team November 6, 2019 06:01
@dpordomingo dpordomingo self-assigned this Nov 6, 2019
@dpordomingo dpordomingo mentioned this pull request Nov 7, 2019
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant