Skip to content

Fix Renovate S6 tracking, bump S6 to 3.2.3.0, improve layer caching#238

Merged
modem7 merged 1 commit into
masterfrom
fix/renovate-s6-versioning
Jun 27, 2026
Merged

Fix Renovate S6 tracking, bump S6 to 3.2.3.0, improve layer caching#238
modem7 merged 1 commit into
masterfrom
fix/renovate-s6-versioning

Conversation

@modem7

@modem7 modem7 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

Summary

1. Renovate S6 tracking fix (renovate.json)
Add versioningTemplate: "loose" to the S6 overlay custom manager. S6 uses 4-part version numbers (3.2.0.2, 3.2.3.0) which aren't valid semver — without loose versioning, Renovate silently skips updates it can't parse.

2. S6 bumped to 3.2.3.0 (Dockerfile)
Manually bumped since Renovate hasn't been opening PRs for it.

3. Dockerfile layer reorder for better cache utilisation

Before:

ADD S6 files → RUN (apk upgrade + S6 extract + apk add) → COPY requirements.txt → RUN pip install

A S6 bump invalidated the slow apk add (55 packages) and pip install layers every time.

After:

RUN apk upgrade + apk add → ADD S6 files → RUN S6 extract → COPY requirements.txt → RUN pip install

Now each concern is an independent cacheable layer:

  • S6 bump → only S6 extract + pip rebuild (apk cached)
  • requirements.txt change → only pip rebuilds (apk + S6 cached)
  • apk package update → only apk + everything after rebuilds (but S6 and pip layers are unaffected by apk index changes)

Also adds --mount=type=cache,id=apk-${TARGETARCH} to the apk step, consistent with the existing pip cache mount.

Test plan

  • S6 version updated to 3.2.3.0 in Dockerfile
  • versioningTemplate: "loose" added to S6 custom manager in renovate.json
  • Layer order verified: apk before S6 ADD
  • CI build passes with new S6 version and layer order
  • Renovate opens future S6 update PRs automatically

S6 overlay uses 4-part versions (3.2.0.2) which aren't valid semver.
Without versioningTemplate: "loose", Renovate uses semver by default for
github-releases and silently skips updates it can't parse.

Also manually bumps S6_OVERLAY_VERSION to 3.2.3.0 since Renovate hasn't
been opening PRs for it.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@modem7 modem7 merged commit 8ca13b4 into master Jun 27, 2026
6 checks passed
@modem7 modem7 changed the title Fix Renovate S6 tracking and bump S6 to 3.2.3.0 Fix Renovate S6 tracking, bump S6 to 3.2.3.0, improve layer caching Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant