summary refs log tree commit diff
path: root/scripts-dev/test_postgresql.sh
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2022-03-31 11:30:07 +0100
committerGitHub <noreply@github.com>2022-03-31 11:30:07 +0100
commit15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216 (patch)
tree1c5d6dbe0fea948e97c10a3751eb98e4815e2441 /scripts-dev/test_postgresql.sh
parentIgnore .envrc for direnv users (#12335) (diff)
downloadsynapse-15cdcf8f302fd9c7aeda15ba0d2c6dbe46291216.tar.xz
Remove `dockerfile-pgtests` (#12336)
Diffstat (limited to '')
-rwxr-xr-xscripts-dev/test_postgresql.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/scripts-dev/test_postgresql.sh b/scripts-dev/test_postgresql.sh
deleted file mode 100755
index 43cfa256e4..0000000000
--- a/scripts-dev/test_postgresql.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env bash
-
-# This script builds the Docker image to run the PostgreSQL tests, and then runs
-# the tests. It uses a dedicated tox environment so that we don't have to
-# rebuild it each time.
-
-# Command line arguments to this script are forwarded to "tox" and then to "trial".
-
-set -e
-
-# Build, and tag
-docker build docker/ \
-  --build-arg "UID=$(id -u)" \
-  --build-arg "GID=$(id -g)" \
-  -f docker/Dockerfile-pgtests \
-  -t synapsepgtests
-
-# Run, mounting the current directory into /src
-docker run --rm -it -v "$(pwd):/src" -v synapse-pg-test-tox:/tox synapsepgtests "$@"