From 123367679c06317a30b299656f75c98079ecbec7 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 09:14:10 +0100 Subject: [PATCH 01/13] fix(pipeline): Switch to gradle action --- .gitea/workflows/pipeline.yaml | 12 +++--------- legalconsenthub-backend/README.md | 2 +- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index b797d34..6fac1da 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -131,16 +131,10 @@ jobs: distribution: 'temurin' java-version: '21' - - name: Setup Gradle cache - uses: actions/cache@v4 + - name: Setup Gradle + uses: gradle/gradle-build-action@v2 with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - legalconsenthub-backend/.gradle - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} - restore-keys: | - ${{ runner.os }}-gradle- + gradle-version: wrapper - name: Make gradlew executable run: chmod +x gradlew diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index a048f2e..b8fedfe 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 12 +Trigger count: 13 From 8fc07b0c6d6c6049733c90b047d49df6a7303308 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 09:21:02 +0100 Subject: [PATCH 02/13] fix(pipeline): Disable frontend job temporarily --- .gitea/workflows/pipeline.yaml | 190 ++++++++++++++++----------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 6fac1da..8056abd 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -18,101 +18,101 @@ on: - '.gitea/workflows/ci-cd.yaml' jobs: - frontend: - runs-on: ubuntu-latest - defaults: - run: - working-directory: ./legalconsenthub - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '22.16.0' - - - name: Setup Java - uses: actions/setup-java@v4 - with: - distribution: 'temurin' - java-version: '21' - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - with: - version: 10.13.1 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "STORE_PATH=$(pnpm store path)" >> $GITEA_OUTPUT - - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile - - - name: Build application - run: pnpm build - - - name: Run linting - run: pnpm lint - - - name: Run type checking - run: pnpm type-check - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Log in to Gitea Container Registry - if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' - uses: docker/login-action@v3 - with: - registry: gitea.lugnas.de - username: ${{ gitea.actor }} - password: ${{ secrets.DOCKER_PUSH_TOKEN }} - - - name: Extract metadata for Docker - id: meta - uses: docker/metadata-action@v5 - with: - images: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub - tags: | - type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }} - type=sha,prefix=,format=long - - - name: Build and push Docker image - uses: docker/build-push-action@v5 - with: - context: . - file: ./legalconsenthub/Dockerfile - push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }} - platforms: linux/amd64 - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache - - - name: Image built successfully - if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' - run: | - echo "✅ Docker image built and pushed successfully" - echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:latest" - echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:${{ gitea.sha }}" - - - name: Dry-run completed - if: gitea.event_name == 'pull_request' - run: | - echo "✅ Dry-run build completed successfully (image not pushed)" +# frontend: +# runs-on: ubuntu-latest +# defaults: +# run: +# working-directory: ./legalconsenthub +# +# steps: +# - name: Checkout code +# uses: actions/checkout@v4 +# +# - name: Setup Node.js +# uses: actions/setup-node@v4 +# with: +# node-version: '22.16.0' +# +# - name: Setup Java +# uses: actions/setup-java@v4 +# with: +# distribution: 'temurin' +# java-version: '21' +# +# - name: Setup pnpm +# uses: pnpm/action-setup@v4 +# with: +# version: 10.13.1 +# run_install: false +# +# - name: Get pnpm store directory +# id: pnpm-cache +# run: | +# echo "STORE_PATH=$(pnpm store path)" >> $GITEA_OUTPUT +# +# - name: Setup pnpm cache +# uses: actions/cache@v4 +# with: +# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} +# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} +# restore-keys: | +# ${{ runner.os }}-pnpm-store- +# +# - name: Install dependencies +# run: pnpm install --frozen-lockfile +# +# - name: Build application +# run: pnpm build +# +# - name: Run linting +# run: pnpm lint +# +# - name: Run type checking +# run: pnpm type-check +# +# - name: Set up Docker Buildx +# uses: docker/setup-buildx-action@v3 +# +# - name: Log in to Gitea Container Registry +# if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' +# uses: docker/login-action@v3 +# with: +# registry: gitea.lugnas.de +# username: ${{ gitea.actor }} +# password: ${{ secrets.DOCKER_PUSH_TOKEN }} +# +# - name: Extract metadata for Docker +# id: meta +# uses: docker/metadata-action@v5 +# with: +# images: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub +# tags: | +# type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }} +# type=sha,prefix=,format=long +# +# - name: Build and push Docker image +# uses: docker/build-push-action@v5 +# with: +# context: . +# file: ./legalconsenthub/Dockerfile +# push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }} +# platforms: linux/amd64 +# tags: ${{ steps.meta.outputs.tags }} +# labels: ${{ steps.meta.outputs.labels }} +# cache-from: type=local,src=/tmp/.buildx-cache +# cache-to: type=local,dest=/tmp/.buildx-cache +# +# - name: Image built successfully +# if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' +# run: | +# echo "✅ Docker image built and pushed successfully" +# echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:latest" +# echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:${{ gitea.sha }}" +# +# - name: Dry-run completed +# if: gitea.event_name == 'pull_request' +# run: | +# echo "✅ Dry-run build completed successfully (image not pushed)" backend: runs-on: ubuntu-latest From 4c183340051d051e89457a1f4df3765572a227b0 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 09:21:57 +0100 Subject: [PATCH 03/13] fix(pipeline): Change paths for triggering --- .gitea/workflows/pipeline.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 8056abd..c6a1340 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -7,7 +7,7 @@ on: - 'legalconsenthub/**' - 'legalconsenthub-backend/**' - 'api/**' - - '.gitea/workflows/ci-cd.yaml' + - '.gitea/workflows/pipeline.yaml' push: branches: - main @@ -15,7 +15,7 @@ on: - 'legalconsenthub/**' - 'legalconsenthub-backend/**' - 'api/**' - - '.gitea/workflows/ci-cd.yaml' + - '.gitea/workflows/pipeline.yaml' jobs: # frontend: From 81543d5e514a9beb3541b5d249f04c204381e249 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 10:11:21 +0100 Subject: [PATCH 04/13] fix(pipeline): Run build with debug --- .gitea/workflows/pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index c6a1340..e608fc9 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -140,7 +140,7 @@ jobs: run: chmod +x gradlew - name: Build application - run: ./gradlew build -x test + run: ./gradlew build --debug -x test - name: Run ktlint check run: ./gradlew ktlintCheck From 80357ff2ef5db20982ab8ebaeb0f80cb1706fb6e Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 10:28:54 +0100 Subject: [PATCH 05/13] fix(pipeline): Trigger backend --- legalconsenthub-backend/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legalconsenthub-backend/README.md b/legalconsenthub-backend/README.md index b8fedfe..81bbb8f 100644 --- a/legalconsenthub-backend/README.md +++ b/legalconsenthub-backend/README.md @@ -2,4 +2,4 @@ ## Pipeline Triggering -Trigger count: 13 +Trigger count: 14 From ee78ea533baeab7b66ac4bec56dafc02275761dd Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 10:34:12 +0100 Subject: [PATCH 06/13] fix(pipeline): Back to postgres service --- .gitea/workflows/pipeline.yaml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index e608fc9..d26c3ec 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -121,6 +121,21 @@ jobs: run: working-directory: ./legalconsenthub-backend + services: + postgres: + image: postgres:16-alpine + env: + POSTGRES_DB: legalconsenthub_test + POSTGRES_USER: test + POSTGRES_PASSWORD: test + ports: + - 5432:5432 + options: >- + --health-cmd "pg_isready -U test" + --health-interval 10s + --health-timeout 5s + --health-retries 5 + steps: - name: Checkout code uses: actions/checkout@v4 @@ -148,7 +163,10 @@ jobs: - name: Run tests run: ./gradlew test env: - SPRING_PROFILES_ACTIVE: testcontainers + SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/legalconsenthub_test + SPRING_DATASOURCE_USERNAME: test + SPRING_DATASOURCE_PASSWORD: test + SPRING_JPA_HIBERNATE_DDL_AUTO: create-drop - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -179,8 +197,6 @@ jobs: platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} - cache-from: type=local,src=/tmp/.buildx-cache - cache-to: type=local,dest=/tmp/.buildx-cache - name: Image built successfully if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' From 969c93e299dd6371ee5ff3c55a3052c2eb4b18c1 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 10:37:17 +0100 Subject: [PATCH 07/13] fix(pipeline): Remove making gradle executable --- .gitea/workflows/pipeline.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index d26c3ec..eb0c011 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -151,9 +151,6 @@ jobs: with: gradle-version: wrapper - - name: Make gradlew executable - run: chmod +x gradlew - - name: Build application run: ./gradlew build --debug -x test From cf2481e6c88198ce4b12b158fdb780375161e367 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 10:39:12 +0100 Subject: [PATCH 08/13] fix(pipeline): Use setup-gradle --- .gitea/workflows/pipeline.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index eb0c011..0a962cc 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -147,9 +147,7 @@ jobs: java-version: '21' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 - with: - gradle-version: wrapper + uses: gradle/actions/setup-gradle@v3 - name: Build application run: ./gradlew build --debug -x test From 27a2c99ef834923e9d8ceac13098d731972a9274 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 16:07:30 +0100 Subject: [PATCH 09/13] fix(pipeline): Add frontend back, add testcontainers back --- .gitea/workflows/pipeline.yaml | 212 +++++++++++++++------------------ 1 file changed, 97 insertions(+), 115 deletions(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 0a962cc..5efbd09 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -18,101 +18,101 @@ on: - '.gitea/workflows/pipeline.yaml' jobs: -# frontend: -# runs-on: ubuntu-latest -# defaults: -# run: -# working-directory: ./legalconsenthub -# -# steps: -# - name: Checkout code -# uses: actions/checkout@v4 -# -# - name: Setup Node.js -# uses: actions/setup-node@v4 -# with: -# node-version: '22.16.0' -# -# - name: Setup Java -# uses: actions/setup-java@v4 -# with: -# distribution: 'temurin' -# java-version: '21' -# -# - name: Setup pnpm -# uses: pnpm/action-setup@v4 -# with: -# version: 10.13.1 -# run_install: false -# -# - name: Get pnpm store directory -# id: pnpm-cache -# run: | -# echo "STORE_PATH=$(pnpm store path)" >> $GITEA_OUTPUT -# -# - name: Setup pnpm cache -# uses: actions/cache@v4 -# with: -# path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} -# key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} -# restore-keys: | -# ${{ runner.os }}-pnpm-store- -# -# - name: Install dependencies -# run: pnpm install --frozen-lockfile -# -# - name: Build application -# run: pnpm build -# -# - name: Run linting -# run: pnpm lint -# -# - name: Run type checking -# run: pnpm type-check -# -# - name: Set up Docker Buildx -# uses: docker/setup-buildx-action@v3 -# -# - name: Log in to Gitea Container Registry -# if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' -# uses: docker/login-action@v3 -# with: -# registry: gitea.lugnas.de -# username: ${{ gitea.actor }} -# password: ${{ secrets.DOCKER_PUSH_TOKEN }} -# -# - name: Extract metadata for Docker -# id: meta -# uses: docker/metadata-action@v5 -# with: -# images: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub -# tags: | -# type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }} -# type=sha,prefix=,format=long -# -# - name: Build and push Docker image -# uses: docker/build-push-action@v5 -# with: -# context: . -# file: ./legalconsenthub/Dockerfile -# push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }} -# platforms: linux/amd64 -# tags: ${{ steps.meta.outputs.tags }} -# labels: ${{ steps.meta.outputs.labels }} -# cache-from: type=local,src=/tmp/.buildx-cache -# cache-to: type=local,dest=/tmp/.buildx-cache -# -# - name: Image built successfully -# if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' -# run: | -# echo "✅ Docker image built and pushed successfully" -# echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:latest" -# echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:${{ gitea.sha }}" -# -# - name: Dry-run completed -# if: gitea.event_name == 'pull_request' -# run: | -# echo "✅ Dry-run build completed successfully (image not pushed)" + frontend: + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./legalconsenthub + + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22.16.0' + + - name: Setup Java + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '21' + + - name: Setup pnpm + uses: pnpm/action-setup@v4 + with: + version: 10.13.1 + run_install: false + + - name: Get pnpm store directory + id: pnpm-cache + run: | + echo "STORE_PATH=$(pnpm store path)" >> $GITEA_OUTPUT + + - name: Setup pnpm cache + uses: actions/cache@v4 + with: + path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} + key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} + restore-keys: | + ${{ runner.os }}-pnpm-store- + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Build application + run: pnpm build + + - name: Run linting + run: pnpm lint + + - name: Run type checking + run: pnpm type-check + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Log in to Gitea Container Registry + if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' + uses: docker/login-action@v3 + with: + registry: gitea.lugnas.de + username: ${{ gitea.actor }} + password: ${{ secrets.DOCKER_PUSH_TOKEN }} + + - name: Extract metadata for Docker + id: meta + uses: docker/metadata-action@v5 + with: + images: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub + tags: | + type=raw,value=latest,enable=${{ gitea.ref == 'refs/heads/main' }} + type=sha,prefix=,format=long + + - name: Build and push Docker image + uses: docker/build-push-action@v5 + with: + context: . + file: ./legalconsenthub/Dockerfile + push: ${{ gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' }} + platforms: linux/amd64 + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache + + - name: Image built successfully + if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' + run: | + echo "✅ Docker image built and pushed successfully" + echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:latest" + echo "📦 Image: gitea.lugnas.de/${{ gitea.repository_owner }}/legalconsenthub:${{ gitea.sha }}" + + - name: Dry-run completed + if: gitea.event_name == 'pull_request' + run: | + echo "✅ Dry-run build completed successfully (image not pushed)" backend: runs-on: ubuntu-latest @@ -121,21 +121,6 @@ jobs: run: working-directory: ./legalconsenthub-backend - services: - postgres: - image: postgres:16-alpine - env: - POSTGRES_DB: legalconsenthub_test - POSTGRES_USER: test - POSTGRES_PASSWORD: test - ports: - - 5432:5432 - options: >- - --health-cmd "pg_isready -U test" - --health-interval 10s - --health-timeout 5s - --health-retries 5 - steps: - name: Checkout code uses: actions/checkout@v4 @@ -150,7 +135,7 @@ jobs: uses: gradle/actions/setup-gradle@v3 - name: Build application - run: ./gradlew build --debug -x test + run: ./gradlew build -x test - name: Run ktlint check run: ./gradlew ktlintCheck @@ -158,10 +143,7 @@ jobs: - name: Run tests run: ./gradlew test env: - SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/legalconsenthub_test - SPRING_DATASOURCE_USERNAME: test - SPRING_DATASOURCE_PASSWORD: test - SPRING_JPA_HIBERNATE_DDL_AUTO: create-drop + SPRING_PROFILES_ACTIVE: testcontainers - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 From 0cf90ad0d21027fe684484c61d1e709f7243af51 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 16:21:39 +0100 Subject: [PATCH 10/13] fix(pipeline): Add frontend back, add testcontainers back --- .gitea/workflows/pipeline.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 5efbd09..a35f33d 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -144,6 +144,8 @@ jobs: run: ./gradlew test env: SPRING_PROFILES_ACTIVE: testcontainers + # Fixes Ryuk testcontainers error during test (https://github.com/testcontainers/testcontainers-java/issues/7036) + TESTCONTAINERS_HOST_OVERRIDE: host.docker.internal - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 From 0eca7c33ffcc1eadd485fd994784d2c3171b96cb Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 16:29:56 +0100 Subject: [PATCH 11/13] fix(pipeline): Add build cache back --- .gitea/workflows/pipeline.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index a35f33d..43796b5 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -176,6 +176,8 @@ jobs: platforms: linux/amd64 tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + cache-from: type=local,src=/tmp/.buildx-cache + cache-to: type=local,dest=/tmp/.buildx-cache - name: Image built successfully if: gitea.event_name == 'push' && gitea.ref == 'refs/heads/main' From 0c61288380eece922767b9bea8200538bea42ebf Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 16:32:04 +0100 Subject: [PATCH 12/13] fix(pipeline): Add cancel in progress --- .gitea/workflows/pipeline.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 43796b5..1281b41 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -17,6 +17,10 @@ on: - 'api/**' - '.gitea/workflows/pipeline.yaml' +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + jobs: frontend: runs-on: ubuntu-latest From d0fee1b969703b17b6a10a01ac31da3735726266 Mon Sep 17 00:00:00 2001 From: Denis Lugowski Date: Thu, 20 Nov 2025 16:32:27 +0100 Subject: [PATCH 13/13] fix(pipeline): Add cancel in progress --- .gitea/workflows/pipeline.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/pipeline.yaml b/.gitea/workflows/pipeline.yaml index 1281b41..a6d03c4 100644 --- a/.gitea/workflows/pipeline.yaml +++ b/.gitea/workflows/pipeline.yaml @@ -18,7 +18,7 @@ on: - '.gitea/workflows/pipeline.yaml' concurrency: - group: ci-${{ github.ref }} + group: ci-${{ gitea.ref }} cancel-in-progress: true jobs: