0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 21:03:51 +01:00
synapse/scripts-dev
David Robertson ea01d4c2de
Update postgresql testing script (#10906)
- Use sytest:bionic. Sytest:latest is two years old (do we want
  CI to push out latest at all?) and comes with Python 3.5, which we
  explictly no longer support. The script now runs under PostgreSQL 10
  as a result.
- Advertise script in the docs
- Move pg testing script to scripts-dev directory
- Write to host as the script's exector, not root

A few changes to make it speedier to re-run the tests:

- Create blank DB in the container, not the script, so we don't have to
  `initdb` each time
- Use a named volume to persist the tox environment, so we don't have to
  fetch and install a bunch of packages from PyPI each time

Co-authored-by: reivilibre <olivier@librepush.net>
2021-09-24 14:27:09 +00:00
..
build_debian_packages Build debs for bookworm (#10612) 2021-08-17 13:48:59 +01:00
check-newsfragment check-newsfragment: pass pr number explicitly 2021-08-10 16:38:13 +01:00
check_line_terminators.sh Fix exit code for check_line_terminators.sh (#7970) 2020-07-28 08:52:25 -04:00
check_signature.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
complement.sh Ensure the base Docker image is rebuilt when running complement with workers. (#10686) 2021-08-25 10:18:23 -04:00
config-lint.sh Use interpreter from $PATH instead of absolute paths in various scripts using /usr/bin/env (#9689) 2021-03-25 16:53:54 +00:00
database-save.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
definitions.py Fix (final) Bugbear violations (#9838) 2021-04-20 11:50:49 +01:00
docker_update_debian_changelog.sh Add a script to update the debian changelog for non-Debian systems (#10778) 2021-09-08 17:03:25 +02:00
dump_macaroon.py Change the format of access tokens away from macaroons (#5588) 2021-05-12 15:04:51 +01:00
federation_client.py federation_client: handle inline signing_keys in hs.yaml (#9647) 2021-03-18 21:12:07 +00:00
generate_sample_config Use interpreter from $PATH instead of absolute paths in various scripts using /usr/bin/env (#9689) 2021-03-25 16:53:54 +00:00
hash_history.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
lint.sh Also rename in lint.sh 2021-08-12 10:40:44 +01:00
list_url_patterns.py Fix (final) Bugbear violations (#9838) 2021-04-20 11:50:49 +01:00
make_full_schema.sh Fix make_full_schema to create the db with the right options and user (#9931) 2021-05-07 14:01:57 +01:00
mypy_synapse_plugin.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
next_github_number.sh Use interpreter from $PATH instead of absolute paths in various scripts using /usr/bin/env (#9689) 2021-03-25 16:53:54 +00:00
release.py Fix release script URL (#10516) 2021-08-03 13:29:17 +01:00
sign_json Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
tail-synapse.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_postgresql.sh Update postgresql testing script (#10906) 2021-09-24 14:27:09 +00:00
update_database Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00