mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 10:27:37 +00:00

# Which Problems Are Solved Login integration tests are not executed in the pipeline # How the Problems Are Solved The login integration tests are fixed and added as a pipeline workflow. It tests against the built login docker image. On pipeline failures, developers are guided on how to fix them using a dev container configured for this purpose. # Additional Changes - email domains are replaced by example.com. In case the tests were accidentally run against a cloud instance, it wouldn't cause bounces. - pnpm is upgraded, because the --filter argument doesn't work for the install command on the old version. - The login Dockerfile is optimized for docker image builds # Additional Changes From Review for https://github.com/zitadel/zitadel/pull/10305 These changes were requested from @peintnermax - The base dev container starts without any services besides the database and the dev container itself - CONTRIBUTING.md is restructured - To reproduce pipeline checks, only the devcontainer CLI and Docker are needed. This is described in the CONTRIBUTING.md - The convenience npm script "generate" is added # Additional Context - Follow-up for PR https://github.com/zitadel/zitadel/pull/10305 - Base for https://github.com/zitadel/zitadel/issues/10277
54 lines
1011 B
JSON
54 lines
1011 B
JSON
{
|
|
"$schema": "https://turbo.build/schema.json",
|
|
"ui": "tui",
|
|
"globalDependencies": [
|
|
"**/.env.*local"
|
|
],
|
|
"globalEnv": [
|
|
"DEBUG",
|
|
"VERCEL_URL",
|
|
"EMAIL_VERIFICATION",
|
|
"AUDIENCE",
|
|
"SYSTEM_USER_ID",
|
|
"SYSTEM_USER_PRIVATE_KEY",
|
|
"ZITADEL_API_URL",
|
|
"ZITADEL_SERVICE_USER_TOKEN",
|
|
"NEXT_PUBLIC_BASE_PATH",
|
|
"CUSTOM_REQUEST_HEADERS",
|
|
"NODE_ENV",
|
|
"PORT",
|
|
"INKEEP_API_KEY",
|
|
"DISPLAY",
|
|
"CYPRESS_DISPLAY"
|
|
],
|
|
"tasks": {
|
|
"generate": {
|
|
"cache": true
|
|
},
|
|
"build": {},
|
|
"build:login:standalone": {},
|
|
"quality": {
|
|
"with": [
|
|
"lint",
|
|
"test:unit",
|
|
"test:integration:login",
|
|
"test:acceptance",
|
|
"test:e2e"
|
|
]
|
|
},
|
|
"start": {},
|
|
"test:unit": {},
|
|
"test:integration:login": {},
|
|
"test:acceptance": {},
|
|
"test:e2e": {},
|
|
"lint": {},
|
|
"lint:fix": {},
|
|
"dev": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
}
|
|
}
|
|
} |