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.5Set 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: 1000If not specified, the plugin will perform a git fetch --unshallow operation to fetch all commits.