Remove custom clone override, use built-in Woodpecker clone
This commit is contained in:
parent
62fe594be2
commit
432ceb575d
1 changed files with 0 additions and 17 deletions
|
|
@ -2,24 +2,7 @@ when:
|
|||
- event: push
|
||||
branch: master
|
||||
|
||||
|
||||
clone:
|
||||
git:
|
||||
image: alpine
|
||||
commands:
|
||||
- "echo clone-placeholder"
|
||||
|
||||
steps:
|
||||
- name: clone
|
||||
image: alpine
|
||||
environment:
|
||||
GITHUB_TOKEN:
|
||||
from_secret: github-token
|
||||
commands:
|
||||
- "apk update && apk add git"
|
||||
- 'for i in 1 2 3 4 5; do git clone https://x-access-token:${GITHUB_TOKEN}@github.com/${CI_REPO} . && break || echo "Clone attempt $i failed, retrying in 10s..." && rm -rf .git && sleep 10; done'
|
||||
- "git checkout $CI_COMMIT_SHA"
|
||||
|
||||
- name: install-api-deps
|
||||
image: python:3.13-slim
|
||||
commands:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue