Bodhi: deploy latest develop of bodhi in staging
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
b49ec9423f
commit
7ffa111de9
5 changed files with 8 additions and 26 deletions
|
@ -95,14 +95,22 @@ items:
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
initialDelaySeconds: 5
|
initialDelaySeconds: 5
|
||||||
httpGet:
|
httpGet:
|
||||||
|
{% if env == "staging" %}
|
||||||
|
path: /healthz/ready
|
||||||
|
{% else %}
|
||||||
path: /
|
path: /
|
||||||
|
{% endif %}
|
||||||
port: 8080
|
port: 8080
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 10
|
timeoutSeconds: 10
|
||||||
initialDelaySeconds: 30
|
initialDelaySeconds: 30
|
||||||
periodSeconds: 30
|
periodSeconds: 30
|
||||||
httpGet:
|
httpGet:
|
||||||
|
{% if env == "staging" %}
|
||||||
|
path: /healthz/live
|
||||||
|
{% else %}
|
||||||
path: /
|
path: /
|
||||||
|
{% endif %}
|
||||||
port: 8080
|
port: 8080
|
||||||
volumes:
|
volumes:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
|
|
|
@ -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
|
|
|
@ -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
|
|
|
@ -1,6 +0,0 @@
|
||||||
FROM bodhi-base
|
|
||||||
LABEL \
|
|
||||||
name="bodhi-consumer" \
|
|
||||||
vendor="Fedora Infrastructure" \
|
|
||||||
license="MIT"
|
|
||||||
ENTRYPOINT /usr/bin/fedora-messaging consume
|
|
|
@ -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
|
|
Loading…
Add table
Add a link
Reference in a new issue