anodizer.yml config
Top-level anodizer.yml keys, Tera template helpers, lifecycle hooks, and monorepo configuration.
anodizer.yml config
Top-level configuration keys and the Tera helpers available inside any template string. Tera syntax is GoReleaser-compatible.
Top-level config
| Key | Status | Notes |
|---|---|---|
project_name | ✅ Verified | anodizer .anodizer.yaml (project_name: anodizer) |
dist | ✅ Verified | anodizer .anodizer.yaml (dist: ./dist) |
env | ✅ Verified | anodizer .anodizer.yaml (env: - RELEASE_TYPE=stable) |
env_files | ✅ Verified | crates/core/src/config/mod.rs (env_files config field) |
variables | ✅ Verified | cfgd .anodizer.yaml (variables.repo_url + .description) |
template_files[] | ✅ Verified | install.sh (rendered + attached on every cfgd release) |
includes[].from_file | ✅ Verified | crates/core/src/config/mod.rs (IncludeSpec, parsed from includes:) |
includes[].from_url | 🤝 Help wanted | No live config pulls a remote include |
before | ✅ Verified | cfgd .anodizer.yaml (before.hooks runs cargo fmt --check, clippy, test) |
after | ✅ Verified | cfgd .anodizer.yaml (after.post echo) |
build.hooks.pre | ✅ Verified | cfgd .anodizer.yaml (archive hooks.before) |
build.hooks.post | ✅ Verified | cfgd .anodizer.yaml (archive hooks.after) |
snapshot.name_template | ✅ Verified | anodizer .anodizer.yaml (snapshot.version_template) |
--auto-snapshot | ✅ Verified | anodizer ci.yml (snapshot build on every master push) |
nightly.* | 🤝 Help wanted | Wired; no scheduled nightly workflow yet |
metadata.homepage | ✅ Verified | cfgd .anodizer.yaml (metadata.homepage: https://github.com/tj-smith47/cfgd) |
metadata.license | ✅ Verified | cfgd .anodizer.yaml (metadata.license: MIT) |
metadata.description | ✅ Verified | cfgd .anodizer.yaml (metadata.description) |
metadata.maintainers | ✅ Verified | cfgd .anodizer.yaml (metadata.maintainers) |
metadata.mod_timestamp | ✅ Verified | anodizer .anodizer.yaml (metadata.mod_timestamp: "{{ CommitTimestamp }}"; applied as mtime of dist/metadata.json and dist/artifacts.json) |
Templates
Tera engine, GoReleaser-compatible syntax. Every template string in the config is rendered.
| Helper | Status | Notes |
|---|---|---|
{{ .Field }} | ✅ Verified | crates/core/src/template/vars.rs (every {{ .Project }} / .Version / .Tag / .Os / .Arch binding) |
{{ .Var.* }} | ✅ Verified | cfgd .anodizer.yaml ({{ Var.repo_url }} + {{ Var.description }}) |
{{ .PrefixedTag }} | ✅ Verified | crates/core/src/template/vars.rs (PrefixedTag binding) |
{{ .Artifacts }} | ✅ Verified | cfgd .anodizer.yaml ({{ .Artifacts }} inside docker_manifests.image_templates) |
{{ .Metadata }} | ✅ Verified | crates/core/src/template/vars.rs (Metadata binding) |
{{ .IsMerging }} | ✅ Verified | crates/core/src/template/vars.rs (IsMerging binding) |
{{ .IsRelease }} | ✅ Verified | crates/core/src/template/vars.rs (IsRelease binding) |
| String / path / version / env / filter helpers | ✅ Verified | crates/core/src/template/base_tera.rs (tolower, toupper, dir, base, abs, etc.) |
sha*, blake2*, blake3, crc32, md5 | ✅ Verified | crates/core/src/template/base_tera.rs (register_hash_fn! macro) |
readFile, mustReadFile | ✅ Verified | crates/core/src/template/base_tera.rs (readFile / mustReadFile registrations) |
time, .Now.Format | ✅ Verified | crates/core/src/template/base_tera.rs (time function + Now binding) |
mdv2escape | ✅ Verified | crates/core/src/template/base_tera.rs (mdv2escape filter) |
urlPathEscape | ✅ Verified | crates/core/src/template/base_tera.rs (urlPathEscape filter) |
in | ✅ Verified | crates/core/src/template/base_tera.rs (in filter) |
reReplaceAll | ✅ Verified | crates/core/src/template/base_tera.rs (reReplaceAll filter) |
Monorepo
| Key | Status | Notes |
|---|---|---|
monorepo.tag_prefix | ✅ Verified | cfgd .anodizer.yaml (tag_template: core-v{{ Version }} / v{{ Version }} / operator-v / csi-v) |
monorepo.dir | ✅ Verified | cfgd .anodizer.yaml (path: crates/cfgd-core, crates/cfgd, crates/cfgd-operator, crates/cfgd-csi) |
cargo_workspace detection | ✅ Verified | cfgd .anodizer.yaml (4 workspaces: cfgd-core, cfgd, cfgd-operator, cfgd-csi) |
depends_on | ✅ Verified | cfgd .anodizer.yaml (depends_on: [cfgd-core] on the three downstream crates) |
git.tag_sort | ✅ Verified | cfgd .anodizer.yaml (git.tag_sort: "-version:refname") |
git.prerelease_suffix | ✅ Verified | cfgd .anodizer.yaml (git.prerelease_suffix: "-") |
git.ignore_tags | ✅ Verified | cfgd .anodizer.yaml (git.ignore_tags: ["nightly"]) |
partial.by | ✅ Verified | cfgd .anodizer.yaml (partial.by: goos at file end) |