fix integration env

This commit is contained in:
Elio Bischof
2025-06-08 10:09:34 +02:00
parent 103e15722d
commit f5e82f418e
69 changed files with 4 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ login-help:
@echo " login-unit - Run unit tests. FORCE=true prevents skipping." @echo " login-unit - Run unit tests. FORCE=true prevents skipping."
@echo " login-integration - Run integration tests. FORCE=true prevents skipping." @echo " login-integration - Run integration tests. FORCE=true prevents skipping."
@echo " login-standalone-build - Build the docker image for production login containers." @echo " login-standalone-build - Build the docker image for production login containers."
@echo " login-quality - Run all quality checks (login-lint, unit, integration)." @echo " login-quality - Run all quality checks (login-lint, login-unit, login-integration)."
@echo " login-ci - Run all CI tasks. Run it with the -j flag to parallelize: make -j ci." @echo " login-ci - Run all CI tasks. Run it with the -j flag to parallelize: make -j ci."
@echo " show-cache-keys - Show all cache keys with image ids and exit codes." @echo " show-cache-keys - Show all cache keys with image ids and exit codes."
@echo " clean-cache-keys - Remove all cache keys." @echo " clean-cache-keys - Remove all cache keys."

View File

@@ -1,2 +0,0 @@
*
!.gitkeep

View File

@@ -6,4 +6,4 @@ COPY mocked-services.cfg .
COPY initial-stubs initial-stubs COPY initial-stubs initial-stubs
COPY --from=protos . . COPY --from=protos . .
ENTRYPOINT [ "sh", "-c", "grpc-mock -v 1 -proto $(tr '\n' ',' < ./mocked-services.cfg) -stub-dir ./initial-stubs" ] ENTRYPOINT [ "sh", "-c", "grpc-mock -v 1 -proto $(tr '\n' ',' < ./mocked-services.cfg) -stub-dir ./initial-stubs -mock-addr :22222" ]

View File

@@ -16,13 +16,13 @@ services:
- ZITADEL_SERVICE_USER_TOKEN="yolo" - ZITADEL_SERVICE_USER_TOKEN="yolo"
- EMAIL_VERIFICATION=true - EMAIL_VERIFICATION=true
- DEBUG=true - DEBUG=true
- NEXT_PUBLIC_BASE_PATH="" - NEXT_PUBLIC_BASE_PATH="/ui/v2/login"
integration-testsuite: integration-testsuite:
image: ${LOGIN_INTEGRATION_TESTSUITE_TAG:-zitadel-login-integration-testsuite:local} image: ${LOGIN_INTEGRATION_TESTSUITE_TAG:-zitadel-login-integration-testsuite:local}
container_name: integration-testsuite container_name: integration-testsuite
environment: environment:
- LOGIN_BASE_URL=http://login:3000 - LOGIN_BASE_URL=http://login:3000/ui/v2/login
- CYPRESS_CORE_MOCK_STUBS_URL=http://core-mock:22220/v1/stubs - CYPRESS_CORE_MOCK_STUBS_URL=http://core-mock:22220/v1/stubs
depends_on: depends_on:
login: login: