Hold greenwave policy in the config map.
This commit is contained in:
parent
e6ee55eb78
commit
38bc484a19
2 changed files with 12 additions and 3 deletions
|
@ -21,8 +21,6 @@ spec:
|
||||||
python2-flask
|
python2-flask
|
||||||
RUN git clone -b startup-logging https://pagure.io/greenwave.git /srv/greenwave
|
RUN git clone -b startup-logging https://pagure.io/greenwave.git /srv/greenwave
|
||||||
RUN ln -s /etc/greenwave/settings.py /srv/greenwave/conf/settings.py
|
RUN ln -s /etc/greenwave/settings.py /srv/greenwave/conf/settings.py
|
||||||
RUN mkdir -p /etc/greenwave/policies/
|
|
||||||
RUN ln -s /srv/greenwave/conf/policies/fedora.yaml /etc/greenwave/policies/fedora.yaml
|
|
||||||
WORKDIR /srv/greenwave
|
WORKDIR /srv/greenwave
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
|
ENTRYPOINT gunicorn --bind 0.0.0.0:8080 --access-logfile=- greenwave.wsgi:app
|
||||||
|
|
|
@ -11,4 +11,15 @@ data:
|
||||||
PORT = 8080
|
PORT = 8080
|
||||||
WAIVERDB_API_URL = 'https://waiverdb-stg-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
|
WAIVERDB_API_URL = 'https://waiverdb-stg-web-waiverdb.app.os.stg.fedoraproject.org/api/v1.0'
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
POLICIES_DIR = '/etc/greenwave/policies/'
|
POLICIES_DIR = '/etc/greenwave/'
|
||||||
|
fedora.yaml: |-
|
||||||
|
id: "taskotron_release_critical_tasks"
|
||||||
|
product_versions:
|
||||||
|
- fedora-27
|
||||||
|
- fedora-26
|
||||||
|
- fedora-25
|
||||||
|
decision_context: bodhi_update_push_stable
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: dist.abicheck}
|
||||||
|
- !PassingTestCaseRule {test_case_name: dist.rpmdeplint}
|
||||||
|
- !PassingTestCaseRule {test_case_name: dist.upgradepath}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue