A Buildkite plugin that performs a git fetch to make a shallow clone deeper.
Add the following to your pipeline:
steps:
- plugins:
- github.com/brexhq/git-fetch-unshallow-buildkite-plugin#v0.0.5
Set this environment variable to specify the maximum commit depth for git fetch:
steps:
- plugins:
- github.com/brexhq/git-fetch-unshallow-buildkite-plugin#v0.0.5:
env:
GIT_FETCH_COMMIT_DEPTH: 1000
If not specified, the plugin will perform a git fetch --unshallow
operation to fetch all commits.