mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
debug
This commit is contained in:
@@ -24,6 +24,7 @@ public/dist
|
||||
|
||||
Makefile
|
||||
docker-bake.hcl
|
||||
docker-bake-ci.hcl
|
||||
*.md
|
||||
.gitignore
|
||||
_temp
|
||||
|
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
@@ -33,25 +33,27 @@ jobs:
|
||||
- uses: depot/setup-action@v1
|
||||
with:
|
||||
oidc: true
|
||||
- run: docker buildx bake --file docker-bake.hcl --file docker-bake-ci.hcl --file ./apps/login-test-acceptance/docker-compose.yaml setup sink oidcrp oidcop samlsp samlidp login-test-acceptance
|
||||
- run: depot bake --file docker-bake.hcl --file docker-bake-ci.hcl --file ./apps/login-test-acceptance/docker-compose.yaml setup sink oidcrp oidcop samlsp samlidp login-test-acceptance
|
||||
- run: docker compose --file ./apps/login-test-acceptance/docker-compose.yaml build
|
||||
- name: Restore Run Caches
|
||||
uses: actions/cache/restore@v4
|
||||
id: run-caches-restore
|
||||
with:
|
||||
path: ${{ runner.temp }}/zitadel-make-cache
|
||||
key: zitadel-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
restore-keys: zitadel-make-cache-latest
|
||||
path: ${{ runner.temp }}/login-make-cache
|
||||
key: login-make-cache-${{ github.ref == 'refs/heads/main' && 'latest' || fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.version'] }}
|
||||
restore-keys: login-make-cache-latest
|
||||
- run: make login-quality
|
||||
env:
|
||||
# latest if branch is main, otherwise image version which is the pull request number
|
||||
BAKE_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
|
||||
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: "./"
|
||||
CACHE_DIR: ${{ runner.temp }}/login-make-cache
|
||||
LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: "."
|
||||
- name: Save Run Caches
|
||||
id: cache-primes-save
|
||||
uses: actions/cache/save@v4
|
||||
with:
|
||||
path: ${{ runner.temp }}/zitadel-make-cache
|
||||
path: ${{ runner.temp }}/login-make-cache
|
||||
key: ${{ steps.run-caches-restore.outputs.cache-primary-key }}
|
||||
if: always()
|
||||
|
6
Makefile
6
Makefile
@@ -35,13 +35,13 @@ login-help:
|
||||
@echo " clean-cache-keys - Remove all cache keys."
|
||||
|
||||
login-lint:
|
||||
$(BAKE_CLI) login-lint
|
||||
$(BAKE_CLI) login-lint --print && $(BAKE_CLI) login-lint
|
||||
|
||||
login-test-unit:
|
||||
$(BAKE_CLI) login-test-unit
|
||||
$(BAKE_CLI) login-test-unit --print && $(BAKE_CLI) login-test-unit
|
||||
|
||||
login-test-integration-build:
|
||||
$(BAKE_CLI) core-mock login-test-integration
|
||||
$(BAKE_CLI) core-mock login-test-integration --print && $(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
|
||||
|
Reference in New Issue
Block a user