mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-26 19:31:05 +00:00
Use older git clone for woodpecker. (#2831)
This commit is contained in:
parent
eb40aeb89b
commit
a2fb4b8cd0
1 changed files with 16 additions and 6 deletions
|
@ -4,14 +4,24 @@
|
||||||
variables:
|
variables:
|
||||||
- &muslrust_image 'clux/muslrust:1.67.0'
|
- &muslrust_image 'clux/muslrust:1.67.0'
|
||||||
|
|
||||||
clone:
|
# Broken for cron jobs currently, see
|
||||||
git:
|
# https://github.com/woodpecker-ci/woodpecker/issues/1716
|
||||||
image: woodpeckerci/plugin-git
|
# clone:
|
||||||
settings:
|
# git:
|
||||||
recursive: true
|
# image: woodpeckerci/plugin-git
|
||||||
submodule_update_remote: true
|
# settings:
|
||||||
|
# recursive: true
|
||||||
|
# submodule_update_remote: true
|
||||||
|
|
||||||
pipeline:
|
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
|
# use minimum supported rust version for most steps
|
||||||
cargo_fmt:
|
cargo_fmt:
|
||||||
image: *muslrust_image
|
image: *muslrust_image
|
||||||
|
|
Loading…
Reference in a new issue