(greenwave) Borrow abicheck blacklist from taskotron vars.

This commit is contained in:
Ralph Bean 2017-10-25 00:42:56 +00:00
parent 1f77e50178
commit 44a2cdd777

View file

@ -112,8 +112,23 @@ data:
rules:
- !PassingTestCaseRule {test_case_name: dist.rpmdeplint}
- !PassingTestCaseRule {test_case_name: dist.upgradepath}
# Needs a blacklist to pass...
#- !PassingTestCaseRule {test_case_name: dist.abicheck}
--- !Policy
id: "taskotron_release_critical_tasks_for_stable_with_blacklist"
product_versions:
- fedora-27
- fedora-26
- fedora-25
decision_context: bodhi_update_push_stable
relevance_value: koji_build
# abicheck only runs on a subset of all packages. We borrow the list from
# taskotron's ansible vars. See discussion in https://pagure.io/greenwave/issue/68
{% if env == 'staging' %}
blacklist: [{{ hostvars[groups['taskotron-stg'][0]]['trigger_abicheck_blacklist'] | join (',') }}]
{% else %}
blacklist: [{{ hostvars[groups['taskotron-prod'][0]]['trigger_abicheck_blacklist'] | join (',') }}]
{% endif %}
rules:
- !PassingTestCaseRule {test_case_name: dist.abicheck}
--- !Policy
# Fedora Atomic CI pipeline
# http://fedoraproject.org/wiki/CI