Skip to content

Commit 9a71e09

Browse files
committed
🔧 Build: Skip RabbitMQ install in CI
Add `ci_skip` to the RabbitMQ task to prevent CI failures when running inside a Docker container, where no systemd is available. The CI previously managed to start `rabbitmq-server` in Docker despite the absence of systemd. As of `rabbitmq-server 3.12.1-1ubuntu1.3`, the Ubuntu package explicitly blocks `dh_installinit` in favour of `dh_systemd_start`, likely removing the SysV fallback that Ansible's `service` module was relying on. The result is: Could not find the requested service rabbitmq-server: host Since the AiiDA daemon (the primary RabbitMQ consumer) is already skipped in Docker via `when: daemon_service is defined and daemon_service`, skipping RabbitMQ itself in the CI is reasonable.
1 parent b400e09 commit 9a71e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playbook-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
# TODO control version
133133
# could install with conda, but how to set up the systemd service?
134134
- name: Install RabbitMQ server service
135-
tags: [rabbitmq]
135+
tags: [rabbitmq, ci_skip]
136136
become: true
137137
become_user: "{{ root_user }}"
138138
ansible.builtin.import_tasks: local/tasks/rabbitmq.yml

0 commit comments

Comments
 (0)