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

[RFC #0095] Exporter should cache bom files for cached layers #736

Closed
buildpack-bot opened this issue Oct 4, 2021 · 1 comment
Closed
Assignees

Comments

@buildpack-bot
Copy link
Member

buildpack-bot commented Oct 4, 2021

This issue have been automatically created from pull request buildpacks/rfcs#166.

Given for example the following file structure:

/layers
  /config
    /sbom
      /cache
        /buildpack.id
          /cache-true-launch-true
            bom.cdx.json
          /cache-true-launch-false
            bom.cdx.json
        /other.buildpack.id
          /cache-true-launch-true
            bom.cdx.json
          /cache-true-launch-false
            bom.cdx.json

The exporter should create two layers - one for layers/config/sbom/cache/buildpack.id, the other for layers/config/sbom/cache/other.buildpack.id, and store them in the cache.

The io.buildpacks.lifecycle.cache.metadata label contains a list of buildpacks and their layers. The data for each buildpack should contain a SHA referencing the digest of the layer containing the boms for that buildpack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants