summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2017-01-18 16:53:20 +0000
committerRalph Bean <rbean@redhat.com>2017-01-18 16:53:20 +0000
commit13275abc766ed41b675a38630fd8496dab97cdcb (patch)
treeca0ebe6bd77fc4e997d3d3b6a5f71826836ba97a /roles
parentf5d8e102ad83b46dbbc414b3c4df170dd48f1f75 (diff)
downloadansible-13275abc766ed41b675a38630fd8496dab97cdcb.tar.gz
ansible-13275abc766ed41b675a38630fd8496dab97cdcb.tar.xz
ansible-13275abc766ed41b675a38630fd8496dab97cdcb.zip
Enable the check_modulemd taskotron check in taskotron-dev.
Diffstat (limited to 'roles')
-rw-r--r--roles/taskotron/taskotron-client/templates/namespaces.yaml.j21
-rw-r--r--roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j25
2 files changed, 6 insertions, 0 deletions
diff --git a/roles/taskotron/taskotron-client/templates/namespaces.yaml.j2 b/roles/taskotron/taskotron-client/templates/namespaces.yaml.j2
index 23c82729b..3fd207b8c 100644
--- a/roles/taskotron/taskotron-client/templates/namespaces.yaml.j2
+++ b/roles/taskotron/taskotron-client/templates/namespaces.yaml.j2
@@ -13,6 +13,7 @@ namespaces_whitelist:
- {{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/abicheck/
- {{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/rpmgrill/
- {{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/python-versions/
+ - {{ grokmirror_user }}@{{ buildmaster }}:/var/lib/git/mirror/fedoraqa/check_modulemd/
pkg:
# The directory used to be called rpms-checks
- git://pkgs.fedoraproject.org/rpms-checks/
diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
index 987cfefa4..cdd86c55d 100644
--- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
+++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2
@@ -30,3 +30,8 @@
tag: {$regex: '/.*(?<!testing-pending)$$/'}
do:
- {tasks: [upgradepath]}
+{% if deployment_type in ['dev'] %}
+- when: {message_type: DistGitCommit, namespace: modules}
+ do:
+ - {tasks: [check_modulemd]}
+{% endif %}