chore(deps): update gsoci.azurecr.io/giantswarm/hugo docker tag to v0.146.4#2646
chore(deps): update gsoci.azurecr.io/giantswarm/hugo docker tag to v0.146.4#2646renovate[bot] wants to merge 7 commits into
Conversation
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
There were some breaking template system changes somewhere between 0.139.x and 0.146.x |
Hugo 0.146.x had a regression that broke our build: filenames with multiple dots (e.g. v0.0.10.md, apps.application.giantswarm.io.md) collapsed to a single page and relref to them returned REF_NOT_FOUND. Fixed in 0.147+, so jump straight to the latest 0.162.1. The hugomods-based image is Alpine/BusyBox, so the gzip-target find needs portable -iname clauses instead of GNU's -regextype/-iregex. Also addresses the deprecations Hugo 0.162.1 surfaces: - .Site.Data → hugo.Data (deprecated in 0.156) - .Site.LanguageCode → .Site.Language.Locale (deprecated in 0.158) - config languageCode → locale (deprecated in 0.158) And moves the CRD index template to layouts/management-api-reference.html so the 0.146+ layout lookup finds it again (was silently falling back to default list.html, losing the custom heading and crd-index styling). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
This PR moves/renames or deletes some files. Please make sure to
|
The validate workflow was pinned to Hugo 0.125.5 via peaceiris/actions-hugo,
which can't see our 0.162-era layouts/config and was reporting 8 false-positive
"Template is unused" warnings (management-api-reference.html, the changes RSS
templates, partials/changes/{list,meta,single}.html, etc.).
Switch to running hugomods/hugo:0.162.1 directly so CI uses the same Hugo
binary as the production build. Peaceiris caps at 0.146.4 (the broken
version we just escaped), so dropping that action is the simplest path.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
| <link>{{ .Permalink }}</link> | ||
| <description>All rececent changes and releases, throughout all categories</description> | ||
| {{- with .Site.LanguageCode }} | ||
| {{- with .Site.Language.Locale }} |
There was a problem hiding this comment.
There was a deprecation in newer version
| <link>{{ .Permalink }}</link> | ||
| <description>Recent changes and releases in the {{ .Data.Term | html }} category</description> | ||
| {{- with .Site.LanguageCode }} | ||
| {{- with .Site.Language.Locale }} |
There was a problem hiding this comment.
There was a deprecation in newer version
| -type f -regextype posix-extended \ | ||
| -iregex '.*\.(css|csv|html?|js|svg|txt|xml|json|webmanifest|ttf)' | \ | ||
| xargs gzip -9 -k | ||
| RUN find /public -type f \( \ |
There was a problem hiding this comment.
iregex did not work in new image
|
@lyind, is it a good time to merge this? |
|
No. After next week we can do anything with docs, Intranet and GitHub in general. Until then, please "no tocar". I have zero time tomorrow (last day before external audit) to look at anything except boring docs. |
This PR contains the following updates:
v0.139.3-full->v0.146.4-fullConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.