|
|
||
|---|---|---|
| .forgejo/workflows | ||
| README.md | ||
Reusable CI workflows
Layer 2 of the blueprint system: Sparks reference these by version and carry no pipeline logic of their own. See docs/architecture/blueprints.md.
Usage in a Spark
The complete .forgejo/workflows/ci.yaml in a Spark repository:
jobs:
ci:
uses: octoforge/workflows/.forgejo/workflows/spark-ci.yaml@v1
forge doctor errors if a Spark's workflow does not reference this.
Versioning
Referenced by a moving major tag (@v1). Sparks pick up fixes and new steps on their next build
without a change on their side - which is the point of layer 2.
A change that would break existing Sparks needs @v2 and a migration, because every Spark references
the tag directly.
What the pipeline does
Documented step by step, including failure behaviour, in docs/architecture/delivery-pipeline.md.
The essential property: the pipeline has no cluster credentials. It builds an image, pushes it, renders manifests, and commits them to the deploy repository. Argo CD does the rest. That seam is what makes agents safe to add in stage 3.
Not yet verified
These workflows are written but have never executed - there is no Forgejo instance yet. Expect the
first real run to need corrections, particularly around act_runner behaviour and BuildKit
invocation, which ADR-0004 already flags as the
weakest part of the Forgejo choice.