taskotron: merge trigger rules config files

This commit is contained in:
Kamil Páral 2018-07-25 13:38:42 +02:00
parent 5af3c19681
commit 9e30846360
2 changed files with 13 additions and 56 deletions

View file

@ -45,3 +45,16 @@
arches:
- noarch
{% 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%}

View file

@ -1,56 +0,0 @@
---
- 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