mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
f61cdc14e7
-----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEEgQG31Z317NrSMt0QiISIDS7+X/QFAl05rSATHGFuZHJld0Bh bW9yZ2FuLnh5egAKCRCIhIgNLv5f9D36D/9n2clmrMWaVTtRz7SO5F2rY+JuA61l kb3Xq1SlYk2WRWD7/K4RnGbYixjAvCWNsIVs9NYhqG3cyQ+Gb0+X4zO6XzvZ5Th0 h2bqMyNMBvRhy75rFrygS21iSvUjst+e4nrr1XPnGblXPnXgUE/WjJ05m8xTjn/a rMUjQbWllpcMEmqPEEFwo84bBMs77evHWIb9k9jEBT6LUfp1BPodXmLdtIEF22ug iewx6pBcwtv5vVpWxi9BiUsio0HJjRsTQOFVR9E9fT0rQEZcH1DJjxqk1Z9kJEDd krtj/RV2frtteUmxoMcSO2hdUlfm2/0Qi0vgdFwUDT410wweWLG/NYrHrJ3Tlyyz luD0PGPiB8BAanytmUEbzTd0yAACV2uBeheCk4zR04gdQ8zkzQyeSn5JUhj5ba8+ LGi7eZJhnXJEPeZDqioy8y5CdWh3PlJo2rgICH9se6yD0GYFc693j2+yMgygunnB ZkuC2Q5lozbOsPoeL/cW80RrFOy2H8V5nU/VTSwAgjP+xIkm9Yk9qVHVusGINsdv Df5NWhN8wOIyah4w45+2kbt4GH92fPxf9D+0EZ1wm3K0AmvzIbK94jdXw5oBB24R EkkK/8oTAM/ErbnP+sBxeDjVJJGTXsRYL7qC9HeXVtaDDNmqjp1Lw7seuk0dZgap S1U6onGrH92xdg== =Ej8S -----END PGP SIGNATURE----- Merge tag 'v1.2.0' into shhs No changes since v1.2.0rc2.
250 lines
No EOL
5.9 KiB
YAML
250 lines
No EOL
5.9 KiB
YAML
env:
|
|
CODECOV_TOKEN: "2dd7eb9b-0eda-45fe-a47c-9b5ac040045f"
|
|
|
|
steps:
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e check_codestyle"
|
|
label: "\U0001F9F9 Check Style"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e packaging"
|
|
label: "\U0001F9F9 packaging"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e check_isort"
|
|
label: "\U0001F9F9 isort"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "scripts-dev/check-newsfragment"
|
|
label: ":newspaper: Newsfile"
|
|
branches: "!master !develop !release-* !shhs-v*"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
propagate-environment: true
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e check-sampleconfig"
|
|
label: "\U0001F9F9 check-sample-config"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
|
|
- wait
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e py35-old,codecov"
|
|
label: ":python: 3.5 / SQLite / Old Deps"
|
|
branches: "!shhs !shhs-*"
|
|
env:
|
|
TRIAL_FLAGS: "-j 2"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.5"
|
|
propagate-environment: true
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e py35,codecov"
|
|
label: ":python: 3.5 / SQLite"
|
|
branches: "!shhs !shhs-*"
|
|
env:
|
|
TRIAL_FLAGS: "-j 2"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.5"
|
|
propagate-environment: true
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e py36,codecov"
|
|
label: ":python: 3.6 / SQLite"
|
|
branches: "!shhs !shhs-*"
|
|
env:
|
|
TRIAL_FLAGS: "-j 2"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.6"
|
|
propagate-environment: true
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- command:
|
|
- "python -m pip install tox"
|
|
- "tox -e py37,codecov"
|
|
label: ":python: 3.7 / SQLite"
|
|
env:
|
|
TRIAL_FLAGS: "-j 2"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "python:3.7"
|
|
propagate-environment: true
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- label: ":python: 3.5 / :postgres: 9.5"
|
|
branches: "!shhs !shhs-*"
|
|
env:
|
|
TRIAL_FLAGS: "-j 4"
|
|
command:
|
|
- "bash -c 'python -m pip install tox && python -m tox -e py35-postgres,codecov'"
|
|
plugins:
|
|
- docker-compose#v2.1.0:
|
|
run: testenv
|
|
config:
|
|
- .buildkite/docker-compose.py35.pg95.yaml
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- label: ":python: 3.7 / :postgres: 9.5"
|
|
branches: "!shhs !shhs-*"
|
|
env:
|
|
TRIAL_FLAGS: "-j 4"
|
|
command:
|
|
- "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
|
|
plugins:
|
|
- docker-compose#v2.1.0:
|
|
run: testenv
|
|
config:
|
|
- .buildkite/docker-compose.py37.pg95.yaml
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- label: ":python: 3.7 / :postgres: 11"
|
|
env:
|
|
TRIAL_FLAGS: "-j 4"
|
|
command:
|
|
- "bash -c 'python -m pip install tox && python -m tox -e py37-postgres,codecov'"
|
|
plugins:
|
|
- docker-compose#v2.1.0:
|
|
run: testenv
|
|
config:
|
|
- .buildkite/docker-compose.py37.pg11.yaml
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
|
|
- label: "SyTest - :python: 3.5 / SQLite / Monolith"
|
|
branches: "!shhs !shhs-*"
|
|
agents:
|
|
queue: "medium"
|
|
command:
|
|
- "bash .buildkite/merge_base_branch.sh"
|
|
- "bash /synapse_sytest.sh"
|
|
plugins:
|
|
- docker#v3.0.1:
|
|
image: "matrixdotorg/sytest-synapse:py35"
|
|
propagate-environment: true
|
|
always-pull: true
|
|
workdir: "/src"
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- label: "SyTest - :python: 3.5 / :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:py35"
|
|
propagate-environment: true
|
|
always-pull: true
|
|
workdir: "/src"
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- label: "SyTest - :python: 3.5 / :postgres: 9.6 / Workers"
|
|
branches: "!shhs !shhs-*"
|
|
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:py35"
|
|
propagate-environment: true
|
|
always-pull: true
|
|
workdir: "/src"
|
|
soft_fail: true
|
|
retry:
|
|
automatic:
|
|
- exit_status: -1
|
|
limit: 2
|
|
- exit_status: 2
|
|
limit: 2
|
|
|
|
- wait
|
|
|
|
- label: ":docker: x86_64"
|
|
agents:
|
|
queue: "release"
|
|
branches: "shhs-*"
|
|
command:
|
|
- "docker build -f docker/Dockerfile --build-arg PYTHON_VERSION=3.7.4 . -t matrixdotorg/synapse:${BUILDKITE_TAG}"
|
|
- "docker save matrixdotorg/synapse:${BUILDKITE_TAG} | gzip -9 > docker.tar.gz"
|
|
artifact_paths:
|
|
- "docker.tar.gz" |