feat: add new configuration files for Apt, Apk, Java, and Yum

Signed-off-by: d9pouces <github@19pouces.net>
This commit is contained in:
d9pouces
2026-09-04 22:53:13 +02:00
parent 22367224d7
commit 6e086b0964
7 changed files with 187 additions and 6 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ def _file(relative: str) -> str:
def render_template(text: str) -> str:
"""Render a tests/configs/*.yaml.tmpl fixture as a Jinja2 template.
"""Render a tests/configs/*.yaml.j2 fixture as a Jinja2 template.
Custom filters: `| env` reads an environment variable, `| file` reads a
file relative to tests/. Combine with Jinja2's built-in `indent` filter
@@ -48,7 +48,7 @@ def render_template(text: str) -> str:
@app.command(
name="render-config",
help="Render a tests/configs/*.yaml.tmpl fixture into a ready-to-use configuration.",
help="Render a tests/configs/*.yaml.j2 fixture into a ready-to-use configuration.",
)
def render_config(
template: Annotated[pathlib.Path, typer.Argument(exists=True, dir_okay=False)],