Merge "Add Zuul configuration to run tests on the CI node"
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..330d73f
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,11 @@
+- job:
+    name: plugins-events-build
+    parent: gerrit-plugin-build
+    pre-run:
+        tools/playbooks/install_docker.yaml
+
+- project:
+    check:
+      jobs:
+        - plugins-events-build
+
diff --git a/tools/playbooks/install_docker.yaml b/tools/playbooks/install_docker.yaml
new file mode 100644
index 0000000..eabfe44
--- /dev/null
+++ b/tools/playbooks/install_docker.yaml
@@ -0,0 +1,9 @@
+- hosts: all
+  roles:
+    - name: ensure-docker
+  tasks:
+    - name: Install compose
+      shell: |
+        sudo curl -L "https://github.com/docker/compose/releases/download/1.29.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
+        sudo chmod +x /usr/local/bin/docker-compose
+