mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 13:19:21 +00:00
fix dev container
This commit is contained in:
@@ -9,10 +9,10 @@
|
||||
"runServices": [
|
||||
"login-integration"
|
||||
],
|
||||
"workspaceFolder": "/workspaces/apps/login",
|
||||
"workspaceFolder": "/workspaces",
|
||||
"forwardPorts": [
|
||||
3001
|
||||
],
|
||||
"onCreateCommand": "pnpm install && pnpm cypress install",
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo test:integration:login"
|
||||
"onCreateCommand": "pnpm install --filter . --filter @zitadel/login; cd apps/login; pnpm cypress install",
|
||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo watch test:integration:login"
|
||||
}
|
@@ -4,7 +4,4 @@ services:
|
||||
extends:
|
||||
file: ../base/docker-compose.yml
|
||||
service: devcontainer
|
||||
build:
|
||||
context: ../base
|
||||
dockerfile: !reset ""
|
||||
network_mode: !reset ""
|
||||
|
@@ -8,10 +8,10 @@
|
||||
"runServices": [
|
||||
"login-integration"
|
||||
],
|
||||
"workspaceFolder": "/workspaces/apps/login",
|
||||
"workspaceFolder": "/workspaces",
|
||||
"forwardPorts": [
|
||||
3001
|
||||
],
|
||||
"onCreateCommand": "pnpm install --frozen-lockfile && pnpm cypress install",
|
||||
"postAttachCommand": "pnpm test:integration:login"
|
||||
"onCreateCommand": "pnpm install --frozen-lockfile --filter . --filter @zitadel/login; cd apps/login; pnpm cypress install",
|
||||
"postAttachCommand": "cd apps/login; pnpm test:integration:login"
|
||||
}
|
@@ -15,7 +15,7 @@
|
||||
"test:unit": "vitest --run",
|
||||
"lint-staged": "lint-staged",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
||||
"test:integration:login": "wait-on http://localhost:3001/ui/v2/login/healthy && DISPLAY='' cypress run",
|
||||
"test:integration:login": "wait-on http://localhost:3001/ui/v2/login/verify && DISPLAY='' cypress run",
|
||||
"test:acceptance": "dotenv -e ../login/.env.test.local playwright",
|
||||
"test:acceptance:setup": "cd ../.. && make login_test_acceptance_setup_env && NODE_ENV=test turbo run test:acceptance:setup:dev",
|
||||
"test:acceptance:setup:dev": "cd ../.. && make login_test_acceptance_setup_dev"
|
||||
|
@@ -49,9 +49,6 @@
|
||||
"outputs": [
|
||||
"cypress/videos/**",
|
||||
"cypress/screenshots/**"
|
||||
],
|
||||
"with": [
|
||||
"dev"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user