-
Notifications
You must be signed in to change notification settings - Fork 240
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
fix(operator): Attempt to fix all the major issues present atm against the newest jenkins lts version #784
fix(operator): Attempt to fix all the major issues present atm against the newest jenkins lts version #784
Conversation
Original fix proposal: jenkinsci#742 (comment)
* the fix was original attempted here: jenkinsci#764 but was not working correctly due to 2-3 additional changes which needed to be done * removed the openshift check because the env is not mention anywhere and also the new jenkins-plugin-cli does not a specific command for openshift. Finally this does not make any sense in general, the only problem in ocp will be the user id that will be mapped to a random uid but that's another story. The command to install the plugins should remain the same across different k8s flavours.
I tried yesterday to fix the
also the |
Hi @toabi thanks a lot for helping! 🙌 The fact that in your instance is raising the error is totally correct because that test is trying do:
2 motivations behind the failure that comes to my mind:
What we can do to test it is trying to replicate manually the configmap creation and the jenkins restart |
yesterday looking at the code I discovered that
My jenkins instance is able to run a |
I'm start thinking that test is broken even vs master, I tried to spin up the test in my fork with only a space added in README and it's still failing (even more). Any hints here? @prryb @tomaszsek? |
Hey, thanks for contributing. This project is a bit in limbo at the moment, the team has moved on. I'm working on figuring out its future. Nevertheless, I should find some time this week to look at this PR and run some tests. 👍 |
It looks like it's complaining because git plugin is in the old version 4.14.3. Could you bump it up to 5.0.0? |
This is a great news! thanks for taking time to check the PR and figure out the future of this project.
Yeah saw that 2 days ago, let me fix it right now ^_^ |
@prryb like you see it's always |
hey @brokenpip3 , @prryb do you guys know when these changes will be available soon in the dockerhub repo? Today was a new kubernetes_client_api plugin version released and it is breaking communication with jenkins k8s agents, to fix it, it needs new jenkins lts and seems you guys are fixing the issue here 765. So I was wondering when your changes will be available on that dockerhub repo. I think in the meantime i can create my own image and put it in my local. |
So 2 tests timed out, but looking at the logs, after Jenkins restarts, the configuration is applied anyway. Those tests have always been a bit flakey, and quite lengthy. |
Hey @Harguer, once that that PR is merged, a snapshot build will be published, so you'll be able to verify if all works correctly after those fixes. As for when: I'm aiming for "sometime this week". |
A new lts version of jenkins is out, I already tested the upgrade and the new base plugins, will push the changes soon |
Great I'm impatient to see that new release! Thanks a lot for the great work. |
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
See the contribution guide for more details.
Release Notes
This project needs love ❤️
I tried to be part of it by fixing and testing all the changes that the operator needs to run and work correctly against the newest versions of jenkins (
2.375.1
) and the jenkins inbound agent (4.10-3
atm).Most of the changes were suggested by the community, I'm doing this hoping that fixing all the important issues will trigger the maintainers love and a new version of the operator/helm chart.
With these changes all the functionalities (jenkins, configuration, seed agent, backup) seems working correctly, happy to receive any feedback and happy to discuss any change I made. If you want to try this in your local env you can use my temporary img:
quay.io/brokenpip3/jenkins-kubernetes-operator:f312d3d4
Tagging virtuslab maintainers @thegolabek @prryb @Sig00rd