summary refs log tree commit diff
path: root/.buildkite/pipeline.yml
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-18 15:25:45 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-18 15:25:45 +0100
commit73147f44fcbaea6ee1e5869a04196a1da0a26e1d (patch)
tree0c0e64d57303cea095f17da89511af28af58de8d /.buildkite/pipeline.yml
parentAdd TAP formatting script (diff)
downloadsynapse-73147f44fcbaea6ee1e5869a04196a1da0a26e1d.tar.xz
Add py3 jobs on BuildKite
Diffstat (limited to '.buildkite/pipeline.yml')
-rw-r--r--.buildkite/pipeline.yml55
1 files changed, 53 insertions, 2 deletions
diff --git a/.buildkite/pipeline.yml b/.buildkite/pipeline.yml
index f16682824d..7bbd2c47fa 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 / Monolith"
+    agents:
+      queue: "medium"
+    env:
+      POSTGRES: "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 / Workers"
     agents:
       queue: "medium"
@@ -70,7 +95,7 @@ steps:
           path: "logs/annotate.md"
           style: "error"
 
-  - label: "SyTest - :python: 2.7 / :postgres: 9.6 / Monolith"
+  - label: "SyTest - :python: 3 / :postgres: 9.6 / Monolith"
     agents:
       queue: "medium"
     env:
@@ -80,7 +105,33 @@ steps:
       - "bash /synapse_sytest.sh"
     plugins:
       - docker#v3.0.1:
-          image: "matrixdotorg/sytest-synapse:dinsic-test"
+          image: "matrixdotorg/sytest-synapse:dinsic-test-py3"
+          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: 3 / :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-py3"
           propagate-environment: true
           always-pull: true
           workdir: "/src"