-
Notifications
You must be signed in to change notification settings - Fork 37
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
Initial implementation of Celery support for Figures devsite #215
Conversation
Please refer to the README.md file in the devsite directory for instructions * This commit adds a docker compose file with support files to start a RabbitMQ docker container. * Devsite is updaed to support Celery tasks running in this docker container * Conditional support for results backend is implemented, but not working. Currently troubleshooting this * Succesfully tested with running Figures `populate_figures_metrics` Django management command. Figures daily metrics models get created with data * Added a new Django management command in Devsite to do a system check. This runs a "system check" task in `devsite/celery.py`
* Added `django-celery` to devsite and Hawthorn multisite requirements file * Added the Docker commands as Figures Makefile targets * Updated devsite/README.md instructions * Added Celery results support using `django-celery` and the Django devsite database as the backend
c91620e
to
c05ef3c
Compare
Codecov Report
@@ Coverage Diff @@
## master #215 +/- ##
==========================================
+ Coverage 91.29% 91.30% +0.01%
==========================================
Files 38 39 +1
Lines 1953 1956 +3
==========================================
+ Hits 1783 1786 +3
Misses 170 170
Continue to review full report at Codecov.
|
@melvinsoft @OmarIthawi Finally wrapped this up. I wanted to get the instructions in |
@@ -0,0 +1,10 @@ | |||
version: '3.5' | |||
services: | |||
|
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.
do you plan to add Figures here as 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.
@OmarIthawi TBD
Please refer to the README.md file in the devsite directory for
instructions
RabbitMQ docker container.
container
working. Currently troubleshooting this
populate_figures_metrics
Djangomanagement command. Figures daily metrics models get created with data
This runs a "system check" task in
devsite/celery.py
NOTE
Although Figures devsite can now run Figures pipeline tasks asynchronously, there's still some debugging work to do to get the results backend working. So created as a draft PR because