diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-10-18 15:25:45 +0100 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-10-18 15:25:45 +0100 |
commit | 73147f44fcbaea6ee1e5869a04196a1da0a26e1d (patch) | |
tree | 0c0e64d57303cea095f17da89511af28af58de8d /.buildkite/pipeline.yml | |
parent | Add TAP formatting script (diff) | |
download | synapse-73147f44fcbaea6ee1e5869a04196a1da0a26e1d.tar.xz |
Add py3 jobs on BuildKite
Diffstat (limited to '.buildkite/pipeline.yml')
-rw-r--r-- | .buildkite/pipeline.yml | 55 |
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" |