review-stats: enable working on bugs in prod
Signed-off-by: Mattia Verga <mattia.verga@protonmail.com>
This commit is contained in:
parent
84b859b342
commit
5e735e8263
1 changed files with 5 additions and 0 deletions
|
@ -66,8 +66,13 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: build
|
- name: build
|
||||||
image: docker-registry.default.svc:5000/review-stats/builder:latest
|
image: docker-registry.default.svc:5000/review-stats/builder:latest
|
||||||
|
{% if env == 'staging' %}
|
||||||
command: ["review-stats", "-c", "/etc/review-stats/config.cfg", "-D",
|
command: ["review-stats", "-c", "/etc/review-stats/config.cfg", "-D",
|
||||||
"work-on-bugs", "-d"]
|
"work-on-bugs", "-d"]
|
||||||
|
{% else %}
|
||||||
|
command: ["review-stats", "-c", "/etc/review-stats/config.cfg", "-D",
|
||||||
|
"work-on-bugs"]
|
||||||
|
{% endif %}
|
||||||
env:
|
env:
|
||||||
- name: HOME
|
- name: HOME
|
||||||
value: "/tmp"
|
value: "/tmp"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue