diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/copr-erlang-update.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/playbooks/copr-erlang-update.yml b/tests/playbooks/copr-erlang-update.yml new file mode 100644 index 000000000..a05a7ce24 --- /dev/null +++ b/tests/playbooks/copr-erlang-update.yml @@ -0,0 +1,18 @@ +--- +- name: COPR Erlang update + hosts: all + tasks: + - name: Ensure webhook URLs are defined + no_log: true + ansible.builtin.assert: + that: + - kolla_copr_webhooks.urls is defined + - kolla_copr_webhooks.urls | length > 0 + fail_msg: "Missing Zuul secret 'kolla_copr_webhooks.urls' (list of webhook URLs)." + + - name: Trigger COPR builds via webhooks + no_log: true + ansible.builtin.uri: + url: "{{ item }}" + method: POST + loop: "{{ kolla_copr_webhooks.urls }}" |
