From 6b8123a8ccf4273d713c3fe3f8f592b85fe8de99 Mon Sep 17 00:00:00 2001 From: Bartosz Bezak Date: Tue, 2 Sep 2025 15:33:24 +0200 Subject: 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 --- tests/playbooks/copr-erlang-update.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/playbooks/copr-erlang-update.yml (limited to 'tests') 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 }}" -- cgit v1.2.3