diff --git a/Makefile b/Makefile index 7628b90631..a7314f638a 100644 --- a/Makefile +++ b/Makefile @@ -177,15 +177,15 @@ core_lint: .PHONY: login_pull login_pull: login_ensure_remote - @echo "Pulling changes from the 'login' subtree on remote $(LOGIN_REMOTE_NAME) branch $(LOGIN_REMOTE_BRANCH)" + @echo "Pulling changes from the 'apps/login' subtree on remote $(LOGIN_REMOTE_NAME) branch $(LOGIN_REMOTE_BRANCH)" git fetch $(LOGIN_REMOTE_NAME) $(LOGIN_REMOTE_BRANCH) git merge -s ours --allow-unrelated-histories $(LOGIN_REMOTE_NAME)/$(LOGIN_REMOTE_BRANCH) -m "Synthetic merge to align histories" git push .PHONY: login_push login_push: login_ensure_remote - @echo "Pushing changes to the 'login' subtree on remote $(LOGIN_REMOTE_NAME) branch $(LOGIN_REMOTE_BRANCH)" - git subtree split --prefix=login -b login-sync-tmp + @echo "Pushing changes to the 'apps/login' subtree on remote $(LOGIN_REMOTE_NAME) branch $(LOGIN_REMOTE_BRANCH)" + git subtree split --prefix=apps/login -b login-sync-tmp git checkout login-sync-tmp git fetch $(LOGIN_REMOTE_NAME) main git merge -s ours --allow-unrelated-histories $(LOGIN_REMOTE_NAME)/main -m "Synthetic merge to align histories" @@ -200,16 +200,3 @@ login_ensure_remote: else \ echo "Remote $(LOGIN_REMOTE_NAME) already exists."; \ fi - -export LOGIN_DIR := ./login/ -export LOGIN_BAKE_CLI_ADDITIONAL_ARGS := --set login-*.context=./apps/login/ --file ./docker-bake.hcl -export ZITADEL_TAG ?= $(ZITADEL_IMAGE) -include apps/login/Makefile - -# Intentional override of login_test_acceptance_build -login_test_acceptance_build: docker_image - @echo "Building login test acceptance environment with the local zitadel image" - $(MAKE) login_test_acceptance_build_compose login_test_acceptance_build_bake - -login_dev: docker_image typescript_generate login_test_acceptance_build_compose login_test_acceptance_cleanup login_test_acceptance_setup_dev - @echo "Starting login test environment with the local zitadel image"