Skip to content

Commit

Permalink
Merge branch 'master' into fix/222-robust-paths-wip
Browse files Browse the repository at this point in the history
Signed-off-by: Javier Romero <[email protected]>
  • Loading branch information
jromero committed Jan 17, 2020
2 parents d2d551e + 5b9f575 commit 1b5fb99
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @buildpacks/implementation-maintainers
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,14 @@ format: install-goimports
@echo "> Formating code..."
test -z $$(goimports -l -w -local github.com/buildpacks/lifecycle $$(find . -type f -name '*.go' -not -path "*/vendor/*"))

verify-jq:
ifeq (, $(shell which jq))
$(error "No jq in $$PATH, please install jq")
endif

test: unit acceptance

unit: format lint install-yj
unit: verify-jq format lint install-yj
@echo "> Running unit tests..."
$(GOTEST) -v -count=1 ./...

Expand All @@ -91,3 +96,5 @@ clean:
package: descriptor
@echo "> Packaging lifecycle..."
tar czf ./out/$(ARCHIVE_NAME).tgz -C out lifecycle.toml lifecycle

.PHONY: verify-jq
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,38 +3,30 @@
[![Build Status](https://travis-ci.org/buildpacks/lifecycle.svg?branch=master)](https://travis-ci.org/buildpack/lifecycle)
[![GoDoc](https://godoc.org/github.com/buildpacks/lifecycle?status.svg)](https://godoc.org/github.com/buildpacks/lifecycle)

A reference implementation of [Buildpack API v3](https://github.com/buildpacks/spec).
A reference implementation of the [Cloud Native Buildpacks specification](https://github.com/buildpacks/spec).

This lifecycle implements the following versioned APIs
* Buildpack API 0.2 - excluding [/bin/develop](https://github.com/buildpacks/spec/blob/master/buildpack.md#development) and [store.toml](https://github.com/buildpacks/spec/blob/master/buildpack.md#storetoml-toml)
* Platform API 0.2

## Commands

### Build

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

### Develop
### Run

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

### Cache

* `restorer` - restores cache
* `cacher` - updates cache

### Rebase

* `rebaser` - remotely patches images with new base image

## Notes

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

## Development
To test, build, and package binaries into an archive, simply run:

Expand Down

0 comments on commit 1b5fb99

Please sign in to comment.