From: Dessalines Date: Mon, 24 Apr 2023 19:40:36 +0000 (-0400) Subject: Use older git clone for woodpecker. (#2831) X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/static/%7BmarkdownHelpUrl%7D?a=commitdiff_plain;h=a2fb4b8cd03438dd44af3bf6d497c64bed8e10f3;p=lemmy.git Use older git clone for woodpecker. (#2831) --- diff --git a/.woodpecker.yml b/.woodpecker.yml index e98659e3..4b5ff99a 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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