Tuesday, 2018-01-02

*** larainema has quit IRC07:53
*** hashar has joined #openstack-jjb08:29
*** larainema has joined #openstack-jjb12:57
*** sobersabre has joined #openstack-jjb15:42
sobersabrehi, I remember patching jjb like 2 or more years ago to allow it to ignore self-signed certificates on tls/ssl transports.15:43
sobersabreI recently thought of using jjb for a single job that cannot be a pipeline, and wham-bam-bang! jjb still is not allowing this...15:45
sobersabredoes this mean nobody develops the tool any more ?15:45
zxiirosobersabre: we're still developing it. In fact we're gearing up to release JJB 2.015:47
sobersabreso... why is disabling of ssl still not merged ? :))15:49
zxiirosobersabre: not clear to me what your question is though. Are you asking for pipeline support?  I don't personally use it but I have heard the 2.0 code does support pipelines.15:49
sobersabreI'm frustrated and agitated, so I'm not clear. sorry.15:49
sobersabrejjb still does not allow disabling of ssl cert verification.15:50
zxiirosobersabre: which patch is that? JJB  is a volunteer effort as far as I'm aware none of the current core developers work full time on this tool so you might have to ping us in this channel to look at your patch.15:50
zxiirosobersabre: I know at least for me I work on JJB in my off hours which I don't have many of :(15:50
sobersabrezxiiro: if there is a cleanup process in gerrit, my patch most probably has been cleaned up.15:50
zxiirosobersabre: can you link to the patch?15:51
sobersabreLemme try.15:51
sobersabreok, validated no patches there...15:52
zxiirosobersabre: you're sure it wasn't merged?15:52
zxiirosobersabre: not sure if this helps you any but these days I use letsencrypt instead of self-signing my own ssl certs. I find it to be a lot easier. letsencrypt certs work with all the browsers as far as I'm aware.15:55
sobersabrecloning....15:56
sobersabrezxiiro: I do work effort I'm paid for. maintaining certificates with services adds some kind of work, and I prefer to have customer pay for it.15:57
sobersabreI had totally no need for jjb in the last 2.5 years.15:57
sobersabresince pipeline was rolled out.15:58
sobersabreapr 2015 I think...15:58
zxiirosobersabre: In case you're not aware OpenStack does not use JJB anymore as they completely switched to Zuul and Ansible so all the full time folks who used to work on JJB stopped contributing. It's now a community project maintained by the folks in this room from other orgs. That's why code reviews are a lot slower now.15:58
zxiiromy org needs this tool still and we're pretty desperate to get JJB 2.0 released. We're just waiting for this one remaining blocker issue to be resolved before getting a release out.16:00
sobersabrezxiiro: just out of curiosity, why do you still need it ?16:01
sobersabreI mean the verb "needs" is pretty strong.16:01
zxiirosobersabre: All of our infra depends on Jenkins and JJB's the way we still maintain our 1000s of jobs. The templating system in JJB is what's really useful for us.16:02
sobersabreIs $$$ spent on maintaining jjb not worth investing in migration to the pipeline?16:02
sobersabretemplating is a hack over the lack of actual programming language with code reuse constructs/facilities....16:03
sobersabreis the org using too old unported plugins that aren't supported by the pipeline + groovy ?16:03
zxiiroWe'd prefer not to go the pipeline route actually. Some of our projects are interested in Zuul so something we're looking into in the future is switching to Ansible and eventually Zuul. Pipelines would cause us to further depend on CloudBees so that's not a good option for us right now.16:04
sobersabreand the numberr of jobs is irrelevant in this talk: how many templates do you maintain? how many LoC ?16:04
sobersabrezxiiro: you mean zuul without jenkins ?16:04
zxiiroyes16:04
sobersabreah, this is a good point.16:05
sobersabreif one needs jenkins, then pipeline is not an evil :)16:06
sobersabreI've been trying to understand cloudbees positioning, and it's out of my understanding: they don't need big telco customers to pay them. who actually pays them?16:06
zxiiroright and I think Jenkins is fine on smaller projects. but as you start scaling up to the 1000s of jobs Jenkins kinda falls over. Especially if you want to connect 100s of server nodes to it.16:07
sobersabrezxiiro: I see that projects like ovirt survive ok with 1000s of jobs by using multi-master arch, and some zuul help.16:08
zxiiroThat's a good question. I'm not sure but I went to one of hte CloudBees conferences 2 years ago and they seemed to have a pretty big marketing push. One of the guys told me the purpose of their conferences for them is sales.16:08
sobersabrebut I totally agree that it's non-necessarily "the right tool for the job".16:08
zxiiroso there must be enough folks buying the enterprise stuff16:08
sobersabrerh/ovirt isn't paying to cloudbees.16:09
sobersabre(AFAIK)16:09
sobersabrethey are using community version and plugins.16:09
sobersabreso it's more of code contributions and ... increase of user base kind of "payment". not direct cash flow16:09
zxiiroyeah we're using community version as well. Unfortunately the plugin side of things it's been hard to get them to fix stuff (but fair enough we're not paying them anything)16:11
sobersabrewe're fixing stuff for our customers, and push them to upstream.16:11
sobersabrecustomer sometimes is happy to pay and know it doesn't need to be maintained by them.16:12
zxiirowe've been trying to do that as well but our team is really small and there's a lot of other projects we  depend on so we have to pick our battles of where to contribute. For me at least it's been JJB, I'm hoping the work I've started on Ansible will make us depend on less Jenkins plugins though.16:13
sobersabreyou're talking about openstack zuul, right?16:13
zxiirosobersabre: yes16:14
sobersabre(there's netflix zuul)16:14
zxiirowell that's confusing but good to know haha16:14
sobersabrenetflix guys like to confuse people with their chaos monkeys.16:14
zxiiroyeah the latest version of Zuul uses Ansible playbooks to run jobs so a first step to swtiching would be converting our jobs to playbooks16:14
sobersabrezxiiro: are you wrapping things like mvn, sbt, cmake with in-house modules, or are there ready ones ?16:15
sobersabreand there's nodejs build things, ruby, and old gnu autotools...16:16
zxiirosobersabre: not sure yet. I am aware of an openstack-ansible repo containing a bunch of playbooks. so I'm hoping other orgs have something similar for the different pieces so that we don't have to maintain the bits we need but I've only started looking into this. Still learning it myself.16:16
sobersabrezxiiro: in good ansible code base a playbook is as empty as possible - usually triggering roles. roles trigger tasklists (each task triggers modules)16:18
sobersabreif you need to customize - you're passing extra vars (I usually advice to do it via extras.yml file and retain it for debugging, when possible)16:18
sobersabreso, when you're saying 'playbooks' it hints me they are hard-coding variables in playbooks, specifying stuff and then you cannot re-use a playbook. I hope I'm wrong :))))16:19
sobersabreby "good" I mean following standard ansible documentation for style and organization...16:20
zxiirohmm ok thanks for the tip. Yeah I haven't figured out the roles stuff yet. I literally only started reading about this 2 days ago.16:20
sobersabreansible is "just a tool" ;)16:20
sobersabrebut it's nice and easy to grasp.16:21
sobersabrein any case O(10^3) of jobs is not the upper limit for jenkins.16:23
sobersabreunless you're running them in parallel.16:23
waynri hope to someday not use jenkins at all for CI/CD16:30
waynri don't like the approach of "everything you want to do in CI/CD should be a plugin", ie running ansible playbooks, running docker containers, running maven, etc16:32
zxiirosame, although it is a form and vendor lockin. I dislike it because it's hard to fix if something's not working right. Now you have to become a developer on that platform to get it resolved. At least if the option of shell is always available to you can usually work around the issue.16:35
waynrit's a form of vendor lock-in but even worse for the jenkins project it makes major changes to the underlying system by the developers untenable. anything that breaks compatibility with the existing community of plugins is going to alienate their userbase so they avoid making design decisions that might do so16:37
waynrwhile pipeline makes sense from a committed jenkins user and jenkins developer perspective, i think it's overall a step in the wrong direction for CI/CD in general16:39
openstackgerritJonathan Rajotte proposed openstack-infra/jenkins-job-builder master: Fix: use False for default value of query_plugins_info  https://review.openstack.org/52780416:39
waynri'd like to see a backend-agnostic CI/CD DSL that can transpile into configuration for multiple different backends; ie Openstack's Zuul, Jenkins 1.x, Jenkins 2.x Pipeline, GoCD, etc16:41
waynrwell i wouldn't just like to "see" it, i'd like to design and implement it ;)16:42
zxiirosame actually16:45
zxiiroand it's part of the reason I like shell scripts. it's portable16:46
zxiiroat least more so than all these Jenkins plugins.16:46
waynryeah16:47
*** caphrim007 has joined #openstack-jjb17:39
*** caphrim007 has quit IRC17:49
*** caphrim007 has joined #openstack-jjb17:49
*** caphrim007 has quit IRC17:50
*** caphrim007 has joined #openstack-jjb17:51
openstackgerritMerged openstack-infra/jenkins-job-builder master: Fix: use False for default value of query_plugins_info  https://review.openstack.org/52780418:19
*** larainema has quit IRC20:10
sobersabrewaynr: I disagree with the generic and backend agnostic approach. the wider you think the more you must test. the harder it is to have it stabilized. so the implementation should be 1 backend based. and opinionated backend, opinionated approach.21:34
sobersabreJenkins' main problem is its age: it was designed in the beginning of 2000s, and the problem with abundance of plugins.21:34
sobersabrebut plugin based pattern is a good pattern.21:34
sobersabreuntil it starts hitting stability...21:35
sobersabreas to ci/cd, a company with enough expertise in the process development (dev/ops), would like a toolkit over a solution.21:39
sobersabreA company without hr will want a solution.21:39
*** hashar has quit IRC23:05
waynr*shrug*23:27

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!