From e9aef5719f6280871c9d0f41ef2176595d9c511e Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Sat, 30 May 2026 04:49:59 +0000 Subject: [PATCH 1/2] GRO-1939: Add CI smoke test for blackholed migrate runtime Cherry-picked from fix/GRO-1909-migrate-corepack-offline (f007eca) --- .gitea/workflows/ci.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 0f05f7c..867246f 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: push: true tags: | git.farh.net/groombook/api:${{ steps.version.outputs.tag }} - ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombook/api:latest' || '' }} + ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombok/api:latest' || '' }} cache-from: type=registry,ref=git.farh.net/groombook/cache:api cache-to: type=registry,ref=git.farh.net/groombook/cache:api,mode=max @@ -118,6 +118,17 @@ jobs: cache-from: type=registry,ref=git.farh.net/groombook/cache:migrate cache-to: type=registry,ref=git.farh.net/groombook/cache:migrate,mode=max + - name: Smoke test migrate image (blackhole npmjs.org) + run: | + set -euo pipefail + IMAGE="git.farh.net/groombook/migrate:${{ steps.version.outputs.tag }}" + docker pull "$IMAGE" + docker run --rm \ + --add-host registry.npmjs.org:127.0.0.1 \ + --entrypoint="" \ + "$IMAGE" \ + pnpm --version + - name: Build and push Seed image uses: docker/build-push-action@v6 with: @@ -143,5 +154,5 @@ jobs: tags: | git.farh.net/groombook/reset:${{ steps.version.outputs.tag }} ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombook/reset:latest' || '' }} - cache-from: type=registry,ref=git.farh.net/groombook/cache:reset - cache-to: type=registry,ref=git.farh.net/groombook/cache:reset,mode=max + cache-from: type=registry,ref=git.farh.net/groombook/cache:reset + cache-to: type=registry,ref=git.farh.net/groombook/cache:reset,mode=max From 5ec9e9a8fdf0a05fed627147bd95d6ca5b73e2e0 Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Sat, 30 May 2026 05:14:51 +0000 Subject: [PATCH 2/2] fix(ci): correct typo groombok->groombook and fix Reset image cache-from indentation - Fix API image tag typo: groombok -> groombook (line 103) - Fix Reset image cache-from/cache-to indentation: moved from under tags: (12 spaces) to under with: (10 spaces) - This corrects the Reset image build failure in CI runs. --- .gitea/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 867246f..9103390 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -100,7 +100,7 @@ jobs: push: true tags: | git.farh.net/groombook/api:${{ steps.version.outputs.tag }} - ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombok/api:latest' || '' }} + ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombook/api:latest' || '' }} cache-from: type=registry,ref=git.farh.net/groombook/cache:api cache-to: type=registry,ref=git.farh.net/groombook/cache:api,mode=max @@ -154,5 +154,5 @@ jobs: tags: | git.farh.net/groombook/reset:${{ steps.version.outputs.tag }} ${{ github.ref == 'refs/heads/main' && 'git.farh.net/groombook/reset:latest' || '' }} - cache-from: type=registry,ref=git.farh.net/groombook/cache:reset - cache-to: type=registry,ref=git.farh.net/groombook/cache:reset,mode=max + cache-from: type=registry,ref=git.farh.net/groombook/cache:reset + cache-to: type=registry,ref=git.farh.net/groombook/cache:reset,mode=max