taskotron-dev: run tasks per-arch
This commit is contained in:
parent
927e6f936f
commit
87a9ced54a
3 changed files with 74 additions and 1 deletions
|
@ -20,7 +20,10 @@
|
||||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||||
|
|
||||||
- name: generate trigger configuration
|
- name: generate trigger configuration
|
||||||
template: src=trigger.cfg.j2 dest=/etc/taskotron/trigger.cfg owner=root group=root mode=0744
|
template: src={{ item }} dest=/etc/taskotron/trigger.cfg owner=root group=root mode=0744
|
||||||
|
with_first_found:
|
||||||
|
- trigger.cfg.j2.{{ deployment_type }}
|
||||||
|
- trigger.cfg.j2
|
||||||
notify:
|
notify:
|
||||||
- restart fedmsg-hub
|
- restart fedmsg-hub
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
[buildbot]
|
||||||
|
url = http://127.0.0.1:8080/change_hook
|
||||||
|
|
||||||
|
[trigger]
|
||||||
|
valid_arches = x86_64,armhfp
|
||||||
|
koji_url = http://koji.fedoraproject.org/kojihub
|
||||||
|
datagrepper_url = https://apps.fedoraproject.org/datagrepper/raw
|
||||||
|
execdb_server = {{ execdb_server }}
|
||||||
|
runner_type = BuildbotRunner
|
||||||
|
job_logging = True
|
||||||
|
joblog_file = {{ trigger_joblog_file }}
|
||||||
|
fuse_delay = 900 ; 15 minutes in seconds
|
||||||
|
git_cache_dir = {{ trigger_cache_dir }}
|
||||||
|
rules_template = {{ trigger_rules_template_path }}
|
||||||
|
{# enable this if you want taskotron-stg to react to just stg fedmsgs
|
||||||
|
{% if deployment_type in ['stg'] %}
|
||||||
|
deployment_type = stg
|
||||||
|
{% endif%}
|
||||||
|
#}
|
||||||
|
|
||||||
|
[koji_build_completed]
|
||||||
|
critpath_filepath = {{ trigger_critpath_file }}
|
||||||
|
|
|
@ -0,0 +1,47 @@
|
||||||
|
---
|
||||||
|
- 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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue