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

Commit

Permalink
Build Synapse from develop (or same named branch) instead of latest.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jun 9, 2021
1 parent 618b3e9 commit d0ce1de
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 d0ce1de

Please sign in to comment.