Wednesday, 2018-12-05

*** larainema has joined #openstack-jjb02:37
openstackgerritThanh Ha (zxiiro) proposed openstack-infra/jenkins-job-builder master: Evaluate default against is not None  https://review.openstack.org/62286907:49
zxiirossbarnea|rover: Liskni_si just found another specific case regarding that defaults behaviour ^07:50
zxiiroI think the code change does what one would expect passing 0 to do.07:50
zxiiroif you guys agree I'll do a patch release of JJB because it's something my project needs.07:51
Liskni_sizxiiro: Yeah, that looks fine. Can we add a test for this? Oh and the previous change (sorry I didn't get to it during the weekend) should get a test, too, something like https://review.openstack.org/#/c/587211/2/tests/yamlparser/fixtures/variable_default_values.yaml (not the dashes, just the removal of quotes).08:51
zxiiroLiskni_si: good idea. Let me add a test for that.09:02
openstackgerritThanh Ha (zxiiro) proposed openstack-infra/jenkins-job-builder master: Evaluate default against is not None  https://review.openstack.org/62286909:22
zxiiroLiskni_si: patch is updated with 2 tests for the previous patch as well as this patch09:22
ssbarnea|roverzxiiro: i was thinking about a major change in jjb for the future: replacing it with an ansible module. mainly relying on ansible templating and making the jjb codebase much smaller and easier to user/test. how crazy does this sound?09:31
zxiirossbarnea|rover: We're using more and more ansible in our org so doesn't sound too crazy to me.09:33
zxiirossbarnea|rover: I've been starting to think that jobs should be a bunch of Ansible playbooks. In my view using ansible basically frees you up to using any CI system you want since Ansible in theory can run anywhere.09:35
ssbarnea|roverzxiiro: i do no have time to work on this right now but i wanted to check with all cores to see if this would be desired. if we get enough buy in, we could start looking for it09:35
openstackgerritTomas Janousek proposed openstack-infra/jenkins-job-builder master: Evaluate default against is not None  https://review.openstack.org/62286909:35
Liskni_sizxiiro: I simplified the test, it produces the same result and fails when either of those two fixes are reverted, so I guess it's okay09:36
zxiiroLiskni_si: cool was just about to ask. Thanks for checking!09:36
Liskni_sizxiiro: pls take a look at the comment on commit message and I'll be happy to add +whatever :-)09:36
zxiiroLiskni_si: I thought it only happened when you defined a macro but guess not :)09:36
Liskni_sire ansible: I think you're underestimating the value of Jenkins UI :-)09:38
Liskni_siwe've been trying to move from using Jenkins plugins towards a bash-based DSL for jobs, which made testing job contents really easy, but the UX suffers a bit09:39
*** larainema has quit IRC09:47
Liskni_siand we still keep using the SCM plugin, as replacing that would break triggers and changelogs and e-mail notifications and ...09:47
openstackgerritThanh Ha (zxiiro) proposed openstack-infra/jenkins-job-builder master: Fix default '0' being ignored  https://review.openstack.org/62286910:00
zxiiroLiskni_si: sounds good to me, thanks!10:00
Liskni_sizxiiro: ok, so what do I do now? +1, +2, something else?10:43
zxiiroLiskni_si: +2 if you're good for it10:43
zxiiroLiskni_si: ideally ssbarnea|rover will also +2 it then we can merge it :)10:43
Liskni_siand he just did10:45
Liskni_sibeat me to it :-)10:45
zxiirothanks guys. I'll do a JJB patch release soon10:47
Liskni_sishall I workflow +1 or you can do that yourself?10:47
zxiiroLiskni_si: doesn't matter. I just did it10:47
zxiiroLiskni_si: usually the 2nd person to +2 CR will also +1 W10:48
Liskni_siok10:48
openstackgerritMerged openstack-infra/jenkins-job-builder master: Fix default '0' being ignored  https://review.openstack.org/62286911:02
openstackgerritTan Heng Yeow proposed openstack-infra/jenkins-job-builder master: git: Utilize convert_mapping_to_xml  https://review.openstack.org/60046316:00
*** harlowja has joined #openstack-jjb18:52
openstackgerritrohan proposed openstack/python-jenkins master: I am using python jenkins api for automation purpose. following is sample code snippet. server=jenkins.Jenkins('http://127.0.0.1', username='admin', password='admin')  https://review.openstack.org/62305319:31
openstackgerritrohan proposed openstack/python-jenkins master: Closes-Bug: install_plugin api throwing array index out of bound exception  https://review.openstack.org/62305519:37
*** larainema has joined #openstack-jjb23:15

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