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

Commit

Permalink
Pull the corresponding complement branch in the Synapse pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Jun 8, 2021
1 parent 0af71ba commit 806110b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions synapse/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,15 +558,15 @@ steps:
- command:
# Build a docker image from the checked out Synapse source
- "docker build -t matrixdotorg/synapse:latest -f docker/Dockerfile ."
# We use the complement:latest image to provide Complement's dependencies, but want
# to actually run against the latest version of Complement, so download it here.
- "wget https://github.com/matrix-org/complement/archive/master.tar.gz"
- "tar -xzf master.tar.gz"
# We want to run against complement from the same named branch or the
# latest version of Complement, so download it here.
- "mkdir -p /complement"
- "(wget -O - https://github.com/matrix-org/complement/archive/$BUILDKITE_BRANCH.tar.gz || wget -O - https://github.com/matrix-org/complement/archive/master.tar.gz) | tar -xz --strip-components=1 -C /complement"
# 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 complement-master/dockerfiles/Synapse.Dockerfile complement-master/dockerfiles"
- "docker build -t complement-synapse -f /complement/dockerfiles/Synapse.Dockerfile /complement/dockerfiles"
# Finally, compile and run the tests.
- "cd complement-master"
- "cd /complement"
- "COMPLEMENT_BASE_IMAGE=complement-synapse:latest go test -v -tags synapse_blacklist,msc2946,msc3083 ./tests"
label: "\U0001F9EA Complement"
agents:
Expand Down

0 comments on commit 806110b

Please sign in to comment.