Files
fedora-infra_ansible/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2.dev
2018-06-07 18:52:53 +02:00

57 lines
1.0 KiB
Plaintext

---
- 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
- when:
message_type: KojiTagChanged
tag:
$regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'
do:
- tasks:
- rpmdeplint
- when:
message_type: DistGitCommit
namespace: modules
do:
- tasks:
- check_modulemd
arches:
- noarch
- when:
message_type: GitHubPullRequestOpened
repo_name:
$regex: '/^container-images\/.+/'
do:
- tasks:
- mtf-containers
arches:
- noarch
- when:
message_type: PagureGitReceive
repo:
$regex: '/taskotron\/.+/'
do:
- discover: {repo: 'https://pagure.io/taskotron/task-dockerbuild.git'}
arches:
- x86_64
match_host_arch: True