BAC-L2-OPS-103
Continuous integration for a protocol repository
Building protocol-grade Rust or Go is expensive in machine time. Badly designed CI becomes a brake rather than a safety net.
- Level
- L2 — Appchain developer
- Duration
- 3 h
- Maintainer
- DevOps / Blockchain Infrastructure Engineer
Learning objectives
- 01Build a pipeline that compiles, tests and lints
- 02Cache dependencies to keep durations acceptable
- 03Block merges on explicit quality criteria
Guided lab
Set up continuous integration for a workshop repository, caching included.
Independent lab
Halve the pipeline's runtime without reducing coverage.
Security angle
A pipeline has access to repository secrets: restrict the permissions of third-party actions.
Assessment
Green pipeline, with runtime measured before and after optimisation.
