mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +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
57 lines
1017 B
JSON
57 lines
1017 B
JSON
{
|
|
"extends": [
|
|
"//"
|
|
],
|
|
"tasks": {
|
|
"build": {
|
|
"outputs": [
|
|
"dist/**",
|
|
".next/**",
|
|
"!.next/cache/**"
|
|
],
|
|
"dependsOn": [
|
|
"@zitadel/client#build"
|
|
]
|
|
},
|
|
"build:login:standalone": {
|
|
"outputs": [
|
|
"dist/**",
|
|
".next/**",
|
|
"!.next/cache/**"
|
|
],
|
|
"dependsOn": [
|
|
"@zitadel/client#build"
|
|
]
|
|
},
|
|
"dev": {
|
|
"persistent": true,
|
|
"cache": false,
|
|
"dependsOn": [
|
|
"@zitadel/client#build"
|
|
]
|
|
},
|
|
"test": {
|
|
"dependsOn": [
|
|
"@zitadel/client#build"
|
|
]
|
|
},
|
|
"test:unit": {
|
|
"dependsOn": [
|
|
"@zitadel/client#build"
|
|
]
|
|
},
|
|
"test:integration:login": {
|
|
"inputs": [
|
|
".next/**",
|
|
"!.next/cache/**",
|
|
"integration/integration/**",
|
|
"integration/support/**",
|
|
"cypress.config.ts"
|
|
],
|
|
"outputs": [
|
|
"cypress/videos/**",
|
|
"cypress/screenshots/**"
|
|
]
|
|
}
|
|
}
|
|
} |