mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-11-14 18:54:27 +00:00
Fix the CI
This commit is contained in:
parent
77a3197ad6
commit
4a0a351402
3 changed files with 16 additions and 2 deletions
|
@ -17,8 +17,8 @@ script:
|
|||
- cp -r tests/fixtures/me.yml config/me.yml
|
||||
- docker-compose up -d
|
||||
- docker-compose ps
|
||||
- WEB_PORT=5006 DATA_DIR=./tests/fixtures/instance1/data CONFIG_DIR=./tests/fixtures/instance1/config docker-compose -p instance1 up
|
||||
- WEB_PORT=5006 DATA_DIR=tests/fixtures/instance1/data CONFIG_DIR=tests/fixtures/instance1/config docker-compose -p instance1 up -d
|
||||
- docker-compose -p instance1 ps
|
||||
- WEB_PORT=5007 DATA_DIR=./tests/fixtures/instance2/data CONFIG_DIR=./tests/fixtures/instance2/config docker-compose -p instance2 up
|
||||
- WEB_PORT=5007 DATA_DIR=tests/fixtures/instance2/data CONFIG_DIR=tests/fixtures/instance2/config docker-compose -p instance2 up -d
|
||||
- docker-compose -p instance2 ps
|
||||
- pytest -v --ignore data
|
||||
|
|
7
tests/fixtures/instance1/config/me.yml
vendored
Normal file
7
tests/fixtures/instance1/config/me.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
username: 'instance_1'
|
||||
name: 'Instance 1'
|
||||
icon_url: 'https://sos-ch-dk-2.exo.io/microblogpub/microblobpub.png'
|
||||
domain: 'localhost:5006'
|
||||
summary: 'instance 1 summary'
|
||||
pass: '$2b$12$nEgJMgaYbXSPOvgnqM4jSeYnleKhXqsFgv/o3hg12x79uEdsR4cUy' # hello
|
||||
https: false
|
7
tests/fixtures/instance2/config/me.yml
vendored
Normal file
7
tests/fixtures/instance2/config/me.yml
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
username: 'instance_2'
|
||||
name: 'Instance 2'
|
||||
icon_url: 'https://sos-ch-dk-2.exo.io/microblogpub/microblobpub.png'
|
||||
domain: 'localhost:5007'
|
||||
summary: 'instance 2 summary'
|
||||
pass: '$2b$12$nEgJMgaYbXSPOvgnqM4jSeYnleKhXqsFgv/o3hg12x79uEdsR4cUy' # hello
|
||||
https: false
|
Loading…
Reference in a new issue