26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
|
|
# Staged template definitions
|
||
|
|
|
||
|
|
Definitions here are **not** the registry. They are role definitions destined
|
||
|
|
for `heavy-duty/rig-templates`, staged in rig's tree only while the registry
|
||
|
|
repo does not yet exist on the forge that will serve them (#109).
|
||
|
|
|
||
|
|
This is deliberately a waiting room, not a second registry:
|
||
|
|
|
||
|
|
- `bootstrap-tenant.sh` does not look here. Nothing in this directory is
|
||
|
|
reachable by a mint, and adding a lookup would recreate exactly the coupling
|
||
|
|
the registry split was written to remove — where adding a tenant meant
|
||
|
|
editing rig.
|
||
|
|
- `test/cli.sh` lints each one with `rig template-lint`, the same parser a mint
|
||
|
|
runs. A definition that cannot pass the schema never reaches the registry.
|
||
|
|
- When the registry repo exists, a definition moves there **verbatim** and is
|
||
|
|
deleted from here in the same PR.
|
||
|
|
|
||
|
|
To try one before it is anywhere, point a mint at it directly:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
RIG_TEMPLATES_DIR=docs/templates rig bootstrap ci-box
|
||
|
|
```
|
||
|
|
|
||
|
|
That is `RIG_TEMPLATES_DIR`'s stated purpose — "try a template before it exists
|
||
|
|
anywhere" — and it is the supported path, not a workaround.
|