From a2fb4b8cd03438dd44af3bf6d497c64bed8e10f3 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 24 Apr 2023 15:40:36 -0400 Subject: [PATCH] Use older git clone for woodpecker. (#2831) --- .woodpecker.yml | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) 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 -- 2.44.1