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

libimage.ManifestList: add AddArtifact() #1861

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Feb 13, 2024

  • Add a libimage.ManifestList.AddArtifact() method.
  • Add IndexAnnotations and Subject to libimage.ManifestListAnnotateOptions, for setting annotations on the index itself, and the index's subject, respectively.
  • In libimage/manifests.list.AddArtifact(), if the subject has an artifactType in its manifest, add its value to the subject descriptor.

Copy link
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
Linter has one complaint

@nalind nalind force-pushed the more-fun-with-artifacts branch 2 times, most recently from 37f596d to 4f88c9f Compare February 13, 2024 17:07
* Add a libimage.ManifestList.AddArtifact() method.
* Add IndexAnnotations and Subject to libimage.ManifestListAnnotateOptions,
  for setting annotations on the index itself, and the index's subject,
  respectively.
* In libimage/manifests.list.AddArtifact(), if the subject has an
  artifactType in its manifest, add its value to the subject descriptor.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@rhatdan
Copy link
Member

rhatdan commented Feb 14, 2024

/lgtm
/approve

Copy link
Contributor

openshift-ci bot commented Feb 14, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind, rhatdan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit ea550eb into containers:main Feb 14, 2024
7 checks passed
@nalind nalind deleted the more-fun-with-artifacts branch February 14, 2024 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants