mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
regenerate mjolnir-registration in mx-tester
This commit is contained in:
parent
94e1a897a4
commit
6d048076bf
@ -9,6 +9,8 @@ up:
|
|||||||
- psql postgres://mjolnir-tester:mjolnir-test@localhost:8082/mjolnir-test-db -c "CREATE TABLE mjolnir (local_part VARCHAR(255), owner VARCHAR(255), management_room TEXT)"
|
- psql postgres://mjolnir-tester:mjolnir-test@localhost:8082/mjolnir-test-db -c "CREATE TABLE mjolnir (local_part VARCHAR(255), owner VARCHAR(255), management_room TEXT)"
|
||||||
# Launch the reverse proxy, listening for connections *only* on the local host.
|
# Launch the reverse proxy, listening for connections *only* on the local host.
|
||||||
- docker run --rm --network host --name mjolnir-test-reverse-proxy -p 127.0.0.1:8081:80 -v $MX_TEST_CWD/test/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx
|
- docker run --rm --network host --name mjolnir-test-reverse-proxy -p 127.0.0.1:8081:80 -v $MX_TEST_CWD/test/nginx.conf:/etc/nginx/nginx.conf:ro -d nginx
|
||||||
|
- yarn install
|
||||||
|
- npx ts-node src/appservice/cli.ts -r -u "http://host.docker.internal:9000"
|
||||||
- cp mjolnir-registration.yaml $MX_TEST_SYNAPSE_DIR/data/
|
- cp mjolnir-registration.yaml $MX_TEST_SYNAPSE_DIR/data/
|
||||||
after:
|
after:
|
||||||
# Wait until Synapse is ready
|
# Wait until Synapse is ready
|
||||||
|
Loading…
Reference in New Issue
Block a user