taskotron-trigger: push latest changes to prod

Fixes upgradepath+rpmdeplint scheduling.
This commit is contained in:
Kamil Páral 2017-11-01 10:35:09 +01:00
parent b188cef81b
commit 858391375b

View file

@ -20,9 +20,7 @@
- when:
message_type: KojiTagChanged
{% if deployment_type in ['dev'] %}
tag: {$regex: '/^f[0-9]{2}-updates(-testing)?-pending$$/'}
{% endif %}
do:
- {tasks: [rpmdeplint]}
@ -30,11 +28,7 @@
{# stg bodhi doesn't have the info we need, stg koji doesn't have the builds from prod bodhi #}
- when:
message_type: KojiTagChanged
{% if deployment_type in ['dev'] %}
tag: {$regex: '/^f[0-9]{2}-updates-pending$$/'}
{% else %}
tag: {$regex: '/.*(?<!testing-pending)$$/'}
{% endif %}
do:
- {tasks: [upgradepath]}
{% endif %}