Make buildconfig for bodhi do stg infra tags
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
48f871ef3a
commit
15f11fd80e
2 changed files with 4 additions and 1 deletions
|
@ -15,7 +15,7 @@
|
|||
appowners:
|
||||
- bowlofeggs
|
||||
- { role: openshift/object, vars: {app: bodhi, file: imagestream.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: buildconfig.yml }}
|
||||
- { role: openshift/object, vars: {app: bodhi, template: buildconfig.yml }}
|
||||
- { role: openshift/start-build, vars: {app: bodhi, name: bodhi-web-build }}
|
||||
- { role: openshift/object, vars: {app: bodhi, template_fullpath: "{{roles_path}}/bodhi2/base/templates/configmap.yml" }}
|
||||
- { role: openshift/object, vars: {app: bodhi, file: service.yml }}
|
||||
|
|
|
@ -16,6 +16,9 @@ items:
|
|||
vendor="Fedora Infrastructure" \
|
||||
license="MIT"
|
||||
RUN curl -o /etc/yum.repos.d/infra-tags.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags.repo
|
||||
{% if env == "staging" %}
|
||||
RUN curl -o /etc/yum.repos.d/infra-tags-stg.repo https://infrastructure.fedoraproject.org/cgit/ansible.git/plain/files/common/fedora-infra-tags-stg.repo
|
||||
{% endif %}
|
||||
RUN dnf install -y bodhi-server python2-gunicorn
|
||||
RUN mv /usr/share/bodhi/bodhi.wsgi /usr/lib/python2.7/site-packages/bodhiwsgi.py
|
||||
EXPOSE 8080
|
Loading…
Add table
Add a link
Reference in a new issue