diff options
| author | Bartosz Bezak <bartosz@stackhpc.com> | 2025-09-02 15:33:24 +0200 |
|---|---|---|
| committer | Bartosz Bezak <bartosz@stackhpc.com> | 2025-09-03 12:27:45 +0200 |
| commit | 6b8123a8ccf4273d713c3fe3f8f592b85fe8de99 (patch) | |
| tree | 4b24fedbe7a70ceb18bdad3463a20a72ad312360 /tests | |
| parent | cc328dc8656399ec4a68156573e91e6930fa1948 (diff) | |
| download | kolla-6b8123a8ccf4273d713c3fe3f8f592b85fe8de99.tar.gz kolla-6b8123a8ccf4273d713c3fe3f8f592b85fe8de99.zip | |
CI: add weekly COPR RPM build Erlang job
Updating Erlang RPMs for aarch64 in Fedora COPR build system [1] [2].
Using COPR webhooks feature [3].
[1] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-26
[2] https://copr.fedorainfracloud.org/coprs/g/openstack-kolla/rabbitmq-erlang-27
[3] https://docs.pagure.org/copr.copr/user_documentation.html#custom-webhook
Change-Id: Ibd4450d14691aca627d99c321b313420ce6dd6f2
Signed-off-by: Bartosz Bezak <bartosz@stackhpc.com>
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 }}" |
