Configure Bodhi to use Greenwave for gating in staging.
Signed-off-by: Randy Barlow <randy@electronsweatshop.com>
This commit is contained in:
parent
03d02cb39e
commit
a68c5a17f4
2 changed files with 21 additions and 0 deletions
|
@ -246,6 +246,16 @@
|
|||
- bodhi
|
||||
- cron
|
||||
|
||||
- name: bodhi-check-policies cron job.
|
||||
cron: name="bodhi-check-policies" hour="*/6" minute=0 user="apache"
|
||||
job="/usr/bin/bodhi-check-policies > /dev/null"
|
||||
cron_file=bodhi-check-policies-job
|
||||
when: inventory_hostname.startswith('bodhi-backend01') and env == "staging"
|
||||
tags:
|
||||
- config
|
||||
- bodhi
|
||||
- cron
|
||||
|
||||
- name: bodhi-expire-overrides cron job.
|
||||
cron: name="bodhi-expire-overrides" hour="*" minute=0 user="apache"
|
||||
job="/usr/bin/bodhi-expire-overrides /etc/bodhi/production.ini 2> /dev/null"
|
||||
|
|
|
@ -257,6 +257,17 @@ fmn_url = https://apps.stg.fedoraproject.org/notifications/
|
|||
resultsdb_url = https://taskotron.stg.fedoraproject.org/resultsdb/
|
||||
resultsdb_api_url = https://taskotron.stg.fedoraproject.org/resultsdb_api/
|
||||
|
||||
# Set this to True to enable gating based on policies enforced by Greenwave. If you set this to True,
|
||||
# be sure to add a cron job to run the bodhi-check-policies CLI periodically.
|
||||
test_gating.required = True
|
||||
|
||||
# If this is set to a URL, a "More information about test gating" link will appear on update pages for users
|
||||
# to click and learn more.
|
||||
# test_gating.url =
|
||||
|
||||
# The API url of Greenwave.
|
||||
greenwave_api_url = https://greenwave.fedoraproject.org/api/v1.0
|
||||
|
||||
fedmenu.url = https://apps.stg.fedoraproject.org/fedmenu
|
||||
fedmenu.data_url = https://apps.stg.fedoraproject.org/js/data.js
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue