On Wed, Nov 02, 2016 at 09:34:38AM -0400, Martin Krizek wrote:
Hi,
just before freeze break started we accidentally mis-configured
taskotron-trigger not to run rpmlint/rpmgrill. The following
patch fixes that:
diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
b/roles/taskotron/taskotron
index c9fb122..b0a6d00 100644
--- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
+++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
@@ -4,6 +4,10 @@
do:
- {tasks: [rpmlint, rpmgrill, python-versions]}
- {discover: {repo: '{{ trigger_distgit_repo_url
}}/rpms-checks/${name}.git', branch: "${distgit_bra
+{% else %}
+- when: {message_type: KojiBuildPackageCompleted}
+ do:
+ - {tasks: [rpmlint, rpmgrill]}
{% endif %}
- when: {message_type: KojiBuildDockerCompleted}
do:
Looks fine to me: +1
Pierre