Giter VIP home page Giter VIP logo

aws-codebuild-extras's Introduction

aws-codebuild-extras Build Status

Adds extra information of your AWS CodeBuild build via environment variables.

Usage

Add the following command to the install or pre_build phase of your buildspec, and replace <A_COMMIT_HASH> by the lastest commit hash (or your preferred revision):

curl -fsSL https://raw.githubusercontent.com/thii/aws-codebuild-extras/<A_COMMIT_HASH>/install >> extras.sh && . ./extras.sh

Alternatively, you can fork this repo and always point to the default branch of your fork.

You can also break the installation into two steps to improve readability. For example in the install phase:

phases:
  install:
    commands:
      - echo Installing codebuild-extras...
      - curl -fsSL https://raw.githubusercontent.com/thii/aws-codebuild-extras/<A_COMMIT_HASH>/install >> extras.sh
      - . ./extras.sh
NAME VALUE
CI true
CODEBUILD true
CODEBUILD_GIT_AUTHOR Committer Name
CODEBUILD_GIT_AUTHOR_EMAIL [email protected]
CODEBUILD_GIT_BRANCH branch name
CODEBUILD_GIT_COMMIT commit hash
CODEBUILD_GIT_MESSAGE commit message
CODEBUILD_GIT_TAG git tag
CODEBUILD_PROJECT project
CODEBUILD_PULL_REQUEST Pull request number

aws-codebuild-extras's People

Contributors

alessandrobologna avatar dls314 avatar jlongtine avatar pisich avatar thii 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.