Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Anchors are so, so useful. Buildkite (which has its own CI pipelines syntax) is a good example. Let’s say I want every pipeline step to run on my custom agents (on my self-hosted infra). I could either copy/paste an identical “agents” property across however many hundreds or thousands of CI steps I have.

Or I could use a YAML anchor.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: