Shared clone step definition #3

Closed
opened 2026-07-04 19:08:26 +03:00 by oleks · 1 comment
Owner

The clone step (woodpeckerci/plugin-git + CI_NETRC_MACHINE: git.oleks.space + gitea_clone_token + PLUGIN_TAGS/DEPTH) is verbatim in essentially every pipeline in ~/projects. Define once and reuse.

The clone step (woodpeckerci/plugin-git + CI_NETRC_MACHINE: git.oleks.space + gitea_clone_token + PLUGIN_TAGS/DEPTH) is verbatim in essentially every pipeline in ~/projects. Define once and reuse.
oleks added this to the CI Scripts Optimization milestone 2026-07-04 19:08:26 +03:00
Collaborator

Added the canonical clone-step snippet at templates/clone-step.yaml (7fbf343, on top of 7a434fa..main). It's a copy-paste block (not machine-included, since Woodpecker has no include:), documents when to reach for it vs relying on implicit clone auth, and cross-references the gitea_clone_token org secret. Closing.

Added the canonical clone-step snippet at `templates/clone-step.yaml` (7fbf343, on top of 7a434fa..main). It's a copy-paste block (not machine-included, since Woodpecker has no `include:`), documents when to reach for it vs relying on implicit clone auth, and cross-references the `gitea_clone_token` org secret. Closing.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oleks/ci-scripts#3