lifecycle

module
v0.19.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0

README

Lifecycle

Build Status GoDoc codecov CII Best Practices Gitpod ready-to-code

A reference implementation of the Cloud Native Buildpacks specification.

Supported APIs

Lifecycle Version Platform APIs Buildpack APIs
0.19.x 0.7, 0.8, 0.9, 0.10, 0.11, 0.12, 0.13 0.7, 0.8, 0.9, 0.10, 0.11
0.18.x 0.7, 0.8, 0.9, 0.10, 0.11, 0.12 0.7, 0.8, 0.9, 0.10
0.17.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11, 0.12 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10
0.16.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10, 0.11 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.15.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 0.10 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9
0.14.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8
0.13.x 0.3, 0.4, 0.5, 0.6, 0.7, 0.8 0.2, 0.3, 0.4, 0.5, 0.6, 0.7

* denotes unreleased version

Usage

Build

Either:

  • analyzer - Reads metadata from the previous image and ensures registry access.
  • detector - Chooses buildpacks (via /bin/detect) and produces a build plan.
  • restorer - Restores layer metadata from the previous image and from the cache, and restores cached layers.
  • builder - Executes buildpacks (via /bin/build).
  • exporter - Creates an image and caches layers.

Or:

  • creator - Runs the five phases listed above in order.
Run
  • launcher - Invokes a chosen process.
Rebase
  • rebaser - Creates an image from a previous image with updated base layers.

Contributing

  • CONTRIBUTING - Information on how to contribute and grow your understanding of the lifecycle.
  • DEVELOPMENT - Further detail to help you during the development process.
  • RELEASE - Further details about our release process.

Directories

Path Synopsis
testmock
Package testmock is a generated GoMock package.
Package testmock is a generated GoMock package.
Package cache provides functionalities around the cache
Package cache provides functionalities around the cache
cmd
Package image implements functions for manipulating images
Package image implements functions for manipulating images
internal
extend
Package extend contains extensions specific helpers
Package extend contains extensions specific helpers
str
testmock
Package testmock is a generated GoMock package.
Package testmock is a generated GoMock package.
Package layers provides a factory that can be used to construct layer tarballs from buildpack layer directories, extension layers, and other CNB filesystem constructs.
Package layers provides a factory that can be used to construct layer tarballs from buildpack layer directories, extension layers, and other CNB filesystem constructs.
Package log has logging interfaces for convenience in lifecycle
Package log has logging interfaces for convenience in lifecycle
Package phase handles logic internal to the CNB lifecycle, and roughly corresponds to the actions denoted by "the lifecycle MUST" and "the lifecycle SHALL" in the [Platform Interface Specification].
Package phase handles logic internal to the CNB lifecycle, and roughly corresponds to the actions denoted by "the lifecycle MUST" and "the lifecycle SHALL" in the [Platform Interface Specification].
testmock
Package testmock is a generated GoMock package.
Package testmock is a generated GoMock package.
testmock/auth
Package testmockauth is a generated GoMock package.
Package testmockauth is a generated GoMock package.
testmock/cache
Package testmockcache is a generated GoMock package.
Package testmockcache is a generated GoMock package.
files
Package files contains schema and helper methods for working with lifecycle configuration files.
Package files contains schema and helper methods for working with lifecycle configuration files.
tools

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL