summary refs log tree commit diff
path: root/.buildkite/pipeline.yml
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-09 11:34:20 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-09 11:34:20 +0100
commit7a50b07bb425cfd65705602dad426697d6d0011e (patch)
treee61290b6e176512e4a5bae3befd1a737acd09d84 /.buildkite/pipeline.yml
parentTry to run stuff on buildkite (diff)
downloadsynapse-7a50b07bb425cfd65705602dad426697d6d0011e.tar.xz
Add workers to buildkite
Diffstat (limited to '.buildkite/pipeline.yml')
-rw-r--r--.buildkite/pipeline.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml
index d890e4a9c0..f16682824d 100644
--- a/.buildkite/pipeline.yml
+++ b/.buildkite/pipeline.yml
@@ -44,6 +44,31 @@ steps:
       - docker#v3.0.1:
           image: "python:3.6"
 
+  - label: "SyTest - :python: 2.7 / :postgres: 9.6 / Workers"
+    agents:
+      queue: "medium"
+    env:
+      POSTGRES: "1"
+      WORKERS: "1"
+    command:
+      - "bash .buildkite/merge_base_branch.sh"
+      - "bash /synapse_sytest.sh"
+    plugins:
+      - docker#v3.0.1:
+          image: "matrixdotorg/sytest-synapse:dinsic-test"
+          propagate-environment: true
+          always-pull: true
+          workdir: "/src"
+          entrypoint: "/bin/sh"
+          init: false
+          shell: ["-x", "-c"]
+          mount-buildkite-agent: false
+          volumes: ["./logs:/logs"]
+      - artifacts#v1.2.0:
+          upload: [ "logs/**/*.log", "logs/**/*.log.*", "logs/results.tap" ]
+      - matrix-org/annotate:
+          path: "logs/annotate.md"
+          style: "error"
 
   - label: "SyTest - :python: 2.7 / :postgres: 9.6 / Monolith"
     agents: