try to fix federation test
This commit is contained in:
parent
606bfa89b6
commit
405e7eff27
2 changed files with 3 additions and 4 deletions
|
@ -66,8 +66,8 @@ steps:
|
||||||
commands:
|
commands:
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get -y install --no-install-recommends bash curl postgresql-client
|
- apt-get -y install --no-install-recommends bash curl postgresql-client
|
||||||
- cd api_tests/
|
|
||||||
- bash prepare-drone-federation-test.sh
|
- bash prepare-drone-federation-test.sh
|
||||||
|
- cd api_tests/
|
||||||
- yarn
|
- yarn
|
||||||
- yarn api-test
|
- yarn api-test
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# change folder so the config can be read from the default location
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
export LEMMY_JWT_SECRET=changeme
|
export LEMMY_JWT_SECRET=changeme
|
||||||
export LEMMY_FEDERATION__ENABLED=true
|
export LEMMY_FEDERATION__ENABLED=true
|
||||||
export LEMMY_TLS_ENABLED=false
|
export LEMMY_TLS_ENABLED=false
|
||||||
|
@ -14,6 +11,8 @@ export LEMMY_CAPTCHA__ENABLED=false
|
||||||
export RUST_BACKTRACE=1
|
export RUST_BACKTRACE=1
|
||||||
export RUST_LOG=debug
|
export RUST_LOG=debug
|
||||||
|
|
||||||
|
ls -la target/debug/lemmy_server
|
||||||
|
|
||||||
echo "start alpha"
|
echo "start alpha"
|
||||||
LEMMY_HOSTNAME=lemmy-alpha:8541 \
|
LEMMY_HOSTNAME=lemmy-alpha:8541 \
|
||||||
LEMMY_PORT=8541 \
|
LEMMY_PORT=8541 \
|
||||||
|
|
Loading…
Reference in a new issue