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

Adds support for img labels and anno. in buildrun create cmd #76

Merged
merged 1 commit into from
Dec 13, 2021

Conversation

sm43
Copy link
Contributor

@sm43 sm43 commented Nov 21, 2021

This adds support to specify labels and annotation for
output image.
There are 2 flags added for the build create command

output-image-label
output-image-annotation

Closes #66

Also, addresses some left over comments from #68

Signed-off-by: Shivam Mukhade [email protected]

Changes

Submitter Checklist

  • Includes tests if functionality changed/was added
  • Includes docs if changes are user-facing
  • Set a kind label on this PR
  • Release notes block has been filled in, or marked NONE

See the contributor guide
for details on coding conventions, github and prow interactions, and the code review process.

Release Notes

Adds support to specify labels and annotations on BuildRun objects to be set on output images

@openshift-ci openshift-ci bot added release-note do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. labels Nov 21, 2021
@openshift-ci openshift-ci bot requested review from otaviof and sbose78 November 21, 2021 10:24
@SaschaSchwarze0 SaschaSchwarze0 added this to the release-v0.7.0 milestone Dec 10, 2021
@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 12, 2021
@SaschaSchwarze0
Copy link
Member

Hi @sm43, may you spend a few minutes to unblock this pull request ?

  • You can remove the change to map_value_test.go. I had to change it in a different way to get it working and that was merged.
  • Rebase on main.
  • Make sure tests are green.

I would like this PR to be included in the v0.7.0 release that we build these days.

@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 13, 2021
This adds support to specify labels and annotation for
output image.
There are 2 flags added for the build create command

    output-image-label
    output-image-annotation

Signed-off-by: Shivam Mukhade <[email protected]>
@sm43
Copy link
Contributor Author

sm43 commented Dec 13, 2021

/hold cancel

@openshift-ci openshift-ci bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 13, 2021
Copy link
Member

@SaschaSchwarze0 SaschaSchwarze0 left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 13, 2021
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 13, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: SaschaSchwarze0

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 13, 2021
@openshift-merge-robot openshift-merge-robot merged commit d5cab79 into shipwright-io:main Dec 13, 2021
@sm43 sm43 deleted the br-create-cmd branch December 13, 2021 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support to specify image labels and annotations
3 participants