Add docker-compose files required by pipeline
This commit is contained in:
13
.buildkite/docker-compose-env
Normal file
13
.buildkite/docker-compose-env
Normal file
@@ -0,0 +1,13 @@
|
||||
CI
|
||||
BUILDKITE
|
||||
BUILDKITE_BUILD_NUMBER
|
||||
BUILDKITE_BRANCH
|
||||
BUILDKITE_BUILD_NUMBER
|
||||
BUILDKITE_JOB_ID
|
||||
BUILDKITE_BUILD_URL
|
||||
BUILDKITE_PROJECT_SLUG
|
||||
BUILDKITE_COMMIT
|
||||
BUILDKITE_PULL_REQUEST
|
||||
BUILDKITE_TAG
|
||||
CODECOV_TOKEN
|
||||
TRIAL_FLAGS
|
||||
23
.buildkite/docker-compose.py35.pg95.yaml
Normal file
23
.buildkite/docker-compose.py35.pg95.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:9.5
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
||||
command: -c fsync=off
|
||||
|
||||
testenv:
|
||||
image: python:3.5
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file: docker-compose-env
|
||||
environment:
|
||||
SYNAPSE_POSTGRES_HOST: postgres
|
||||
SYNAPSE_POSTGRES_USER: postgres
|
||||
SYNAPSE_POSTGRES_PASSWORD: postgres
|
||||
working_dir: /src
|
||||
volumes:
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src
|
||||
23
.buildkite/docker-compose.py37.pg11.yaml
Normal file
23
.buildkite/docker-compose.py37.pg11.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:11
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
||||
command: -c fsync=off
|
||||
|
||||
testenv:
|
||||
image: python:3.7
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file: docker-compose-env
|
||||
environment:
|
||||
SYNAPSE_POSTGRES_HOST: postgres
|
||||
SYNAPSE_POSTGRES_USER: postgres
|
||||
SYNAPSE_POSTGRES_PASSWORD: postgres
|
||||
working_dir: /src
|
||||
volumes:
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src
|
||||
23
.buildkite/docker-compose.py37.pg95.yaml
Normal file
23
.buildkite/docker-compose.py37.pg95.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:9.5
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
||||
command: -c fsync=off
|
||||
|
||||
testenv:
|
||||
image: python:3.7
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file: docker-compose-env
|
||||
environment:
|
||||
SYNAPSE_POSTGRES_HOST: postgres
|
||||
SYNAPSE_POSTGRES_USER: postgres
|
||||
SYNAPSE_POSTGRES_PASSWORD: postgres
|
||||
working_dir: /src
|
||||
volumes:
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src
|
||||
23
.buildkite/docker-compose.py38.pg12.yaml
Normal file
23
.buildkite/docker-compose.py38.pg12.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
postgres:
|
||||
image: postgres:12
|
||||
environment:
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_INITDB_ARGS: "--lc-collate C --lc-ctype C --encoding UTF8"
|
||||
command: -c fsync=off
|
||||
|
||||
testenv:
|
||||
image: python:3.8
|
||||
depends_on:
|
||||
- postgres
|
||||
env_file: docker-compose-env
|
||||
environment:
|
||||
SYNAPSE_POSTGRES_HOST: postgres
|
||||
SYNAPSE_POSTGRES_USER: postgres
|
||||
SYNAPSE_POSTGRES_PASSWORD: postgres
|
||||
working_dir: /src
|
||||
volumes:
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src
|
||||
22
.buildkite/docker-compose.sytest.py37.redis.yaml
Normal file
22
.buildkite/docker-compose.sytest.py37.redis.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
redis:
|
||||
image: redis:5.0
|
||||
|
||||
sytest:
|
||||
image: matrixdotorg/sytest-synapse:py37
|
||||
depends_on:
|
||||
- redis
|
||||
env_file: docker-compose-env
|
||||
environment:
|
||||
POSTGRES: "1"
|
||||
WORKERS: "1"
|
||||
BLACKLIST: "synapse-blacklist-with-workers"
|
||||
REDIS: "redis"
|
||||
working_dir: "/src"
|
||||
entrypoint: ""
|
||||
volumes:
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}:/src
|
||||
- ${BUILDKITE_BUILD_CHECKOUT_PATH}/logs:/logs
|
||||
Reference in New Issue
Block a user