Reference implementation for the Buildpack API v3 lifecycle component
Latest commit fa66d90 Nov 16, 2018
Permalink
Failed to load latest commit information.
bin Fix bugs + add CI config Jun 6, 2018
cmd runImageRepoName -> runImageRef Nov 16, 2018
images Add script for quick development Oct 30, 2018
img run image top layer is diff id Oct 25, 2018
testdata Adds "--dryrun" flag to exporter binary Nov 15, 2018
testmock Add support for .append and .override, also: Sep 8, 2018
vendor Re-vendor Sep 8, 2018
.gitignore Initial spike for builder and detector May 29, 2018
.travis.yml Removes sample buildpacks from packs/build Sep 17, 2018
Dockerfile Uses hardcoded defaults for most lifecycle inputs Oct 19, 2018
LICENSE Add LICENSE (apache 2.0) Jun 25, 2018
README.md Update README.MD to link to the formalized spec Oct 24, 2018
analyzer.go Run goimports Oct 18, 2018
analyzer_test.go Run goimports Oct 18, 2018
builder.go Add support for custom app directory with cmd arg Nov 2, 2018
builder_test.go Add support for custom app directory with cmd arg Nov 2, 2018
detector.go Add support for .append and .override, also: Sep 8, 2018
detector_test.go Add support for .append and .override, also: Sep 8, 2018
env.go Update env var file parsing to match spec exactly Sep 8, 2018
env_test.go Run goimports Oct 18, 2018
exporter.go Sets correct artifacts dir for ExportImage Nov 16, 2018
exporter_test.go Sets correct artifacts dir for ExportImage Nov 16, 2018
go.mod Adds "--dryrun" flag to exporter binary Nov 15, 2018
go.sum Adds "--dryrun" flag to exporter binary Nov 15, 2018
knative.go knative-helper prints info, fixes issue checking for /cache Sep 18, 2018
knative_test.go Run goimports Oct 18, 2018
launcher.go Updates based on PR feedback Nov 5, 2018
launcher_test.go Add support for custom app directory with cmd arg Nov 2, 2018
lifecycle.go Uses hardcoded defaults for most lifecycle inputs Oct 19, 2018
map.go Update buildpack.toml to match spec Sep 8, 2018
map_test.go Update buildpack.toml to match spec Sep 8, 2018
metadata.go Add support for custom app directory with cmd arg Nov 2, 2018
utils.go Small permissions fix + misc cleanup Aug 20, 2018

README.md

Lifecycle

Build Status GoDoc

A reference implementation of Buildpack API v3.

Commands

Build

  • detector - chooses buildpacks (via /bin/detect)
  • analyzer - restores launch layer metadata from the previous build
  • builder - executes buildpacks (via /bin/build)
  • exporter - remotely patches images with new layers (via rebase & append)
  • launcher - invokes choice of process

Develop

  • detector - chooses buildpacks (via /bin/detect)
  • developer - executes buildpacks (via /bin/develop)
  • launcher - invokes choice of process

Cache

  • retriever - restores cache
  • cacher - updates cache

Notes

Cache implementations (retriever and cacher) are intended to be interchangable and platform-specific. A platform may choose not to deduplicate cache layers.