From c414a7614bb9ee892d4b291cf427d0878ee78ccd Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 23 Feb 2026 13:00:05 +0100 Subject: [PATCH] ci: disable caches to prevent runner timeouts --- .gitea/workflows/ci.yml | 42 +++++++++++++------------- .gitea/workflows/deploy.yml | 60 ++++++++++++++++++------------------- 2 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index e168a88d..3723fc30 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -16,25 +16,25 @@ jobs: version: 10 run_install: false - - name: Get pnpm store directory - id: pnpm-cache - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT + # - name: Get pnpm store directory + # id: pnpm-cache + # shell: bash + # run: | + # echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_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: 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: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporarily disabled due to runner cache timeouts - name: 🔐 Configure Private Registry run: | @@ -47,14 +47,14 @@ jobs: env: NPM_TOKEN: ${{ secrets.REGISTRY_PASS }} - - name: Setup Turbo cache - uses: actions/cache@v4 - with: - path: .turbo - key: ${{ runner.os }}-turbo-global-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-turbo-global- - ${{ runner.os }}-turbo- + # - name: Setup Turbo cache + # uses: actions/cache@v4 + # with: + # path: .turbo + # key: ${{ runner.os }}-turbo-global-${{ github.sha }} + # restore-keys: | + # ${{ runner.os }}-turbo-global- + # ${{ runner.os }}-turbo- - name: 🧪 QA Checks env: diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b78bf16a..1d764e29 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -165,21 +165,21 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Setup Turbo cache - uses: actions/cache@v4 - with: - path: .turbo - key: ${{ runner.os }}-turbo-global-${{ github.sha }} - restore-keys: | - ${{ runner.os }}-turbo-global- - ${{ runner.os }}-turbo- + # - name: Setup Turbo cache + # uses: actions/cache@v4 + # with: + # path: .turbo + # key: ${{ runner.os }}-turbo-global-${{ github.sha }} + # restore-keys: | + # ${{ runner.os }}-turbo-global- + # ${{ runner.os }}-turbo- - name: 🔒 Security Audit run: pnpm audit --audit-level high @@ -441,18 +441,18 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Setup APT Cache - uses: actions/cache@v4 - with: - path: /var/cache/apt/archives - key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} + # - name: Setup APT Cache + # uses: actions/cache@v4 + # with: + # path: /var/cache/apt/archives + # key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} - name: 🔍 Install Chromium (Native & ARM64) run: | rm -f /etc/apt/apt.conf.d/docker-clean @@ -513,29 +513,29 @@ jobs: uses: pnpm/action-setup@v3 with: version: 10 - - name: Setup Puppeteer cache - uses: actions/cache@v4 - with: - path: ~/.cache/puppeteer - key: ${{ runner.os }}-puppeteer-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-puppeteer- + # - name: Setup Puppeteer cache + # uses: actions/cache@v4 + # with: + # path: ~/.cache/puppeteer + # key: ${{ runner.os }}-puppeteer-${{ hashFiles('**/pnpm-lock.yaml') }} + # restore-keys: | + # ${{ runner.os }}-puppeteer- - name: Setup Node.js uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc echo "//${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}/:_authToken=${{ secrets.REGISTRY_PASS }}" >> .npmrc - name: Install dependencies run: pnpm install --frozen-lockfile - - name: Setup APT Cache - uses: actions/cache@v4 - with: - path: /var/cache/apt/archives - key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} + # - name: Setup APT Cache + # uses: actions/cache@v4 + # with: + # path: /var/cache/apt/archives + # key: apt-cache-${{ runner.os }}-${{ hashFiles('package.json') }} - name: 🔍 Install Chromium (Native & ARM64) run: | rm -f /etc/apt/apt.conf.d/docker-clean @@ -600,7 +600,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔐 Registry Auth run: | echo "@mintel:registry=https://${{ vars.REGISTRY_HOST || 'npm.infra.mintel.me' }}" > .npmrc @@ -638,7 +638,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - cache: 'pnpm' + # cache: 'pnpm' # Temporär deaktiviert wegen Timeout in Gitea Cache - name: 🔔 Gotify run: | STATUS="${{ needs.deploy.result }}"