anonymousland-synapse/scripts-dev
Andrew Morgan 12f0d18611
Add support for running Complement against the local checkout (#8317)
This PR adds a script that:

* Builds the local Synapse checkout using our existing `docker/Dockerfile` image.
* Downloads [Complement](https://github.com/matrix-org/complement/)'s source code.
* Builds the [Synapse.Dockerfile](https://github.com/matrix-org/complement/blob/master/dockerfiles/Synapse.Dockerfile) using the above dockerfile as a base.
* Builds and runs Complement against it.

This set up differs slightly from [that of the dendrite repo](https://github.com/matrix-org/dendrite/blob/master/build/scripts/complement.sh) (`complement.sh`, `Complement.Dockerfile`), which instead stores a separate, but slightly modified, dockerfile in Dendrite's repo rather than running the one stored in Complement's repo. That synapse equivalent to that dockerfile (`Synapse.Dockerfile`) in Complement's repo is just based on top of `matrixdotorg/synapse:latest`, which we opt to build here locally.

Thus copying over the files from Complement's repo wouldn't change any functionality, and would result in two instances of the same files. So just using the dockerfile in Complement's repo was decided upon instead.
2020-09-29 13:47:47 +01:00
..
build_debian_packages Remove Ubuntu Eoan that is now EOL (#7888) 2020-07-17 15:38:41 -04: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
check-newsfragment Spruce up the check-newsfragment CI output (#8024) 2020-08-04 22:10:23 +01:00
complement.sh Add support for running Complement against the local checkout (#8317) 2020-09-29 13:47:47 +01:00
config-lint.sh Use BSD-compatible in-place editing for sed. (#6887) 2020-02-12 07:02:19 -05:00
convert_server_keys.py remove builtins.buffer code from storage code 2020-05-15 19:37:41 +01:00
database-save.sh Acutally add scripts-dev/ 2015-05-06 11:46:02 +01:00
definitions.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
dump_macaroon.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
federation_client.py Simplify super() calls to Python 3 syntax. (#8344) 2020-09-18 09:56:44 -04:00
generate_sample_config Automate generation of the sample and debian log configs (#6627) 2020-01-03 17:14:00 +00:00
hash_history.py Remove obsolete __future__ imports (#8337) 2020-09-17 08:37:01 -04:00
lint.sh Lint the contrib/ directory in CI and linting scripts, add synctl to linting script (#7914) 2020-07-20 21:43:49 +01:00
list_url_patterns.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
make_full_schema.sh Add dev script to generate full SQL schema files (#6394) 2019-12-11 13:16:01 +00:00
mypy_synapse_plugin.py Fix typing for @cached wrapped functions (#8240) 2020-09-03 15:38:32 +01:00
next_github_number.sh Reduce the load on our CI (#3957) 2018-09-27 00:23:21 +10:00
sphinx_api_docs.sh
tail-synapse.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
update_database Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00