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

Bill of Materials Should Include Buildpack ID and Version #55

Closed
nebhale opened this issue Dec 17, 2018 · 1 comment
Closed

Bill of Materials Should Include Buildpack ID and Version #55

nebhale opened this issue Dec 17, 2018 · 1 comment

Comments

@nebhale
Copy link
Contributor

nebhale commented Dec 17, 2018

Currently the Bill of Materials in config/metadata.toml contains metadata about items contributed by the buildpacks and claimed by each at the end of the build phase. The bill of materials (or another related section in config/metadata.toml should additionally contain an explicit listing of the buildpack ID and version used to stage the application as querying against this information can be useful as well.

@zmackie zmackie added this to the lifecycle-0.7.0 milestone Jan 24, 2020
@ekcasey
Copy link
Member

ekcasey commented Feb 11, 2020

It appears this was implemented as part of the contractual build plan (#149)

pack inspect-image node --bom | jq .local
[
  {
    "name": "node",
    "version": "12.14.1",
    "metadata": {
      "licenses": [],
      "name": "Node Engine",
      "sha256": "cc7914edc7ead576de2502e15f7ad31f451b19e12846a6999467d0c9471d8799",
      "stacks": [
        "io.buildpacks.stacks.bionic"
      ],
      "uri": "https://buildpacks.cloudfoundry.org/dependencies/node/node-12.14.1-bionic-cc7914ed.tgz"
    },
    "buildpack": {
      "id": "org.cloudfoundry.node-engine",
      "version": "0.0.146"
    }
  }
]

@ekcasey ekcasey closed this as completed Feb 11, 2020
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

No branches or pull requests

3 participants