taskotron: merge trigger rules config files
This commit is contained in:
parent
5af3c19681
commit
9e30846360
2 changed files with 13 additions and 56 deletions
|
@ -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%}
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue