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

update: Change default to server-side generated revision names (extended) #1240

Merged

Conversation

rhuss
Copy link
Contributor

@rhuss rhuss commented Feb 23, 2021

Fixes #1144.

This is an extension of #1236 with better handling for service updates. If tests are passing then this PR should be merged instead of #1236

@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label Feb 23, 2021
@knative-prow-robot knative-prow-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Feb 23, 2021
@rhuss rhuss changed the title update: Change default to server-side generated revision names update: Change default to server-side generated revision names (extended) Feb 23, 2021
@rhuss
Copy link
Contributor Author

rhuss commented Feb 23, 2021

@maximilien could I get this stamped please ? This is the PR that we talked about at the WG call, but a version that should be more robust (and irons out also my corner case). It checks now the generation's first before going into a wait loop. This should be much more robust as we did before anyway.

I would need this PR to be merged to continue with the 0.21 release (i will release the plugins then tomorrow, but would like to kick of the auto-release for kn already)

@rhuss
Copy link
Contributor Author

rhuss commented Feb 24, 2021

@navidshaikh could you please approve + lgtm this PR ? When merged, I wold then kickoff the kn release.

Copy link
Collaborator

@navidshaikh navidshaikh 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

The changelog fix can be done in a follow up.

CHANGELOG.adoc Outdated Show resolved Hide resolved
@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2021
@knative-prow-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: navidshaikh

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

@knative-prow-robot knative-prow-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. and removed lgtm Indicates that a PR is ready to be merged. labels Feb 24, 2021
@google-cla
Copy link

google-cla bot commented Feb 24, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@google-cla google-cla bot added cla: no Indicates the PR's author has not signed the CLA. and removed cla: yes Indicates the PR's author has signed the CLA. labels Feb 24, 2021
@rhuss
Copy link
Contributor Author

rhuss commented Feb 24, 2021

Ah, good point. Fixed (and need another stamp now ;-)

@rhuss
Copy link
Contributor Author

rhuss commented Feb 24, 2021

@navidshaikh Also stupid clabot needs some love again :)

thanks !

@navidshaikh
Copy link
Collaborator

@googlebot I fixed it.

@google-cla
Copy link

google-cla bot commented Feb 24, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@navidshaikh
Copy link
Collaborator

@googlebot I fixed it.

@google-cla
Copy link

google-cla bot commented Feb 24, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@navidshaikh
Copy link
Collaborator

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2021
@rhuss
Copy link
Contributor Author

rhuss commented Feb 24, 2021

@googlebot I fixed it.

Maybe @googlebot I consent works better ?

If not, I'm going squash everything and push again

@google-cla
Copy link

google-cla bot commented Feb 24, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@navidshaikh
Copy link
Collaborator

@googlebot I consent.

@google-cla
Copy link

google-cla bot commented Feb 24, 2021

We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google.
In order to pass this check, please resolve this problem and then comment @googlebot I fixed it.. If the bot doesn't comment, it means it doesn't think anything has changed.

ℹ️ Googlers: Go here for more info.

@navidshaikh
Copy link
Collaborator

@rhuss : lets squash and push again

@rhuss rhuss force-pushed the pr/server-generated-revision-name-2 branch from e182396 to 6af1bba Compare February 24, 2021 06:39
@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2021
@google-cla google-cla bot added cla: yes Indicates the PR's author has signed the CLA. and removed cla: no Indicates the PR's author has not signed the CLA. labels Feb 24, 2021
@rhuss
Copy link
Contributor Author

rhuss commented Feb 24, 2021

@navidshaikh done. Hopefully we are at the last stamp ;-)

@navidshaikh
Copy link
Collaborator

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 24, 2021
@knative-metrics-robot
Copy link

The following is the coverage report on the affected files.
Say /test pull-knative-client-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/kn/commands/service/configuration_edit_flags.go 85.2% 85.0% -0.2
pkg/kn/commands/service/create.go 85.0% 84.5% -0.5
pkg/kn/commands/service/update.go 91.1% 86.7% -4.4
pkg/serving/v1/client.go 69.1% 69.3% 0.1
pkg/wait/wait_for_ready.go 76.9% 75.8% -1.1

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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use server-generated revisions names as default for services (instead of BYO revision name)
4 participants