Bodhi: deploy latest develop of bodhi in staging

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-03-06 09:33:23 +01:00 committed by Pierre-Yves Chibon
parent b49ec9423f
commit 7ffa111de9
5 changed files with 8 additions and 26 deletions

View file

@ -95,14 +95,22 @@ items:
timeoutSeconds: 10
initialDelaySeconds: 5
httpGet:
{% if env == "staging" %}
path: /healthz/ready
{% else %}
path: /
{% endif %}
port: 8080
livenessProbe:
timeoutSeconds: 10
initialDelaySeconds: 30
periodSeconds: 30
httpGet:
{% if env == "staging" %}
path: /healthz/live
{% else %}
path: /
{% endif %}
port: 8080
volumes:
- name: config-volume

View file

@ -1,6 +0,0 @@
FROM bodhi-base
LABEL \
name="bodhi-celery" \
vendor="Fedora Infrastructure" \
license="MIT"
ENTRYPOINT /usr/bin/celery worker -A bodhi.server.tasks.app -l info -Q celery

View file

@ -1,6 +0,0 @@
FROM bodhi-base
LABEL \
name="bodhi-celery-beat" \
vendor="Fedora Infrastructure" \
license="MIT"
ENTRYPOINT /usr/bin/celery beat -A bodhi.server.tasks.app -l info

View file

@ -1,6 +0,0 @@
FROM bodhi-base
LABEL \
name="bodhi-consumer" \
vendor="Fedora Infrastructure" \
license="MIT"
ENTRYPOINT /usr/bin/fedora-messaging consume

View file

@ -1,8 +0,0 @@
FROM bodhi-base
LABEL \
name="bodhi-web" \
vendor="Fedora Infrastructure" \
license="MIT"
RUN dnf install --refresh -y python3-pyramid_sawing
EXPOSE 8080
ENTRYPOINT bash /etc/bodhi/start.sh