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

Commit

Permalink
Merge pull request #158 from matrix-org/clokep/complement-synapse
Browse files Browse the repository at this point in the history
Build Synapse from develop (or same named branch) instead of latest for complement.
  • Loading branch information
kegsay authored Jun 10, 2021
2 parents 618b3e9 + d0ce1de commit 3b824e2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions complement/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@ steps:
limit: 3

- command:
# Build the Synapse for Complement docker image, which is located at:
# https://github.com/matrix-org/complement/blob/master/dockerfiles/Synapse.Dockerfile.
# Build a docker image from the same named branch or the latest version of
# Synapse, so download it here.
- "mkdir -p /synapse"
- "(wget -O - https://github.com/matrix-org/synapse/archive/$BUILDKITE_BRANCH.tar.gz || wget -O - https://github.com/matrix-org/synapse/archive/develop.tar.gz) | tar -xz --strip-components=1 -C /synapse"
- "docker build -t matrixdotorg/synapse:latest -f /synapse/docker/Dockerfile /synapse"
# Build a second docker image on top of the above image. This one sets up Synapse with a generated config file,
# signing and SSL keys so Synapse can run and federate
- docker build -t complement-synapse -f dockerfiles/Synapse.Dockerfile dockerfiles/
# Run the tests!
- COMPLEMENT_BASE_IMAGE=complement-synapse go test -v -tags "synapse_blacklist,msc2946,msc3083" ./tests
Expand Down

0 comments on commit 3b824e2

Please sign in to comment.