forked-synapse/scripts-dev
Brendan Abolivier 14504ad573
Add CI for synapse_port_db (#6140)
This adds:

* a test sqlite database
* a configuration file for the sqlite database
* a configuration file for a postgresql database (using the credentials in `.buildkite/docker-compose.pyXX.pgXX.yaml`)

as well as a new script named `.buildkite/scripts/test_synapse_port_db.sh` that:

1. installs Synapse
2. updates the test sqlite database to the latest schema and runs background updates on it
3. creates an empty postgresql database
4. run the `synapse_port_db` script to migrate the test sqlite database to the empty postgresql database (with coverage)

Step `2` is done via a new script located at `scripts-dev/update_database`.

The test sqlite database is extracted from a SyTest run, so that it can be considered as an actual homeserver's database with actual data in it.
2019-10-28 17:45:32 +00:00
..
build_debian_packages include disco in deb build target list 2019-05-03 18:55:13 +01:00
check_signature.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
check-newsfragment Allow newsfragments to end with exclamation marks! (#4912) 2019-03-21 15:28:19 +00:00
config-lint.sh Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
convert_server_keys.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
database-save.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
definitions.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
dump_macaroon.py Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on py3) (#4068) 2018-10-20 11:16:55 +11:00
federation_client.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
generate_sample_config Include a default configuration file in the 'docs' directory. (#4791) 2019-03-04 17:14:58 +00:00
hash_history.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
lint.sh Add config linting script that checks for bool casing (#6203) 2019-10-23 13:22:54 +01:00
list_url_patterns.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
next_github_number.sh Reduce the load on our CI (#3957) 2018-09-27 00:23:21 +10:00
sphinx_api_docs.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
tail-synapse.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
update_database Add CI for synapse_port_db (#6140) 2019-10-28 17:45:32 +00:00