From 22c038e74e3fdb8557cbe5ca7dff6ec63f739476 Mon Sep 17 00:00:00 2001 From: Eric Eastwood Date: Thu, 28 Jan 2021 01:48:42 -0600 Subject: [PATCH] Add endpoints for backfilling history (MSC2716) Work on https://github.com/matrix-org/matrix-doc/pull/2716 Complement MR: https://github.com/matrix-org/complement/pull/68 --- scripts-dev/complement.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh index 3cde53f5c051..d0cdf1e43dfe 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh @@ -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