gen_config: abstract pipeline emitters behind a backend interface #143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactor gen_config.py so pipeline generation dispatches by backend.
dev/scripts/backends/woodpecker.py extracts current emitters.
dev/scripts/backends/github.py adds GitHub Actions emitter.
Both implement: emit(images, cfg) -> dict[str, str]
Image definitions, scan policies, tag patterns are backend-agnostic. Only the YAML structure differs.