mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-11 18:36:53 +08:00
45 lines
1.0 KiB
Django/Jinja
45 lines
1.0 KiB
Django/Jinja
---
|
|
- when:
|
|
message_type: KojiBuildPackageCompleted
|
|
do:
|
|
- tasks:
|
|
- rpmlint
|
|
- tasks:
|
|
- python-versions
|
|
- rpmgrill
|
|
arches:
|
|
- noarch
|
|
|
|
- when:
|
|
message_type: KojiBuildPackageCompleted
|
|
name:
|
|
$nin: [{{ trigger_abicheck_blacklist | join(',') }}]
|
|
do:
|
|
- tasks:
|
|
- abicheck
|
|
|
|
# disable rpmdeplint temporarily because of https://github.com/fedora-infra/bodhi/issues/3944
|
|
# - when:
|
|
# message_type: KojiTagChanged
|
|
# tag:
|
|
# $and:
|
|
# - $regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'
|
|
# - $not:
|
|
# $regex: '/^f33-.*/' # Rawhide CI gating not supported yet
|
|
# do:
|
|
# - tasks:
|
|
# - rpmdeplint
|
|
|
|
{% if deployment_type in ['dev'] %}
|
|
{# This is sufficient to run in a single environment only #}
|
|
- when:
|
|
message_type: PagureGitReceive
|
|
repo:
|
|
$regex: '/taskotron\/.+/'
|
|
do:
|
|
- discover: {repo: 'https://pagure.io/taskotron/task-dockerbuild.git'}
|
|
arches:
|
|
- x86_64
|
|
match_host_arch: True
|
|
{% endif %}
|