Sparse Checkout Buildkite Plugin

Sparse checkouts a directory from Github. Based on https://buildkite.com/docs/plugins/writing

Example

Add the following to your pipeline.yml:

steps:
  - command: echo sparse-checkout
    plugins:
      - pragmaplatform/sparse-checkout#v1.1.9:
          paths: "dir1 dir2"

Configuration

paths (Required, list)

List of directory paths to sparse checkout.

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