-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
added upgrade ginkgo documentation for contributors #9452
Conversation
@SaumyaBhushan: This issue is currently awaiting triage. If Ingress contributors determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: SaumyaBhushan The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @SaumyaBhushan. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@longwuyuan and @strongjz Please have a review and let me know if something needs to be updated or changed here . |
@SaumyaBhushan even though we have a bot to squash commits, you have the option to consider squashing commits yourself, to keep the PR cleaner |
Sure @long I will do that |
@longwuyuan If everything looks good to you then I will squash the commits If it is Okay with you. |
Correct me if I am wrong but I only looked at the rendered md file https://github.com/SaumyaBhushan/ingress-nginx/blob/gingko-upgrade/upgrade_ginkgo.md . And I did not see the last step which is changing the sha of the test-runner image in th ecode, after successfully promoting the new image. |
Those steps has been added in the third step only (in 3rd PR) . Is it ok ? Or do I need to add something else for the last step . |
But after this promotion of the new test-runner image, the sha of the newly generated test-runner image has to be changed in the project code. This is an example PR for that sha change #9444 |
Thanks Long . Let me add that also . Thanks for your guidance |
Updated the PR @longwuyuan. Please review. |
Before reviewing, a question: can't we have ginkgo updated just once instead of 4 times? :) |
Literally/Technically speaking, ginkgo bump occurs only once, not 4 times.
We see 4 steps, because we lack a super cool automation.
- Dependabot PR only bumps go.mod & go.sum but not the pinned/hard-coded
bits
- Manual PR bumps hard-coded bits
- Bump produces new testrunner image so promoting image PR is required but
it's not in ingress-nginx repo so need manual PR in k8S.io repo
- New testrunner image means new sha needs to be put in scripts so one more
manual PR
But James implemented a file in root for nginxbase image long ago. Top of
the head thought is we can use same trick. Create a file for ginkgo version
and another new file for testrunner image sha. So that way scripts can pick
up from the file a-la-ngingbaseimage.
Dream would be to fire all those other PRs automatically, on the event of
Dependabot ginkgo bump PR merge. That requires highest level skill,
knowledge and work. Pretty challenging.
…On Fri, 30 Dec, 2022, 2:00 am Ricardo Katz, ***@***.***> wrote:
Before reviewing, a question: can't we have ginkgo updated just once
instead of 4 times? :)
—
Reply to this email directly, view it on GitHub
<#9452 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGZVWRGMVVM3UX2RFCD75TWPXYF7ANCNFSM6AAAAAATKFOTT4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@SaumyaBhushan , if you are interested, you could try a new PR to create 2 new files in root, one for ginkgo version and another for testrunner-image sha. Look at the file https://github.com/kubernetes/ingress-nginx/blob/main/NGINX_BASE . That file's content is used in many places in the code, where the nginx-base-image sha is needed. Earlier the nginx-base-image sha was used to be deuplicated in several scripts, that use the nginx-base-image sha. |
Sure
Sure @longwuyuan I can do that. |
@longwuyuan Here is the PR #9470 |
I made comments on #9470 |
hI @longwuyuan I will raise a PR tomorrow . |
Hi @longwuyuan I think the documentation part is completed in this PR. For the changes mentioned in #9470 will be covered in that PR only . I am going to update this PR for that |
@SaumyaBhushan: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What this PR does / why we need it:
Types of changes
Which issue/s this PR fixes
added documentation for gingko-upgradeHow Has This Been Tested?
Checklist:
Does my pull request need a release note?
Any user-visible or operator-visible change qualifies for a release note. This could be a:
No release notes are required for changes to the following:
For more tips on writing good release notes, check out the Release Notes Handbook