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

Build Synapse from develop (or same named branch) instead of latest for complement. #158

Merged
merged 1 commit into from
Jun 10, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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