GithubHelp home page GithubHelp logo

isabella232 / aws-agent-with-whitelist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from buildkite/aws-agent-with-whitelist

0.0 0.0 0.0 10 KB

A Buildkite Agent Docker image with the AWS cli and the ability to whitelist which pipelines and branches can be run

Home Page: https://hub.docker.com/r/buildkite/aws-agent-with-whitelist/

License: MIT License

Dockerfile 14.61% Shell 85.39%

aws-agent-with-whitelist's Introduction

buildkite/aws-agent-with-whitelist

A buildkite/agent image with the AWS CLI, and the ability to whitelist which pipelines and branches can be run. This is done via the environment hook.

Configuring

The following environment variables can be used to configure the agent.

BUILDKITE_AGENT_WHITELIST_PIPELINES

A comma separated whitelist of pipelines to limit this agent to running.

You can either specify just the pipeline slug (e.g. my-app), which will allow all branches of that pipeline to run, or a pipeline slug and branch (e.g. my-app/master).

Examples:

Value Result
my-app Allows building any branch of the my-app pipeline.
my-app/deploy,other-app Allows building only the master branch of the my-app pipeline, and any branch of the other-app pipeline.

BUILDKITE_AGENT_ALLOW_FORKS

Set this to true if you want to allow building third-party forks, or false if you want to disable building third-party forks.

Default is false.

Examples:

Value Result
true Allows third-party forks.
false Disables third-party forks.

Developing

Running the tests:

docker-compose run --rm tests

Running an agent:

docker-compose build && \
docker-compose run --rm -e BUILDKITE_AGENT_WHITELIST_PIPELINES=xyz agent start --token 123

aws-agent-with-whitelist's People

Contributors

toolmantim 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.