-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore(chart): Updated release logic to use SemVer #5561
Conversation
✅ Deploy Preview for karpenter-docs-prod ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
b318472
to
8270a6b
Compare
This looks like it adds the semver change combined with the artifacthub change. Can we break those changes apart? |
@jonathan-innis it could be broken apart but I'm not sure of the value in doing so? Both changes are release process changes which make sense to be tested together. The actual Artifact Hub change is ignored until the org has been configured, the repos adopted or recreated and the config file content added. That said, I'll split it up if you'd like. |
Yeah, I get that it's really not that difficult to add one way or the other. Mainly in the spirit of making sure all of the PRs accurately describe what they are doing and the commit squash history correctly captures everything |
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.
Few comments. Nice work!
@jonathan-innis I'm of a similar opinion; but the reality of a non-contributor contribution is high friction, so bunching similar changes into a single PR makes much better use of available time. Shall we get all of the changes into this PR and agreed on to cut the initial load? Once the changes have been agreed on in principal I can split it up for testing if required. |
8270a6b
to
245ff8d
Compare
The changes look good to me as-is, aside from changing the format of the Karpenter version parameter. I'd still opt for separate PRs, but I don't think there will be a ton of back-and-forth since these changes already look alright |
@jonathan-innis I'm planning on changing the meaning of |
cc91174
to
08f4dd2
Compare
@jonathan-innis this should be all of the changes. I spent a long time looking at the scripts in |
Sounds good. Do you mind breaking up the changes for the aritfactrepo and the cosigning like we discussed originally so we can stage that in a different PR and it makes it easier for me to see which changes are necessary here? |
website/content/en/preview/getting-started/migrating-from-cas/scripts/step05-tag-subnets.sh
Show resolved
Hide resolved
website/content/en/preview/getting-started/migrating-from-cas/scripts/step01-env.sh
Show resolved
Hide resolved
...t/en/preview/getting-started/getting-started-with-karpenter/scripts/step02-create-cluster.sh
Show resolved
Hide resolved
Pull Request Test Coverage Report for Build 7898945351Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
7dfb018
to
b5ceb43
Compare
@jonathan-innis this PR should now be scoped to only the SemVer change. |
b5ceb43
to
93b7f4f
Compare
ecd243c
to
ca3b7ed
Compare
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.
LGTM 🚀
Looks like it just needs a rebase
ca3b7ed
to
25745c3
Compare
@jonathan-innis this has been rebased and is ready to be merged. |
One question that got raised here: If we are changing the version of our Helm chart to be semver-compliant, we might as well make the change to our images as well. Thoughts on having our tags in our Git repo being v-prefixed but having the assets (images and helm chart remove the prefix) @stevehipwell? |
@jonathan-innis this PR is fixing the fact that Helm explicitly linked the OCI tag to the chart SemVer; OCI images don't have this constraint and both patterns are common. Given this the OCI image tag format is related but isn't logically part of the same changes and the fact that this PR has already being split up to focus on a single change I think it should be discussed in a new issue and if implemented done so in a new PR. FWIW I personally prefer using the SemVer version for an OCI image tag instead of replicating the git tag |
25745c3
to
350c0e5
Compare
Agreed. I think we should make a change in both. Happy to approve this change. Are you open to making the PR to update the OCI tag that we use for images as well? |
@jonathan-innis yes I'm happy to do that too. |
350c0e5
to
5d00cde
Compare
Signed-off-by: Steve Hipwell <[email protected]>
5d00cde
to
f443c20
Compare
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.
LGTM 🚀
Hello! Thanks so much for updating the tagging for Karpenter! When can we expect to see the new tags pushed out to |
@billylaing check out the 0.35.0 release. |
Thanks! I just got Karpenter running in our cluster yesterday. Really cool so far. |
Fixes #4248
Description
This PR changes the chart release implementation to use a valid SemVer version (
x.y.z
) for the chart version by removing the tag'sv
prefix; this matches the modification to Chart.yaml made in the stable branch PR. This PR also updates the documentation to support this change.Once this has been merged and the first release has been cut with this code it'd make sense to also create SemVer tags for the other versions supporting
v1beta1
(0.32.0
,0.32.1
,0.32.2
,0.32.3
,0.32.4
,0.32.5
,0.32.6
,0.33.0
,0.33.1
,0.33.2
&0.34.0
). The chart packages would need to be pulled and the chart version modified to remove thev
prefix before being pushed back up.How was this change tested?
Ad-hoc
Does this change impact docs?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.