summary refs log tree commit diff
path: root/.buildkite/pipeline.yml
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-10-07 12:52:02 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-10-07 12:52:02 +0100
commit9e1e5f8ed5aa6047d4d0d0b5cc527d9a5dd681f5 (patch)
tree626b394ea4636c31b4be2472b825fe56921400a2 /.buildkite/pipeline.yml
parentMerge pull request #8 from matrix-org/babolivier/3pid-invite-revoked (diff)
downloadsynapse-9e1e5f8ed5aa6047d4d0d0b5cc527d9a5dd681f5.tar.xz
First attempt at running SyTest in 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 719f22b4e1..e875fa61dc 100644
--- a/.buildkite/pipeline.yml
+++ b/.buildkite/pipeline.yml
@@ -232,3 +232,28 @@ steps:
           limit: 2
         - exit_status: 2
           limit: 2
+
+  - 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"
+          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"
\ No newline at end of file