-
Notifications
You must be signed in to change notification settings - Fork 70
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
Platform support for sBOM #268
Conversation
1fdccbf
to
2006859
Compare
Signed-off-by: Natalie Arellano <[email protected]>
2006859
to
7078e56
Compare
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
platform.md
Outdated
@@ -566,6 +567,10 @@ Usage: | |||
- All run-image layers SHALL be preserved | |||
- All run-image config values SHALL be preserved unless this conflicts with another requirement | |||
- MUST contain all buildpack-provided launch layers as determined by the [Buildpack Interface Specfication](buildpack.md) | |||
- MUST contain a layer containing all buildpack-provided standardized Bill of Materials (BOM) files for `launch` as determined by the [Buildpack Interface Specfication](buildpack.md) | |||
- `<layers>/BOM/<buildpack-id>/launch.bom.<ext>` MUST contain the buildpack-provided `launch` BOM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean that this would cause issues if a buildpack with buildpack id bom
exists? (We currently allow such buildpack ids)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The buildpack would need id sbom
, but yes
platform.md
Outdated
@@ -1123,8 +1137,9 @@ Where: | |||
Where: | |||
- `app` MUST contain one entry per app slice layer where | |||
- `sha` MUST contain the digest of the uncompressed layer | |||
- `config.sha` MUST the digest of the uncompressed layer containing launcher config | |||
- `launcher.sha` MUST the digest of the uncompressed layer containing the launcher binary | |||
- `bom.sha` MUST contain the digest of the uncompressed layer containing buildpack-provided standardized Bill of Materials |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we keeping this in lifecycle metadata or moving it to its own key?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per sub sync discussion, we plan to leave the sha in lifecycle metadata for now. In the future, we may duplicate this information in a new label.
Also clarify that `bom` usage is for legacy buildpacks Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]> Co-authored-by: Anthony Emengo <[email protected]>
Signed-off-by: Natalie Arellano <[email protected]> Co-authored-by: Anthony Emengo <[email protected]>
This should be pointed to platform/0.8 but that branch doesn't exist yet...