mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
bake cli
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -41,7 +41,7 @@ jobs:
|
||||
- run: make login-quality
|
||||
env:
|
||||
# latest if branch is main, otherwise image version which is the pull request number
|
||||
BUILDX_CLI: depot --file docker-bake.hcl --file docker-bake-ci.hcl
|
||||
BUILDX_CLI: depot bake --file docker-bake.hcl --file docker-bake-ci.hcl
|
||||
DEPOT_PROJECT_ID: jp837jn3fm
|
||||
REF_TAG: ${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
CACHE_DIR: ${{ runner.temp }}/zitadel-make-cache
|
||||
|
10
Makefile
10
Makefile
@@ -34,13 +34,13 @@ login-help:
|
||||
@echo " clean-cache-keys - Remove all cache keys."
|
||||
|
||||
login-lint:
|
||||
$(BUILDX_CLI) bake login-lint
|
||||
$(BAKE_CLI) login-lint
|
||||
|
||||
login-test-unit:
|
||||
$(BUILDX_CLI) bake login-test-unit
|
||||
$(BAKE_CLI) login-test-unit
|
||||
|
||||
login-test-integration-build:
|
||||
$(BUILDX_CLI) bake core-mock login-test-integration
|
||||
$(BAKE_CLI) core-mock login-test-integration
|
||||
|
||||
login-test-integration-run: login-test-integration-cleanup
|
||||
docker compose --file ./apps/login-test-integration/docker-compose.yaml run --rm integration
|
||||
@@ -56,7 +56,7 @@ login-test-integration: login-standalone-build login-test-integration-build
|
||||
$(LOGIN_TEST_INTEGRATION_TAG)"
|
||||
|
||||
login-test-acceptance-build:
|
||||
$(BUILDX_CLI) --file ./apps/login-test-acceptance/docker-compose.yaml bake setup sink oidcop samlsp samlidp login-standalone login-test-acceptance
|
||||
$(BAKE_CLI) --file ./apps/login-test-acceptance/docker-compose.yaml setup sink oidcop samlsp samlidp login-standalone login-test-acceptance
|
||||
|
||||
login-test-acceptance-run: login-acceptance-cleanup
|
||||
docker compose --file ./apps/login-test-acceptance/docker-compose.yaml run --rm --service-ports acceptance
|
||||
@@ -84,7 +84,7 @@ login-quality: login-lint login-test-unit login-test-integration login-test-acce
|
||||
|
||||
.PHONY: login-standalone-build
|
||||
login-standalone-build:
|
||||
$(BUILDX_CLI) bake login-standalone
|
||||
$(BAKE_CLI) bake login-standalone
|
||||
|
||||
.PHONY: clean-cache-keys
|
||||
clean-cache-keys:
|
||||
|
Reference in New Issue
Block a user