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

Minor improvements to krel promote-images #2320

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

palnabarun
Copy link
Member

@palnabarun palnabarun commented Nov 15, 2021

What type of PR is this?

/kind documentation

What this PR does / why we need it:

  1. When krel promote-images is called without passing a GitHub token, the
    error message didn't say what env var should be set. This commit adds
    the same to the error message.

  2. The promotion PR body now includes the command that was run to create the PR.

Which issue(s) this PR fixes:

Follow up on kubernetes/sig-release#1734

Special notes for your reviewer:

Does this PR introduce a user-facing change?

krel/promote-images: make error when GitHub token is not provided more verbose
krel/promote-images: update promotion PR body to have the command

/cc @kubernetes/release-engineering
/area release-eng
/priority important-soon

@k8s-ci-robot k8s-ci-robot added kind/documentation Categorizes issue or PR as related to documentation. area/release-eng Issues or PRs related to the Release Engineering subproject labels Nov 15, 2021
@k8s-ci-robot k8s-ci-robot requested a review from a team November 15, 2021 11:52
@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. release-note Denotes a PR that will be considered when it comes time to generate release notes. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. sig/release Categorizes an issue or PR as relevant to SIG Release. and removed needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Nov 15, 2021
When `krel promote-images` is called without passing a GitHub token, the
error message didn't say what env var should be set. This commit adds
the same to the error message.

Signed-off-by: Nabarun Pal <[email protected]>
@palnabarun
Copy link
Member Author

/test pull-release-verify

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Nov 15, 2021
@palnabarun palnabarun changed the title krel/promote-images: make an error message more verbose Minor improvements to krel promote-images Nov 15, 2021
This will be helpful to verify the changes, if required to do so.

Signed-off-by: Nabarun Pal <[email protected]>
Copy link
Member

@xmudrii xmudrii left a comment

Choose a reason for hiding this comment

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

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Nov 15, 2021
@xmudrii
Copy link
Member

xmudrii commented Nov 15, 2021

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: palnabarun, xmudrii

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

@k8s-ci-robot k8s-ci-robot merged commit d7b421d into kubernetes:master Nov 15, 2021
@k8s-ci-robot k8s-ci-robot added this to the v1.23 milestone Nov 15, 2021
@palnabarun palnabarun deleted the krel/promote-images branch November 16, 2021 09:01
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. area/release-eng Issues or PRs related to the Release Engineering subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/release Categorizes an issue or PR as relevant to SIG Release. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants