aboutsummaryrefslogtreecommitdiff
path: root/autotests/run-tests.sh
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-08 17:42:07 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2022-07-08 17:42:07 +0200
commitb5334cbfc18eddd599164fb255c2cabc6720d77c (patch)
tree63d460f5f2aa130e5d804bd74d33363260f2e414 /autotests/run-tests.sh
parent8580043a64941e1c1f132737e4b50280ac17812a (diff)
parent3f586005840e012a98e0f300a726b1cbda75e001 (diff)
downloadlibquotient-b5334cbfc18eddd599164fb255c2cabc6720d77c.tar.gz
libquotient-b5334cbfc18eddd599164fb255c2cabc6720d77c.zip
Merge remote-tracking branch 'origin/kitsune/c++20-galore' into dev
Diffstat (limited to 'autotests/run-tests.sh')
-rwxr-xr-xautotests/run-tests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/autotests/run-tests.sh b/autotests/run-tests.sh
index 05a215af..e7a228ef 100755
--- a/autotests/run-tests.sh
+++ b/autotests/run-tests.sh
@@ -1,16 +1,18 @@
mkdir -p data
chmod 0777 data
+SYNAPSE_IMAGE='matrixdotorg/synapse:v1.61.1'
+
rm ~/.local/share/testolmaccount -rf
docker run -v `pwd`/data:/data --rm \
- -e SYNAPSE_SERVER_NAME=localhost -e SYNAPSE_REPORT_STATS=no matrixdotorg/synapse:latest generate
+ -e SYNAPSE_SERVER_NAME=localhost -e SYNAPSE_REPORT_STATS=no $SYNAPSE_IMAGE generate
(cd data && . ../autotests/adjust-config.sh)
docker run -d \
--name synapse \
-p 1234:8008 \
-p 8448:8008 \
-p 8008:8008 \
- -v `pwd`/data:/data matrixdotorg/synapse:latest
+ -v `pwd`/data:/data $SYNAPSE_IMAGE
trap "rm -rf ./data/*; docker rm -f synapse 2>&1 >/dev/null; trap - EXIT" EXIT
echo Waiting for synapse to start...