Skip to content
This repository has been archived by the owner on Nov 25, 2022. It is now read-only.

Commit

Permalink
Synapse: add a build step to run with no optional deps (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh authored Jan 7, 2021
1 parent b3251e1 commit 8cdf2a5
Showing 1 changed file with 36 additions and 78 deletions.
114 changes: 36 additions & 78 deletions synapse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ x-yaml-aliases:
apt-get update && apt-get install -y xmlsec1
python -m pip install tox

retry: &retry_setup
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2

env:
COVERALLS_REPO_TOKEN: wsJWOby6j0uCYFiCes3r0XauxO27mx8lD

Expand Down Expand Up @@ -117,12 +124,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.5 / SQLite"
command:
Expand All @@ -140,12 +142,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.6 / SQLite"
command:
Expand All @@ -163,12 +160,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.7 / SQLite"
command:
Expand All @@ -186,13 +178,24 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.8 / noextras / SQLite"
command:
- *trial_setup
- "tox -e py38-noextras,combine"
env:
TRIAL_FLAGS: "-j 2"
plugins:
- docker#v3.7.0:
image: "python:3.8"
workdir: "/src"
mount-buildkite-agent: false
propagate-environment: true
- artifacts#v1.3.0:
upload: [ "_trial_temp/*/*.log" ]
retry: *retry_setup

- label: ":python: 3.5 / :postgres: 9.5"
agents:
queue: "medium"
Expand All @@ -216,12 +219,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.7 / :postgres: 11"
agents:
Expand All @@ -246,12 +244,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: ":python: 3.8 / :postgres: 12"
agents:
Expand All @@ -276,12 +269,7 @@ steps:
upload: [ "_trial_temp/*/*.log" ]
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

################################################################################
#
Expand Down Expand Up @@ -313,12 +301,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: "SyTest - :python: 3.5 / :postgres: 9.6 / Monolith"
agents:
Expand Down Expand Up @@ -346,12 +329,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: "SyTest - :python: 3.5 / :postgres: 9.6 / Workers"
agents:
Expand Down Expand Up @@ -383,12 +361,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup


- label: "SyTest - :python: 3.8 / :postgres: 12 / Monolith"
Expand Down Expand Up @@ -417,12 +390,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: "SyTest - :python: 3.7 / :postgres: 11 / Workers"
agents:
Expand Down Expand Up @@ -454,12 +422,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

- label: "SyTest - :python: 3.7 / :postgres: 11 / Workers / :redis: Redis"
agents:
Expand Down Expand Up @@ -492,12 +455,7 @@ steps:
style: "error"
# - matrix-org/coveralls#v1.0:
# parallel: "true"
retry:
automatic:
- exit_status: -1
limit: 2
- exit_status: 2
limit: 2
retry: *retry_setup

################################################################################
#
Expand Down

0 comments on commit 8cdf2a5

Please sign in to comment.