mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 15:49:35 +00:00
out
This commit is contained in:
4
Makefile
4
Makefile
@@ -33,13 +33,13 @@ login_help:
|
||||
@echo "Makefile for the login service"
|
||||
@echo "Available targets:"
|
||||
@echo " login_help - Show this help message."
|
||||
@echo " login_generate - Generate TypeScript client code from Protobuf definitions."
|
||||
@echo " login_quality - Run all quality checks (login_lint, login_test_unit, login_test_integration, login_test_acceptance)."
|
||||
@echo " login_standalone_build - Build the docker image for production login containers."
|
||||
@echo " login_lint - Run linting and formatting checks. FORCE=true prevents skipping."
|
||||
@echo " login_test_unit - Run unit tests. Tests without any dependencies. FORCE=true prevents skipping."
|
||||
@echo " login-test_integration - Run integration tests. Tests a login production build against a mocked Zitadel core API. FORCE=true prevents skipping."
|
||||
@echo " login_test_acceptance - Run acceptance tests. Tests a login production build with a local Zitadel instance behind a reverse proxy. FORCE=true prevents skipping."
|
||||
@echo " typescript_generate - Generate TypeScript client code from Protobuf definitions."
|
||||
@echo " show_run_caches - Show all run caches with image ids and exit codes."
|
||||
@echo " clean_run_caches - Remove all run caches."
|
||||
|
||||
@@ -123,7 +123,7 @@ login_standalone_build_tag:
|
||||
|
||||
typescript_generate:
|
||||
@echo "Generating TypeScript client and writing to local $(LOGIN_DIR)packages/zitadel-proto"
|
||||
$(LOGIN_BAKE_CLI_WITH_ARGS) typescript-proto-client-out
|
||||
$(LOGIN_BAKE_CLI_WITH_ARGS) login-typescript-proto-client-out
|
||||
|
||||
clean_run_caches:
|
||||
@echo "Removing cache directory: $(CACHE_DIR)"
|
||||
|
@@ -19,13 +19,14 @@ target "typescript-proto-client" {
|
||||
}
|
||||
}
|
||||
|
||||
target "typescript-proto-client-out" {
|
||||
dockerfile = "${DOCKERFILES_DIR}typescript-proto-client-out.Dockerfile"
|
||||
# We prefix the target with login- so we can reuse the writing of protos if we overwrite the typescript-proto-client target.
|
||||
target "login-typescript-proto-client-out" {
|
||||
dockerfile = "${DOCKERFILES_DIR}login-typescript-proto-client-out.Dockerfile"
|
||||
contexts = {
|
||||
typescript-proto-client = "target:typescript-proto-client"
|
||||
}
|
||||
output = [
|
||||
"type=local,dest=packages/zitadel-proto"
|
||||
"type=local,dest=${LOGIN_DIR}packages/zitadel-proto"
|
||||
]
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user