Use older git clone for woodpecker. (#2831)

follow-to
Dessalines 2023-04-24 15:40:36 -04:00 committed by GitHub
parent eb40aeb89b
commit a2fb4b8cd0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 16 additions and 6 deletions

View File

@ -4,14 +4,24 @@
variables:
- &muslrust_image 'clux/muslrust:1.67.0'
clone:
git:
image: woodpeckerci/plugin-git
settings:
recursive: true
submodule_update_remote: true
# Broken for cron jobs currently, see
# https://github.com/woodpecker-ci/woodpecker/issues/1716
# clone:
# git:
# image: woodpeckerci/plugin-git
# settings:
# recursive: true
# submodule_update_remote: true
pipeline:
prepare_repo:
image: alpine:3
commands:
- apk add git
#- git fetch --tags
- git submodule init
- git submodule update --recursive --remote
# use minimum supported rust version for most steps
cargo_fmt:
image: *muslrust_image