From df37f232702342f509ef5c8e04d199f856f93ee0 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 4 May 2026 16:31:58 +0200 Subject: [PATCH] ci: remove unstable Chromium PPA and redundant unit tests from post-deploy --- .gitea/workflows/deploy.yml | 43 ------------------------------------- 1 file changed, 43 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 348bb16..3bfd01b 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -413,41 +413,6 @@ jobs: run: | pnpm store prune pnpm install --no-frozen-lockfile - - name: 📦 Cache APT Packages - uses: actions/cache@v4 - with: - path: /var/cache/apt/archives - key: apt-cache-${{ runner.os }}-${{ runner.arch }}-chromium - - - name: 💾 Cache Chromium - id: cache-chromium - uses: actions/cache@v4 - with: - path: /usr/bin/chromium - key: ${{ runner.os }}-chromium-native-${{ hashFiles('package.json') }} - - - name: 🔍 Install Chromium (Native & ARM64) - if: steps.cache-chromium.outputs.cache-hit != 'true' - run: | - rm -f /etc/apt/apt.conf.d/docker-clean - apt-get update - apt-get install -y gnupg wget ca-certificates - OS_ID=$(. /etc/os-release && echo $ID) - CODENAME=$(. /etc/os-release && echo $VERSION_CODENAME) - if [ "$OS_ID" = "debian" ]; then - apt-get install -y chromium - else - mkdir -p /etc/apt/keyrings - KEY_ID="82BB6851C64F6880" - wget -qO- "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x$KEY_ID" | gpg --dearmor > /etc/apt/keyrings/xtradeb.gpg - echo "deb [signed-by=/etc/apt/keyrings/xtradeb.gpg] http://ppa.launchpad.net/xtradeb/apps/ubuntu $CODENAME main" > /etc/apt/sources.list.d/xtradeb-ppa.list - printf "Package: *\nPin: release o=LP-PPA-xtradeb-apps\nPin-Priority: 1001\n" > /etc/apt/preferences.d/xtradeb - apt-get update - apt-get install -y --allow-downgrades chromium - fi - [ -f /usr/bin/chromium ] && ln -sf /usr/bin/chromium /usr/bin/google-chrome - [ -f /usr/bin/chromium ] && ln -sf /usr/bin/chromium /usr/bin/chromium-browser - # ── Critical Smoke Tests (MUST pass) ────────────────────────────────── - name: 🏥 CMS Deep Health Check env: @@ -469,14 +434,6 @@ jobs: UMAMI_API_ENDPOINT: ${{ secrets.UMAMI_API_ENDPOINT || secrets.NEXT_PUBLIC_UMAMI_SCRIPT_URL || vars.UMAMI_API_ENDPOINT || 'https://analytics.infra.mintel.me' }} SENTRY_DSN: ${{ secrets.SENTRY_DSN || vars.SENTRY_DSN }} - - name: 📝 E2E Form Submission Test - if: always() && steps.deps.outcome == 'success' - env: - NEXT_PUBLIC_BASE_URL: ${{ needs.prepare.outputs.next_public_url }} - GATEKEEPER_PASSWORD: ${{ secrets.GATEKEEPER_PASSWORD || vars.GATEKEEPER_PASSWORD }} - PUPPETEER_EXECUTABLE_PATH: /usr/bin/chromium - run: pnpm test run - # ────────────────────────────────────────────────────────────────────────────── # JOB 6: Notifications # ──────────────────────────────────────────────────────────────────────────────