From 3835f5b078aed746ba4e26fda6eba686753b39cb Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 2 Sep 2026 12:56:53 -0700 Subject: [PATCH 1/2] CI: migrate alpine to a container-based flow --- .github/workflows/ci.yml | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e9bc9d67..ee3e6bd3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,6 +41,10 @@ jobs: alpine: needs: generate-matrix runs-on: ubuntu-24.04 + container: alpine:3.24 + defaults: + run: + shell: sh -e {0} strategy: fail-fast: false matrix: ${{fromJson(needs.generate-matrix.outputs.matrix-alpine)}} @@ -49,44 +53,42 @@ jobs: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - name: Setup Alpine Linux - uses: jirutka/setup-alpine@ae3b3ddba35054804fc4a3507b519fa7e8152050 #v1 - with: - branch: v3.20 - packages: > - abuild - build-base - coreutils - curl - findutils - git - make - rustup + run: | + apk add \ + abuild \ + bash \ + build-base \ + coreutils \ + curl \ + findutils \ + git \ + make \ + rustup \ xz + printf "#!/bin/sh\\nSETFATTR=true /usr/bin/abuild -F \"\$@\"\\n" > /usr/local/bin/abuild + chmod +x /usr/local/bin/abuild - name: Install Rust toolchain - shell: alpine.sh {0} - run: rustup-init --default-toolchain 1.86.0 --profile minimal -y + uses: actions-rust-lang/setup-rust-toolchain@150fca883cd4034361b621bd4e6a9d34e5143606 #v1 + with: + toolchain: 1.86.0 - name: Create build depends - shell: alpine.sh {0} working-directory: alpine run: | make abuild-${{ matrix.target }} - name: Install build depends - shell: alpine.sh --root {0} working-directory: alpine run: | apk add $(. ./abuild-${{ matrix.target }}/APKBUILD; echo $makedepends;) - name: Build ${{ matrix.target }} - shell: alpine.sh {0} working-directory: alpine run: | make ${{ matrix.target }} - name: List what has been built - shell: alpine.sh {0} if: ${{ !cancelled() }} run: | find ~/packages/alpine -type f | xargs ls -ld From 0832c6ce531d15331c34fe1379acbf724e782cb5 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 2 Sep 2026 13:39:29 -0700 Subject: [PATCH 2/2] alpine: don't require ruby-etc for Passenger This is a virtual 'provides' of a ruby package dropped in Alpine 3.22 times during the upgrade to Ruby 3.4.4. --- alpine/Makefile.module-passenger | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alpine/Makefile.module-passenger b/alpine/Makefile.module-passenger index e152c228..4a7010b7 100644 --- a/alpine/Makefile.module-passenger +++ b/alpine/Makefile.module-passenger @@ -20,7 +20,7 @@ MODULE_CONFARGS_passenger= --add-dynamic-module=$(MODSRC_PREFIX)passenger-$(PASS prerequisites-for-module-passenger: -MODULE_BUILD_DEPENDS_passenger=ruby-dev ruby-rake ruby-etc +MODULE_BUILD_DEPENDS_passenger=ruby-dev ruby-rake define MODULE_POST_passenger cat <