diff options
author | Tim Flink <tflink@fedoraproject.org> | 2017-03-03 02:16:54 +0000 |
---|---|---|
committer | Tim Flink <tflink@fedoraproject.org> | 2017-03-03 02:16:54 +0000 |
commit | 63bd927799eb399ee8514a191eb3ecea6bead11e (patch) | |
tree | 0b1fcd75a3f7d069bf440a86addd99a6733895ab | |
parent | 33fcfd1fcdf56a8bf3602e57018dce022d730b68 (diff) | |
download | ansible-63bd927799eb399ee8514a191eb3ecea6bead11e.tar.gz ansible-63bd927799eb399ee8514a191eb3ecea6bead11e.tar.xz ansible-63bd927799eb399ee8514a191eb3ecea6bead11e.zip |
fix trigger config for package-specific tasks
-rw-r--r-- | inventory/group_vars/taskotron-stg | 2 | ||||
-rw-r--r-- | roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/inventory/group_vars/taskotron-stg b/inventory/group_vars/taskotron-stg index 82d6930aa..53628403f 100644 --- a/inventory/group_vars/taskotron-stg +++ b/inventory/group_vars/taskotron-stg @@ -48,7 +48,7 @@ resultsdb_external_url: https://taskotron.stg.fedoraproject.org/resultsdb/ resultsdb_fe_endpoint: resultsdb taskotron_docs_url: https://qa.fedoraproject.org/docs/libtaskotron/latest/ -trigger_distgit_repo_url: http://pkgs.stg.fedoraproject.org/pagure/rpms/ +trigger_distgit_repo_url: http://pkgs.stg.fedoraproject.org trigger_critpath_url: https://admin.stg.fedoraproject.org/pkgdb/api/critpath?format=json diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 index 645a9198e..4205903da 100644 --- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 +++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 @@ -47,5 +47,5 @@ # 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'}} + - {discover: {repo: '{{ trigger_distgit_repo_url }}/rpms/${name}.git', branch: "${distgit_branch}", fallback_branch: 'master', recursive: true}} {% endif %} |