Git Product home page Git Product logo

github-fetch-buildkite-plugin's Introduction

github-fetch-buildkite-plugin

A Buildkite plugin to fetch a branch from GitHub.

Buildkite Agent Requirements

  • Git
  • AWS CLI (only if BUILDKITE_PLUGIN_GITHUB_FETCH_S3_URL is provided)

Configurations

The plugin accepts the following environment variables to configure its behaviour:

  • BUILDKITE_PLUGIN_GITHUB_FETCH_S3_URL

    • Required: No
    • Description: An S3 URL (e.g. s3://<bucket>/<key>) pointing to a "directory" in S3 which contains snapshots of the GitHub repository to checkout. The snapshots must be in tar.gz format and use the following naming convention: YYYYMMDD_HHmmss.tar.gz.

    Note: If this parameter is not specified the branch will be always checked out from the repository in GitHub.

  • BUILDKITE_PLUGIN_GITHUB_FETCH_GIT_REMOTE_TIMEOUT

    • Required: No
    • Default: 0 (no timeout)
    • Description: The maximum amount of time for Git remote operations (push pull fetch) to complete.
  • BUILDKITE_PLUGIN_GITHUB_FETCH_GIT_REMOTE_TIMEOUT_EXIT_CODE:

    • Required: No
    • Default: 110
    • Description: The exit code returned by the Buildkite step if any Git remote operation times out.

    Note: This parameter has no effect if BUILDKITE_PLUGIN_GITHUB_FETCH_GIT_REMOTE_TIMEOUT is undefined or set to 0.

Exit Codes

Exit Code Description
116 The target Git branch does not contain the specified commit.

github-fetch-buildkite-plugin's People

Contributors

alloveras avatar arromer avatar danielacnv avatar danjuv avatar david-christ avatar mkl-o avatar olebedev avatar rabbitinspace avatar uri-canva avatar whence avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.