fix: ci: expose minio port for file storage test
This commit is contained in:
parent
f8b9f623cf
commit
7231ff7e2a
|
|
@ -40,14 +40,14 @@ jobs:
|
||||||
sed -i 's/GOTRUE_EXTERNAL_GOOGLE_ENABLED=.*/GOTRUE_EXTERNAL_GOOGLE_ENABLED=true/' .env
|
sed -i 's/GOTRUE_EXTERNAL_GOOGLE_ENABLED=.*/GOTRUE_EXTERNAL_GOOGLE_ENABLED=true/' .env
|
||||||
sed -i 's/GOTRUE_MAILER_AUTOCONFIRM=.*/GOTRUE_MAILER_AUTOCONFIRM=false/' .env
|
sed -i 's/GOTRUE_MAILER_AUTOCONFIRM=.*/GOTRUE_MAILER_AUTOCONFIRM=false/' .env
|
||||||
sed -i 's/API_EXTERNAL_URL=http:\/\/your-host/API_EXTERNAL_URL=http:\/\/localhost/' .env
|
sed -i 's/API_EXTERNAL_URL=http:\/\/your-host/API_EXTERNAL_URL=http:\/\/localhost/' .env
|
||||||
# expose port for sqlx tests
|
# expose port for tests (postgres, minio)
|
||||||
sed -i '38s/$/\n ports:\n - 5432:5432/' docker-compose.yml
|
sed -i '38s/$/\n ports:\n - 5432:5432/' docker-compose.yml
|
||||||
|
sed -i '26s/$/\n ports:\n - 9000:9000/' docker-compose.yml
|
||||||
|
|
||||||
- name: Update Nginx Configuration
|
- name: Update Nginx Configuration
|
||||||
run: |
|
run: |
|
||||||
# the wasm-pack headless tests will run on random ports, so we need to allow all origins
|
# the wasm-pack headless tests will run on random ports, so we need to allow all origins
|
||||||
sed -i 's/http:\/\/127\.0\.0\.1:8000/http:\/\/127.0.0.1/g' nginx/nginx.conf
|
sed -i 's/http:\/\/127\.0\.0\.1:8000/http:\/\/127.0.0.1/g' nginx/nginx.conf
|
||||||
|
|
||||||
|
|
||||||
- name: Disable appflowyinc images
|
- name: Disable appflowyinc images
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -71,7 +71,6 @@ jobs:
|
||||||
|
|
||||||
- name: Run WASM tests
|
- name: Run WASM tests
|
||||||
working-directory: ./libs/wasm-test
|
working-directory: ./libs/wasm-test
|
||||||
run: |
|
run: |
|
||||||
cargo install wasm-pack
|
cargo install wasm-pack
|
||||||
wasm-pack test --headless --firefox
|
wasm-pack test --headless --firefox
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue