-
Notifications
You must be signed in to change notification settings - Fork 43
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
Project maintenance #23
Comments
👍 I'm in. |
I will start carving out some time for this cookbook to get pull requests merged in. Getting some test-kitchen support in would also be a huge help to getting requests merged faster. I'll see if I can't throw in at least a basic set of tests to ensure new bits don't cause major breakage as things progress. |
I have been too busy to do any further work on this cookbook at the moment. I am interested in a deploy from war file style recipe. On the other hand the branch I think which was most considered for release makes use of a process monitor, rather than an init-style system. Which as far as I know, is kind of a deal-breaker at the moment on RHEL-like systems. The existing logic around service management is quite convoluted, that is a given. I think the process-monitor + war file deployment is a good idea for platforms where that actually works. Here are some thoughts I had, but haven't got around to testing yet, considering I haven't had a chance to touch this in almost 6 months. Would refactoring this into a tomcat_application wrapped cookbook make the task of deploying Jenkins easier for all supported platforms across the board? Are there any issues with deploying Jenkins on tomcat? Because, frankly that wasn't an option 6 months ago (application cookbooks were being refactored), and it seems like an easier path to make this more maintainable in the long run. A lot of the Apache/Nginx recipes would remain the same, or could make use of AJP proxy modules with such a Tomcat/War file refactor. I wouldn't imagine it would heavily affect the Windows slave recipe going that direction. No offense, meant to anyone that took this cookbook in a different direction. Just what I was thinking about, and wanted to get off my chest. I will help where I can, with whatever is decided. |
I would like to help out. I think the LWRPs are of particular value to be shared. Initially we used the deploy as war approach (initially with tomcat but then with glassfish) and the deploy was easy but found all the little gotchas around upgrading plugins and config from within the web containers reduced the value and went back to a simpler run it from the command line approach. |
I can help. Just let me know if you need something. |
I've been far too busy lately to help give this cookbook the love that it clearly needs 😿 @chrisroberts, I totally understand where you're coming from. I'm finding it increasingly difficult to take patches quickly without a lot of manual testing time. Hoping I can change that soon, but until then, I so completely sympathize @atomic-penguin, Every time I revisit Jenkins deployments that's my first choice too: just deploy it as a war and use the (now usable) application cookbook. Part of what's making this an increasingly gnarly codebase to maintain is the platform conditional hell with packages/init systems that's crept up over the years (no really, years). Then you're back to long testing sessions (see above). While I hesitate to ever push a "reinventing the wheel" approach, do anyone see the value in giving this cookbook a fresh take? Like I said, thinking aloud and maybe there's more good in here than I can remember… In the meantime, it would be nice to point people to one development mainline (here perhaps?). Would it be helpful to give @patcon, @fujin or @chrisroberts (or others) push bits on my repo to help unify things? I know this version was downstream at a certain vintage and I'd argue this one is more up to date than mine. Go team! 💌 |
Wanted to jump in and also offer my time on this project. Let me know what I can do to help. |
@fnichol Wahoo! I think a fresh start is a GREAT idea. And perhaps we could lay the ground rules that everything gets added through pull requests, and set the expectation that tests should accompany new features as we build out? And I don't think it would it be irresponsible to be generous with maintainer status? Thinking that giving it to a good few people might be a great way to make sure we all have buy-in, the lack of which is probably a big reason we're so fragmented right now :) Really kills momentum when a single-point-of-failure maintainer gets busy with important real-life stuff |
Hey everyone just wanted to chime in here. I did a refactor on this cookbook earlier this week based on some changes we have made internally here at Opscode. I would love to get some feedback and also offer to step up as a maintainer. Some of the changes include:
Next steps include:
More info on the |
We don't really use Jenkins very much anymore. I'd be happy for @opscode I spent a short amount of time trying to start a jenkins v2 version of Cheers, AJ On 26 January 2013 14:38, Seth Chisamore [email protected] wrote:
|
@fujin I talked with @jtimberman about moving my fork of this cookbook into the opscode-cookbooks org (and to our supported list). If you guys are still cool with that do you mind adding the |
I'll action this momentarily. --AJ
|
Sorry for the delay, been busy: opscode is now the maintainer of cookbook Cheers, AJ On 1 February 2013 11:04, AJ Christensen [email protected] wrote:
|
👍 |
FYI: Repo waiting for @schisamo to push: https://github.com/opscode-cookbooks/jenkins |
Just an update. Some initial refactor code has been pushed to https://github.com/opscode-cookbooks/jenkins. I want to add some |
This. Is. Awesome. Already using pipelines via an inelegant method in another project, but hadn't even thought to make it into a LWRP...! If you're indeed talking about using the |
@patcon I'm thinking build pipelines belong in a downstream cookbook from this one. We use that pattern internally at Opscode with our opscode_ci_server_pipeline "chef-server" do
repository "git://github.com/opscode/omnibus-chef.git"
branches ["master"]
platforms ["ubuntu-10.04", "ubuntu-12.04", "centos-5.8", "centos-6.3" ]
architectures "x86_64"
triggers [:git_poll, :nightly, :ad_hoc]
notifications(
:hipchat => {:token => "XXXXXXXXXXXX", :room => "000000"}
)
action :create
end I would like to open source that LWRP because it really could be called |
Really excited for this. Thanks for the snippets. But it sounds like you don't use the build-pipeline plugin per se? Or perhaps just no feature for manual gates yet? If not using the plugin, I suppose that's my own extension cookbook to write. Whoop whoop! Also, quasi-related, but came across OpenStack's python tool that might be interesting: Seems it already has a cookbook in the works with a definition: |
I've previously mentioned to @schisamo that we wouldn't mind folding our jenkins-job-builder cookbook into this one if there were any interest. However, if Opscode already has their own pipeline LWRP in the wings, I don't expect it will be worth their while to support two different approaches to generating pipelines. One unfortunate aspect of our current implementation is that we invoke jenkins-job-builder on every chef run, depending on it's own cached system state to ensure idempotency. Not sure how Opscode's LWRP works, but I found this trade off to be acceptable since it has helped me to avoid writing XML template files. :) |
We have a similar job building library at [1] that we use to build up pipelines. Feel free to yoink that if interested [1] https://github.com/realityforge/chef-jenkins/blob/master/libraries/jenkins_xml_config.rb |
Thanks @patcon appreciate it. |
Hello everybody, @fujin, @fnichol, @patcon, @realityforge, @atomic-penguin
as you all know there are a couple of chef-jenkins projects and forks on github.
Seeing that this repo is the one listed under
http://community.opscode.com/cookbooks/jenkins
I was wondering if there was any way to combine at least some of the forces here. So please feel free to add anyone who might be able to help with this.
Would be more then happy to help fix some issues myself.
The text was updated successfully, but these errors were encountered: