Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Add endpoints for backfilling history (MSC2716)
Browse files Browse the repository at this point in the history
  • Loading branch information
MadLittleMods committed Jan 28, 2021
1 parent ccb9616 commit 22c038e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions scripts-dev/complement.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,10 @@ cd "$(dirname $0)/.."
docker build -t matrixdotorg/synapse:latest -f docker/Dockerfile .

# Download Complement
wget -N https://github.com/matrix-org/complement/archive/master.tar.gz
tar -xzf master.tar.gz
cd complement-master
cd ../complement

# Build the Synapse image from Complement, based on the above image we just built
docker build -t complement-synapse -f dockerfiles/Synapse.Dockerfile ./dockerfiles

# Run the tests on the resulting image!
COMPLEMENT_BASE_IMAGE=complement-synapse go test -v -count=1 ./tests
COMPLEMENT_BASE_IMAGE=complement-synapse go test -tags msc2716 -v -count=1 ./tests/main_test.go ./tests/msc2716_test.go

0 comments on commit 22c038e

Please sign in to comment.