ci: use local git mirror as clone reference

Eliminates Codeberg git clone rate limiting. The mirror at
/git-mirrors/harb.git (synced every 2 min) provides objects locally,
so the clone step only fetches deltas from Codeberg.

Volume mounted via WOODPECKER_BACKEND_DOCKER_VOLUMES.
This commit is contained in:
openhands 2026-03-14 12:44:08 +00:00
parent 057737e293
commit 22e328e12b
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ clone:
image: woodpeckerci/plugin-git
settings:
depth: 50
reference: /git-mirrors/harb.git
netrc_machine: codeberg.org
netrc_username: johba
netrc_password:

View file

@ -20,6 +20,7 @@ clone:
image: woodpeckerci/plugin-git
settings:
depth: 50
reference: /git-mirrors/harb.git
netrc_machine: codeberg.org
netrc_username: johba
netrc_password: