From 7a50b07bb425cfd65705602dad426697d6d0011e Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Wed, 9 Oct 2019 11:34:20 +0100 Subject: Add workers to buildkite --- .buildkite/pipeline.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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: -- cgit 1.5.1