mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-10 19:52:53 +00:00
feat: utilize api-cli for e2e integration test
This commit is contained in:
committed by
Rainer Killinger
parent
bbbe4d5f1f
commit
ce06e735be
26
integration-test.yml
Normal file
26
integration-test.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: '3'
|
||||
services:
|
||||
backend:
|
||||
ports:
|
||||
- "3000:3000"
|
||||
build: .
|
||||
environment:
|
||||
STAPPS_LOG_LEVEL: "31"
|
||||
STAPPS_EXIT_LEVEL: "8"
|
||||
NODE_CONFIG_ENV: "elasticsearch"
|
||||
NODE_ENV: "integration-test"
|
||||
ALLOW_NO_TRANSPORT: "true"
|
||||
ES_FORCE_MAPPING_UPDATE: "true"
|
||||
ES_ADDR: "http://elasticsearch:9200"
|
||||
|
||||
elasticsearch:
|
||||
ports:
|
||||
- "9200:9200"
|
||||
image: "registry.gitlab.com/openstapps/database:master"
|
||||
|
||||
apicli:
|
||||
image: "registry.gitlab.com/openstapps/api/cli:latest"
|
||||
environment:
|
||||
STAPPS_LOG_LEVEL: "31"
|
||||
STAPPS_EXIT_LEVEL: "8"
|
||||
command: e2e http://backend:3000 --waiton tcp:backend:3000
|
||||
Reference in New Issue
Block a user