diff options
| author | Tim Flink <tflink@fedoraproject.org> | 2017-03-16 17:45:01 +0000 |
|---|---|---|
| committer | Tim Flink <tflink@fedoraproject.org> | 2017-03-16 17:45:01 +0000 |
| commit | ced46b4223a1a2d744b5d8b5d82672e42d3bbba3 (patch) | |
| tree | 9295e05ad5534e7de88b055a3884ce51663df30a /roles/taskotron/taskotron-trigger | |
| parent | 2fa26de7be7bdc7b53d945f272a20f52e80d2df4 (diff) | |
| download | ansible-ced46b4223a1a2d744b5d8b5d82672e42d3bbba3.tar.gz ansible-ced46b4223a1a2d744b5d8b5d82672e42d3bbba3.tar.xz ansible-ced46b4223a1a2d744b5d8b5d82672e42d3bbba3.zip | |
fixing trigger rules to work properly
Diffstat (limited to 'roles/taskotron/taskotron-trigger')
| -rw-r--r-- | roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 index b7cbf00a3..363f47895 100644 --- a/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 +++ b/roles/taskotron/taskotron-trigger/templates/trigger_rules.yml.j2 @@ -3,6 +3,7 @@ - when: {message_type: KojiBuildPackageCompleted} do: - {tasks: [rpmlint, rpmgrill, python-versions]} + - {discover: {repo: '{{ trigger_distgit_repo_url }}/rpms/${name}.git', branch: "${distgit_branch}", fallback_branch: 'master', recursive: true}} {% else %} - when: {message_type: KojiBuildPackageCompleted} do: @@ -42,11 +43,6 @@ - when: {message_type: DistGitCommit, namespace: modules} do: - {tasks: [check_modulemd]} - -# 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', recursive: true}} {% endif %} {% if deployment_type in ['dev'] %} |
