zola 0.23.6, in the image and the flake together
zola 0.23 no longer accepts `enabled` under [markdown.highlighting] (the section itself turns highlighting on) and keeps its binary at /zola in the image. Move the image pin and nixpkgs in flake.lock (which brings the same 0.23.6 to the tests and zola serve) in one change, so the two never split again, and let Renovate propose zola again. Rollback: revert this commit (image, flake.lock and config go back together). Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
e4bba4e1d7
commit
848bd6d26f
4 changed files with 8 additions and 17 deletions
|
|
@ -1,10 +1,11 @@
|
||||||
# Keep in step with the zola in flake.nix (tests, local serve); Renovate
|
# Keep in step with the zola in flake.nix (tests, local serve): bump this
|
||||||
# leaves this pin alone (renovate.json). 0.23 changes config.toml.
|
# pin together with nixpkgs in flake.lock.
|
||||||
FROM ghcr.io/getzola/zola:v0.22.1 AS build
|
FROM ghcr.io/getzola/zola:v0.23.6 AS build
|
||||||
|
|
||||||
COPY . /project
|
COPY . /project
|
||||||
WORKDIR /project
|
WORKDIR /project
|
||||||
RUN ["zola", "build"]
|
# zola is /zola in the image since 0.23, not on PATH
|
||||||
|
RUN ["/zola", "build"]
|
||||||
|
|
||||||
FROM nginx:1.30.6-alpine
|
FROM nginx:1.30.6-alpine
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,4 @@ generate_feeds = true
|
||||||
feed_filenames = ["atom.xml"]
|
feed_filenames = ["atom.xml"]
|
||||||
|
|
||||||
[markdown.highlighting]
|
[markdown.highlighting]
|
||||||
enabled = true
|
|
||||||
theme = "ayu-dark"
|
theme = "ayu-dark"
|
||||||
|
|
|
||||||
6
flake.lock
generated
6
flake.lock
generated
|
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1784120854,
|
"lastModified": 1794386569,
|
||||||
"narHash": "sha256-KesHgItiZPgGX740axSiQLcIQ8D24MDqNpkKYWIek8k=",
|
"narHash": "sha256-x9sADJvoVG0L6RejZB+/BB4YiGZFBZrfTlhF4uBq1tQ=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "753cc8a3a87467296ddd1fa93f0cc3e81120ee46",
|
"rev": "d4f25a3e562008648d45bcf2d70bcc7422cad84e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,5 @@
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"local>asxpi/renovate"
|
"local>asxpi/renovate"
|
||||||
],
|
|
||||||
"packageRules": [
|
|
||||||
{
|
|
||||||
"description": "zola must match the flake's (tests, local serve): bump both by hand, and migrate config.toml for 0.23 ([markdown.highlighting] lost `enabled`)",
|
|
||||||
"matchPackageNames": [
|
|
||||||
"ghcr.io/getzola/zola"
|
|
||||||
],
|
|
||||||
"enabled": false
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue