mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:37:33 +00:00
fix dev container
This commit is contained in:
@@ -9,10 +9,10 @@
|
|||||||
"runServices": [
|
"runServices": [
|
||||||
"login-integration"
|
"login-integration"
|
||||||
],
|
],
|
||||||
"workspaceFolder": "/workspaces/apps/login",
|
"workspaceFolder": "/workspaces",
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
3001
|
3001
|
||||||
],
|
],
|
||||||
"onCreateCommand": "pnpm install && pnpm cypress install",
|
"onCreateCommand": "pnpm install --filter . --filter @zitadel/login; cd apps/login; pnpm cypress install",
|
||||||
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo test:integration:login"
|
"postAttachCommand": "pnpm turbo daemon clean || true; pnpm turbo watch test:integration:login"
|
||||||
}
|
}
|
@@ -4,7 +4,4 @@ services:
|
|||||||
extends:
|
extends:
|
||||||
file: ../base/docker-compose.yml
|
file: ../base/docker-compose.yml
|
||||||
service: devcontainer
|
service: devcontainer
|
||||||
build:
|
|
||||||
context: ../base
|
|
||||||
dockerfile: !reset ""
|
|
||||||
network_mode: !reset ""
|
network_mode: !reset ""
|
||||||
|
@@ -8,10 +8,10 @@
|
|||||||
"runServices": [
|
"runServices": [
|
||||||
"login-integration"
|
"login-integration"
|
||||||
],
|
],
|
||||||
"workspaceFolder": "/workspaces/apps/login",
|
"workspaceFolder": "/workspaces",
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
3001
|
3001
|
||||||
],
|
],
|
||||||
"onCreateCommand": "pnpm install --frozen-lockfile && pnpm cypress install",
|
"onCreateCommand": "pnpm install --frozen-lockfile --filter . --filter @zitadel/login; cd apps/login; pnpm cypress install",
|
||||||
"postAttachCommand": "pnpm test:integration:login"
|
"postAttachCommand": "cd apps/login; pnpm test:integration:login"
|
||||||
}
|
}
|
@@ -15,7 +15,7 @@
|
|||||||
"test:unit": "vitest --run",
|
"test:unit": "vitest --run",
|
||||||
"lint-staged": "lint-staged",
|
"lint-staged": "lint-staged",
|
||||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf .next",
|
"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": "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": "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"
|
"test:acceptance:setup:dev": "cd ../.. && make login_test_acceptance_setup_dev"
|
||||||
|
@@ -49,9 +49,6 @@
|
|||||||
"outputs": [
|
"outputs": [
|
||||||
"cypress/videos/**",
|
"cypress/videos/**",
|
||||||
"cypress/screenshots/**"
|
"cypress/screenshots/**"
|
||||||
],
|
|
||||||
"with": [
|
|
||||||
"dev"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user