From a0bc3115a90aca9150bc729f719e0707f35aa331 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 12 Apr 2026 20:41:45 +0200 Subject: [PATCH] CI: build-jobs: use Alpine stable Fix that the build-jobs were using Alpine edge. This seems unintentional, or at least inconsistent. Before this patch we had: $ git grep alpine:latest .ci/build-jobs.yaml.j2:image: registry.alpinelinux.org/img/alpine:latest .gitlab-ci.yml:image: alpine:latest It turns out that "registry.alpinelinux.org/img/alpine:latest" is actually alpine edge: $ docker run --rm registry.alpinelinux.org/img/alpine:latest cat /etc/os-release Unable to find image 'registry.alpinelinux.org/img/alpine:latest' locally latest: Pulling from img/alpine d4a983187cfd: Pull complete Digest: sha256:47b4a945203d4bad4e0c7840d64044da50a719d0cd0512a50e3ab473240635ea Status: Downloaded newer image for registry.alpinelinux.org/img/alpine:latest NAME="Alpine Linux" ID=alpine VERSION_ID=3.21.0_alpha20240923 PRETTY_NAME="Alpine Linux edge" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" And alpine:latest is stable (when fetched from docker hub, with podman it could be configured to point at alpine's registry as well, which means it is edge... but the OSUOSL CI runners use docker): $ docker run --rm alpine:latest cat /etc/os-release Unable to find image 'alpine:latest' locally latest: Pulling from library/alpine 589002ba0eae: Already exists Digest: sha256:25109184c71bdad752c8312a8623239686a9a2071e8825f20acb8f2198c3f659 Status: Downloaded newer image for alpine:latest NAME="Alpine Linux" ID=alpine VERSION_ID=3.23.3 PRETTY_NAME="Alpine Linux v3.23" HOME_URL="https://alpinelinux.org/" BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues" Using stable makes more sense here, so temporary bugs in edge don't break our CI. It is currently somewhat broken because running pmbootstrap with python 3.14 and musl results in crashes with "No file descriptors available" errors in some situations. Related: https://gitlab.postmarketos.org/postmarketOS/postmarketos/-/work_items/141 Signed-off-by: Oliver Smith Part-of: --- .ci/build-jobs.yaml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/build-jobs.yaml.j2 b/.ci/build-jobs.yaml.j2 index 3eb64fad0..d12605ff4 100644 --- a/.ci/build-jobs.yaml.j2 +++ b/.ci/build-jobs.yaml.j2 @@ -1,4 +1,4 @@ -image: registry.alpinelinux.org/img/alpine:latest +image: alpine:latest stages: - build - hardware tests