From 81084f600f230740e02c432a9066000f46087dca Mon Sep 17 00:00:00 2001 From: Brian Ketelsen Date: Sat, 4 Jul 2026 22:41:26 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20build=20in=20debian:trixie=20=E2=80=94=20?= =?UTF-8?q?snow:latest=20exceeds=20Docker's=20layer=20limit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The build and release jobs ran inside ghcr.io/frostyard/snow:latest. Since snosi CI began re-chunking published images into 100+ layers for efficient delta updates, Docker refuses to pull them as job containers (max depth exceeded — the ~128-layer overlay2 limit). Last green run predates the chunking (2026-02-27); PR #23's CI died on the container pull before reaching any code. debian:trixie is the same package universe snosi images are built from and all Build-Depends are stock Debian. Adds dpkg-dev/devscripts to the release job (previously inherited from the snow image); drops the now-unneeded privileged options and host mounts. Also fixes the snosi-kickoff dispatch condition: it required refs/heads/main inside a tag-triggered workflow, so it never fired. Fixes #24 Co-Authored-By: Claude Fable 5 --- .github/workflows/build.yml | 11 ++++++----- .github/workflows/release.yml | 15 ++++++++------- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3f16c29..bb17344 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,12 +10,13 @@ permissions: jobs: build: runs-on: ubuntu-latest + # debian:trixie matches the target distro (snosi images are Trixie-based). + # ghcr.io/frostyard/snow:latest can no longer be used as a job container: + # snosi CI re-chunks published images into 100+ layers for efficient delta + # updates, and Docker refuses to pull them ("max depth exceeded" — the + # ~128-layer overlay2 limit). Podman/bootc hosts are unaffected. container: - image: ghcr.io/frostyard/snow:latest - volumes: - - /proc:/proc - - /:/run/host - options: --privileged -it + image: debian:trixie steps: - uses: actions/checkout@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1d96275..0c2913a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,12 +8,13 @@ on: jobs: build-artifacts: runs-on: ubuntu-latest + # debian:trixie matches the target distro (snosi images are Trixie-based). + # ghcr.io/frostyard/snow:latest can no longer be used as a job container: + # snosi CI re-chunks published images into 100+ layers for efficient delta + # updates, and Docker refuses to pull them ("max depth exceeded" — the + # ~128-layer overlay2 limit). Podman/bootc hosts are unaffected. container: - image: ghcr.io/frostyard/snow:latest - volumes: - - /proc:/proc - - /:/run/host - options: --privileged -it + image: debian:trixie permissions: contents: read @@ -31,7 +32,7 @@ jobs: - name: Install build dependencies run: | apt-get update - apt-get install -y awscli + apt-get install -y awscli dpkg-dev devscripts apt-get build-dep -y . - name: Build .deb package @@ -114,7 +115,7 @@ jobs: base-url: https://repository.frostyard.org # required for sysext - name: Kickoff snosi - if: github.event_name != 'pull_request' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) + if: startsWith(github.ref, 'refs/tags/') continue-on-error: true uses: peter-evans/repository-dispatch@v4 with: