diff options
| author | Zuul <zuul@review.opendev.org> | 2025-09-04 08:12:20 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2025-09-04 08:12:20 +0000 |
| commit | 20f371e01dc0c3629006e2deebdee3d1b86cc01d (patch) | |
| tree | d7d5e8ec7a575f3857fd933cf9a92f1c9fc7e993 /tests | |
| parent | d2ca2d38fe522b6b38133e56e6898172b8a5607c (diff) | |
| parent | 6b8123a8ccf4273d713c3fe3f8f592b85fe8de99 (diff) | |
| download | kolla-20f371e01dc0c3629006e2deebdee3d1b86cc01d.tar.gz kolla-20f371e01dc0c3629006e2deebdee3d1b86cc01d.zip | |
Merge "CI: add weekly COPR RPM build Erlang job"
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 }}" |
