From 71de48e7bc0bf4417fb8c683b5bdd3830738cad0 Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Wed, 18 Jun 2025 17:31:09 +0200 Subject: [PATCH] cache compose tests --- .github/workflows/test.yml | 2 +- apps/login-test-acceptance/docker-compose.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ae94f9ff8..5b29b081f5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,7 +47,7 @@ jobs: 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: "." + LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT: "./" - name: Save Run Caches id: cache-primes-save uses: actions/cache/save@v4 diff --git a/apps/login-test-acceptance/docker-compose.yaml b/apps/login-test-acceptance/docker-compose.yaml index cc32dab4e3..a409558645 100644 --- a/apps/login-test-acceptance/docker-compose.yaml +++ b/apps/login-test-acceptance/docker-compose.yaml @@ -74,7 +74,7 @@ services: container_name: acceptance-setup image: ${LOGIN_TEST_ACCEPTANCE_SETUP_TAG:-login-test-acceptance-setup:local} build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/setup + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/setup" dockerfile: ../go-command.Dockerfile entrypoint: "./setup.sh" environment: @@ -116,7 +116,7 @@ services: image: ${LOGIN_TEST_ACCEPTANCE_SINK_TAG:-login-test-acceptance-sink:local} container_name: acceptance-sink build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/sink + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/sink" dockerfile: ../go-command.Dockerfile args: - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine} @@ -141,7 +141,7 @@ services: image: ${LOGIN_TEST_ACCEPTANCE_OIDCRP_TAG:-login-test-acceptance-oidcrp:local} container_name: acceptance-oidcrp build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/oidcrp + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/oidcrp" dockerfile: ../go-command.Dockerfile args: - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine} @@ -168,7 +168,7 @@ services: image: ${LOGIN_TEST_ACCEPTANCE_OIDCOP_TAG:-login-test-acceptance-oidcop:local} container_name: acceptance-oidcop build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/idp/oidc + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/idp/oidc" dockerfile: ../../go-command.Dockerfile args: - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine} @@ -190,10 +190,10 @@ services: condition: "service_healthy" samlsp: - image: ${LOGIN_TEST_ACCEPTANCE_SAMLSP_TAG:-login-test-acceptance-samlsp:local} + image: "${LOGIN_TEST_ACCEPTANCE_SAMLSP_TAG:-login-test-acceptance-samlsp:local}" container_name: acceptance-samlsp build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/samlsp + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/samlsp" dockerfile: ../go-command.Dockerfile args: - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine} @@ -214,10 +214,10 @@ services: condition: "service_healthy" samlidp: - image: ${LOGIN_TEST_ACCEPTANCE_SAMLIDP_TAG:-login-test-acceptance-samlidp:local} + image: "${LOGIN_TEST_ACCEPTANCE_SAMLIDP_TAG:-login-test-acceptance-samlidp:local}" container_name: acceptance-samlidp build: - context: ${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/idp/saml + context: "${LOGIN_TEST_ACCEPTANCE_BUILD_CONTEXT:-.}/idp/saml" dockerfile: ../../go-command.Dockerfile args: - LOGIN_TEST_ACCEPTANCE_GOLANG_TAG=${LOGIN_TEST_ACCEPTANCE_GOLANG_TAG:-golang:1.24-alpine}