Skip to content

peakon/git-shallow-clone-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Git Shallow Clone Buildkite Plugin

Sets --depth flag for git-clone and git-fetch commands.

Example

Add the following to your pipeline.yml:

steps:
  - command: buildkite-agent pipeline upload
    plugins:
      - peakon/git-shallow-clone#v0.0.1:
          depth: 1

Configuration

depth (Optional, number)

Shallow clone --depth (default = 1).

Developing

To run the tests:

docker-compose run --rm tests

Contributing

  1. Fork the repo
  2. Make the changes
  3. Run the tests
  4. Commit and push your changes
  5. Send a pull request

About

Buildkite plugin for git shallow clone

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages