-
Notifications
You must be signed in to change notification settings - Fork 862
Feat: allow push-chart to custom helm registry #4172
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
Feat: allow push-chart to custom helm registry #4172
Conversation
Build Succeeded 🥳 Build Id: 7059a6fd-a6b2-4630-b223-8be7b60ecfa6 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
build/includes/release.mk
Outdated
push-chart: $(ensure-build-image) build-chart | ||
ifdef CHART_REGISTRY |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My only feedback would be that rather than an ifdef
have CHART_REGISTRY
set in Makefile
with a default value (probably ""), and some description on it. At least then it's with all the other Makefile variables.
Also, it's not _super- up to date, but it would be good if this was documented here: https://github.com/googleforgames/agones/tree/main/build#make-variable-reference
But otherwise, good addition!
Build Succeeded 🥳 Build Id: 656c97e5-a680-4e13-a24f-d2367ed84d1f The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still in draft 😄 you happy to have this merged? If so, I'm happy to approve.
I'll keep it on draft until tomorrow, wanna double check with my pipeline if everything's fine or if I missed something first, ill get it out of draft tomorrow though 😄 |
I just double checked, it's good to go, moving out of draft 😄 |
Build Succeeded 🥳 Build Id: ff8dcb7f-27b5-40af-9940-9bb7fa7d6cce The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
What type of PR is this?
/kind feature
What this PR does / Why we need it:
This PR is to support pushing current chart to a private registry using
CHARTS_REGISTRY
It would help testing within my infra, the
REGISTRY
was already supported to push my builds but the charts were "linked" to theGCP_BUCKET_CHARTS
I could run
REGISTRY=... CHART_REGISTRY=... make build-images && make push && make push-chart
Which issue(s) this PR fixes:
Closes #4166
Special notes for your reviewer:
This is currently in WIP, I still need to do more tests around it and also updating the documentation
This would not update the index though, In my opinion it's fine as this is not to replace the main registry but for testing purpose within an infra