mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 12:47:35 +00:00
fix debug container
This commit is contained in:
@@ -5,10 +5,14 @@
|
|||||||
"../base/docker-compose.yml",
|
"../base/docker-compose.yml",
|
||||||
"docker-compose.yml"
|
"docker-compose.yml"
|
||||||
],
|
],
|
||||||
"service": "login-integration-debug",
|
"service": "login-integration",
|
||||||
"runServices": ["login-integration-debug"],
|
"runServices": [
|
||||||
|
"login-integration"
|
||||||
|
],
|
||||||
"workspaceFolder": "/workspaces",
|
"workspaceFolder": "/workspaces",
|
||||||
"forwardPorts": [3001],
|
"forwardPorts": [
|
||||||
|
3001
|
||||||
|
],
|
||||||
"onCreateCommand": "pnpm install --recursive",
|
"onCreateCommand": "pnpm install --recursive",
|
||||||
"postAttachCommand": "pnpm turbo daemon clean; pnpm turbo @zitadel/login#dev test:integration:login:debug",
|
"postAttachCommand": "pnpm turbo daemon clean; pnpm turbo @zitadel/login#dev test:integration:login:debug",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
@@ -18,4 +22,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -1,9 +1,10 @@
|
|||||||
services:
|
services:
|
||||||
login-integration-debug:
|
login-integration:
|
||||||
|
container_name: login-integration-debug
|
||||||
extends:
|
extends:
|
||||||
file: ../base/docker-compose.yml
|
file: ../base/docker-compose.yml
|
||||||
service: devcontainer
|
service: devcontainer
|
||||||
container_name: login-integration-debug
|
build:
|
||||||
depends_on:
|
context: ../base
|
||||||
mock-zitadel:
|
dockerfile: !reset ""
|
||||||
condition: service_started
|
network_mode: !reset ""
|
||||||
|
@@ -5,8 +5,8 @@ export default defineConfig({
|
|||||||
|
|
||||||
e2e: {
|
e2e: {
|
||||||
baseUrl: process.env.LOGIN_BASE_URL || "http://localhost:3001/ui/v2/login",
|
baseUrl: process.env.LOGIN_BASE_URL || "http://localhost:3001/ui/v2/login",
|
||||||
specPattern: "integration/**/*.cy.{js,jsx,ts,tsx}",
|
specPattern: "integration/integration/**/*.cy.{js,jsx,ts,tsx}",
|
||||||
supportFile: "support/e2e.{js,jsx,ts,tsx}",
|
supportFile: "integration/support/e2e.{js,jsx,ts,tsx}",
|
||||||
setupNodeEvents(on, config) {
|
setupNodeEvents(on, config) {
|
||||||
// implement node event listeners here
|
// implement node event listeners here
|
||||||
},
|
},
|
@@ -4,5 +4,5 @@
|
|||||||
"lib": ["es5", "dom"],
|
"lib": ["es5", "dom"],
|
||||||
"types": ["cypress", "node"]
|
"types": ["cypress", "node"]
|
||||||
},
|
},
|
||||||
"include": ["**/*.ts"]
|
"include": ["**/*.ts", "../cypress.config.ts"]
|
||||||
}
|
}
|
||||||
|
@@ -97,4 +97,4 @@
|
|||||||
"@playwright/test": "^1.52.0",
|
"@playwright/test": "^1.52.0",
|
||||||
"gaxios": "^7.1.0"
|
"gaxios": "^7.1.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
@@ -10,4 +10,4 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
exec node /runtime/apps/login/apps/login/server.js
|
exec node /runtime/apps/login/server.js
|
||||||
|
Reference in New Issue
Block a user