Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Buildpack RFC 0074: Move layer types to new table in layer.toml #153

Closed
ryanmoran opened this issue Apr 7, 2021 · 0 comments · Fixed by #238
Closed

Implement Buildpack RFC 0074: Move layer types to new table in layer.toml #153

ryanmoran opened this issue Apr 7, 2021 · 0 comments · Fixed by #238
Assignees

Comments

@ryanmoran
Copy link
Member

Summary

Buildpack RFC0074 makes a modification to the layer metadata file to move the build, launch, and cache keys under a top-level types table. The new format would look like the following:

[types]
  launch = true
  build = false
  cache = false

We will need to make sure that buildpacks using Buildpack API 0.6 or higher have their layer metadata files written to include this new types table.

Proposal

If the buildpack is using Buildpack API 0.6 or higher, include the build, launch, and cache keys under a top-level types table when writing out the layer metadata file.

For buildpacks using older versions of the Buildpack API, keep the existing behavior.

@ryanmoran ryanmoran added this to the Buildpack API 0.6 milestone Apr 7, 2021
@ryanmoran ryanmoran self-assigned this Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant