mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 19:15:51 +03:00
12f0d18611
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. |
||
---|---|---|
.. | ||
build_debian_packages | ||
check-newsfragment | ||
check_line_terminators.sh | ||
check_signature.py | ||
complement.sh | ||
config-lint.sh | ||
convert_server_keys.py | ||
database-save.sh | ||
definitions.py | ||
dump_macaroon.py | ||
federation_client.py | ||
generate_sample_config | ||
hash_history.py | ||
lint.sh | ||
list_url_patterns.py | ||
make_full_schema.sh | ||
mypy_synapse_plugin.py | ||
next_github_number.sh | ||
sphinx_api_docs.sh | ||
tail-synapse.py | ||
update_database |