Instantiate This Template with Copier
Instantiate this template with Copier
Section titled “Instantiate this template with Copier”attested-pipeline-template is a living, update-propagating template. You can
stand up a project three ways; they differ in one decisive way — whether you can
later pull template improvements with copier update.
| Path | Gets the files | copier update later? |
|---|---|---|
copier copy (recommended) |
yes | yes — records .copier-answers.yml |
| GitHub “Use this template” | yes | no (until you adopt Copier) |
git clone |
yes | no |
Option A — Copier (recommended)
Section titled “Option A — Copier (recommended)”uvx copier copy gh:modeled-information-format/attested-pipeline-template my-project# or: pipx install copier && copier copy gh:modeled-information-format/attested-pipeline-template my-projectcd my-projectCopier asks for the project name, owner, and description; writes a
.copier-answers.yml recording your answers and the template version; and
renders the per-instance record at docs/instance.md. Only *.jinja files are
rendered (suffix dropped); every other file — the attested pipeline workflows,
the VEX disposition, and the gates — is copied verbatim. copier.yml is
excluded from instances.
Finish by updating the self-references in README.md, SECURITY.md, and the
workflows (see docs/instance.md).
Pull later template improvements
Section titled “Pull later template improvements”This is the differentiator over snapshot engines. When the template ships a fix or addition, re-apply it to your project:
cd my-projectcopier update # re-applies template changes, preserving your answersOption B — GitHub “Use this template”
Section titled “Option B — GitHub “Use this template””Still fully supported. This path does not record Copier answers, so
copier update will not work until you adopt Copier (run copier copy over the
repo and commit the resulting .copier-answers.yml).