the-new-hotness: Add RPM_PACKAGER env variable

This will hopefully fix
https://github.com/fedora-infra/the-new-hotness/issues/237

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2019-05-27 13:47:29 +02:00
parent cf841dd753
commit 3cc6898214
3 changed files with 4 additions and 2 deletions

View file

@ -39,7 +39,7 @@ items:
args: args:
- /etc/anitya/start.sh - /etc/anitya/start.sh
env: env:
- name: ANITYA_WEB_CONFIG - name: RPM_PACKAGER
value: /etc/anitya/anitya.toml value: /etc/anitya/anitya.toml
ports: ports:
- containerPort: 8080 - containerPort: 8080

View file

@ -37,6 +37,9 @@ items:
- name: the-new-hotness - name: the-new-hotness
image: the-new-hotness/the-new-hotness:latest image: the-new-hotness/the-new-hotness:latest
command: ["fedora-messaging", "consume"] command: ["fedora-messaging", "consume"]
env:
- name: RPM_PACKAGER
value: hotness
volumeMounts: volumeMounts:
- name: config-volume - name: config-volume
mountPath: /etc/fedora-messaging mountPath: /etc/fedora-messaging

View file

@ -46,7 +46,6 @@ items:
pushd hotness_schema && \ pushd hotness_schema && \
pip-3 install . && \ pip-3 install . && \
rm -rf the-new-hotness rm -rf the-new-hotness
USER 1001
EXPOSE 9940 EXPOSE 9940
type: Dockerfile type: Dockerfile
git: git: