Add celery app instance with base config

This patch allows to schedule tasks and launch workers with basic
config. To launch a worker:

    celery -A module_build_service.celery_app -l info

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi
2019-11-13 17:17:42 +08:00
committed by mprahl
parent 5f4ef94103
commit fa697a950d
5 changed files with 29 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ RUN yum -y install \
python-sqlalchemy \
python-tox \
python2-distro \
python2-celery \
python2-libmodulemd2 \
python2-pyyaml \
python2-pungi \

View File

@@ -10,6 +10,7 @@ RUN dnf -y install \
createrepo_c \
rsync \
python3-distro \
python3-celery \
python3-fedmsg \
python3-kobo-rpmlib \
python3-rpm \