Skip to content

stonish/git-metadata-buildpack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT Metadata Buildpack

CircleCI Download codecov

This is a Cloud Native Buildpack V3 that adds GIT metadata as a layer to the built container.

This buildpack is designed to work in collaboration with other buildpacks.

Usage

pack build <image-name> --builder cloudfoundry/cnb:cflinuxfs3 --buildpack https://bintray.com/bstick12/buildpacks/download_file?file_path=git-metadata-buildpack-0.4.0.tgz

The following layer will be added to your container

/layers/io.bstick12.buildpacks.git-metadata/git-metadata/

The git-metadata.toml file will contain the following elements

sha = "<sha>"
branch = "<remote>/<branch>"
remote = "<remote url>"

Development

scripts/unit.sh - Runs unit tests for the buildpack scripts/build.sh - Builds the buildpack scripts/package.sh - Package the buildpack

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 82.9%
  • Shell 17.1%