-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add weekly line, retire lines older than 2.289.x #671
Conversation
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.
Looking forward to this!
@@ -6,7 +6,7 @@ | |||
<artifactId>parent</artifactId> | |||
<version>${changelist}</version> | |||
</parent> | |||
<artifactId>bom-2.303.x</artifactId> | |||
<artifactId>bom-weekly</artifactId> |
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.
Maybe rename the module to bom-weekly
as well? If so, do not forget
Line 14 in 7c549ea
directory: "/bom-latest" |
sample-plugin/pom.xml
Outdated
<bom>2.303.x</bom> | ||
<jenkins.version>2.303.1</jenkins.version> | ||
<bom>weekly</bom> | ||
<jenkins.version>2.314</jenkins.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.
So how do you propose to update this? Via Dependabot or some other mechanism?
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.
Probably use @olblak ’s update cli
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.
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.
yeah should be quite straightforward if it supports it, otherwise something like https://github.com/jenkinsci/helm-charts/blob/main/.github/workflows/sync-lts.yaml should work just fine too.
ideally fix dependabot, maybe worth looking briefly into it
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.
Unfortunately, updatecli doesn't support updating xml files at this stage. I started working on that a while ago and then unprioritized that.
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.
but we could easily implement a small shell script to handle that last operation similar to what we did with AMI configuration until I finish the work on xml
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.
@olblak maybe simple text replacement would suffice?
it seems that bom-2.263 it not getting the version overrides from bom-2.277 |
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.
it seems that bom-2.263 it not getting the version overrides from bom-2.277
Did you figure out why?
Needs merge with master
.
-e MAVEN_OPTS=-Duser.home=/var/maven \ | ||
-e MAVEN_CONFIG=/var/maven/.m2 \ | ||
-e PLUGINS=$PLUGINS \ | ||
-e PLUGINS="$PLUGINS" \ |
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.
Fine though should not be necessary since this is a comma-separated line of ids, no shell metacharacters.
nope still not figured it out, was just merging with master in my last push |
This started failing in 2.307, works before then. |
Looks like it works if I upgrade git / git-server, which requires dropping the lines before 2.289 |
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.
Looks OK if you can get everything passing. Do not forget to cut a release from trunk prior to merging and releasing this, so that we have the last update available for now-dropped lines.
https://github.com/jenkinsci/bom/blob/master/README.md#lts-lines ought to be updated also. |
Nice work, thanks! |
This PR seems to have unintentionally invalidated the logic in Line 35 in 4333236
We used to run PCT on the newest and oldest line. Due to the way the |
Fixes #492
Fixes #681
I'll add a separate PR to auto update the version if this is accepted.
This will make less work for LTS versions as we can detect disruptive core changes earlier