summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Flink <tflink@fedoraproject.org>2017-03-03 01:49:35 +0000
committerTim Flink <tflink@fedoraproject.org>2017-03-03 01:49:35 +0000
commit33fcfd1fcdf56a8bf3602e57018dce022d730b68 (patch)
treeb21675754887868259ffdafa71c73a6679456b29
parent4461a16f07148640c5af5483c6f325bebc25c5ba (diff)
downloadansible-33fcfd1fcdf56a8bf3602e57018dce022d730b68.tar.gz
ansible-33fcfd1fcdf56a8bf3602e57018dce022d730b68.tar.xz
ansible-33fcfd1fcdf56a8bf3602e57018dce022d730b68.zip
trigger off of builds, not scratch builds
-rw-r--r--roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j25
1 files changed, 2 insertions, 3 deletions
diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
index 504c1c31a..645a9198e 100644
--- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
+++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
@@ -44,9 +44,8 @@
do:
- {tasks: [check_modulemd]}
-# trigger off of scratch builds in dev
-- when: {message_type: KojiTaskCompleted}
+# do package-specific tasks if they come in
+- when: {message_type: KojiBuildCompleted}
do:
- {discover: {repo: '{{ trigger_distgit_repo_url }}/rpms/${name}.git', branch: "${distgit_branch}", fallback_branch: 'master'}}
- - {tasks: [rpmlint-scratch]}
{% endif %}