Friday, 2018-01-12

*** caphrim007 has quit IRC01:03
*** caphrim007 has joined #openstack-jjb01:04
*** caphrim007 has quit IRC01:09
*** caphrim007 has joined #openstack-jjb02:20
*** caphrim007 has quit IRC02:25
*** caphrim007 has joined #openstack-jjb06:01
*** caphrim007 has quit IRC06:05
*** hashar has joined #openstack-jjb08:21
*** caphrim007 has joined #openstack-jjb10:01
*** caphrim007 has quit IRC10:05
electrofelixzxiiro: I think it is, but we've postponed doing any of it until after the 2.0 release10:59
electrofelixgood grief, we started discussing that back in 2015?!!!10:59
*** caphrim007 has joined #openstack-jjb13:01
*** caphrim007 has quit IRC13:06
zxiiromorning!13:56
zxiiroelectrofelix: Cool I think I'd like to see the defaults precedence fixed too. I think the current structure doesn't make any sense.13:57
zxiirowaynr: electrofelix: ssbarnea Odd_Bloke: I think the only thing to discuss for today's meeting is if we want to go ahead with the official jjb 2.0 release?13:58
zxiiroI've been using it and it seems fine for me13:58
zxiiroThere's only 1 new patch merged since last week and it's the one to enable universal wheels13:59
ssbarneazxiiro: +1 from me. we are already using the 2.x on production14:00
electrofelixzxiiro: https://review.openstack.org/528281? it's blocking https://review.openstack.org/52828414:01
zxiiroelectrofelix: I'm good with those. I guess we just need waynr to +2 them14:03
zxiiroor if someone else +1s it I'm willing to accept that has enough reviews. electrofelix what do you think?14:04
zxiirossbarnea: you got some time to take a look at the 2 patches? ^ they are pretty small.14:07
ssbarneazxiiro: i am in MTG, just after14:08
zxiirook14:08
*** hashar is now known as Camembert14:11
electrofelixzxiiro: might be good to case an eye over the config object as we left that to tidy up after the API rework was complete14:14
ssbarneazxiiro: what is the reason for deprecating stidin input?14:21
ssbarneazxiiro: i am not currently using it, but I wanted to be able to use because I could make a job.xml file executable and use the shebang trick to make to run it14:21
ssbarneaelectrofelix: ^^14:22
electrofelixssbarnea: are you referring to https://review.openstack.org/528284?14:22
ssbarneaelectrofelix: yes.14:22
zxiirossbarnea: I believe it's not deprecating the input. it's preventing stdin input from sending a deprecation warning.which might confuse people14:22
electrofelixwhat zxiiro said ;-)14:23
ssbarneaok. i hope in the future i will be able to start adding shebangs to the xml files. it would make easier to apply a single job.14:23
ssbarneanow I am prevented from doing this because we have some include paths needed to be added to the CLI.14:24
electrofelixssbarnea: can you elaborate as to how this was working before?14:27
ssbarneaelectrofelix: never got it working in my setup. no need to worry now. I already +1 both reviews.14:27
ssbarneaelectrofelix: i don't have time to start working on jjb shebang stuff. it may even be working as designed.14:28
ssbarneawhen I will have time, i will look and if I find a bug, I will raise a CR to fix it.14:29
ssbarneai wonder what is the overall folder support status on jjb 2.x. any known limitations?14:29
openstackgerritDarragh Bailey proposed openstack-infra/jenkins-job-builder master: Tidy up config object  https://review.openstack.org/53319414:29
zxiironot sure what you mean but I've been able to add shebangs to all of my shell scripts with jjb14:30
zxiirowe use that feature extensively in our scripts14:30
ssbarneazxiiro: yep, I did the same, but only on self contained job definitions. we use a LOT of templating around, storing the templates in multiple folders, jobs also stored in different folders, ... I was not able to make it work for all when I tried. Again, is likely because lack of time or knowledge, not jjb itself.14:31
ssbarneanobody around here knows about the shebang trick, so nobody is missing the feature :D14:32
openstackgerritDarragh Bailey proposed openstack-infra/jenkins-job-builder master: Tidy up config object  https://review.openstack.org/53319414:32
zxiirohehe14:32
zxiiroI got burned a couple times when i thought shell should be bash but it's not always so I formed a habit of making sure everything has the shebang line14:32
electrofelixah, yes, that's the old jenkins runs shell scripts via '/bin/sh' by default easter egg (or booby trap depending on your perspective)14:34
electrofelixzxiiro: I think the above patch cleans up most of the last remaining class members that might suggest people could set them directly on the config object and have an effect14:35
electrofelixthe last remaining two are listed at https://git.openstack.org/cgit/openstack-infra/jenkins-job-builder/tree/jenkins_jobs/config.py?id=424ec8b3401ef4298e05c52e2e4d71877299212c#n258 but I'm not sure where to namespace them to?14:35
zxiiroelectrofelix: can we hold that off?14:35
zxiiroelectrofelix: I'm kind of worried about sneaking in more fixes since we already testeed what's in master14:36
zxiiroI think we can start doing more regular releases once we get 2.0 out the door so maybe we can get on a regular release schedule.14:36
electrofelixzxiiro: I think they are needed before we bump to the 2.0 api as otherwise we're kind of breaking the api as soon as we release to make changes that remove attributes14:37
zxiiroelectrofelix: ok let's get that in then I'll run a quick test it to make sure it still works.14:37
zxiirossbarnea: this patch look ok to you? https://review.openstack.org/53319414:43
*** hashar has joined #openstack-jjb14:44
ssbarneazxiiro: done.14:52
zxiiroelectrofelix: alright. I think we're ready to release?14:53
zxiirowaynr: thanks for reviewing too!14:53
ssbarneazxiiro: electrofelix : how about https://review.openstack.org/#/c/451992/ ?14:53
waynrzxiiro: i'm +1 on 2.0 release14:53
ssbarneanow that you started me, maybe I can review some of the old ones. but there is no req to do them before the release, can be after.14:54
zxiirossbarnea: that seems pretty minor let's get that in after we release?14:54
electrofelixssbarnea: is that not for a different project?14:54
electrofelixwrong link maybe?14:54
ssbarneahaha, right.14:54
zxiiroah totally didn't see that it's not the jjb project ;)14:55
zxiiroI guess just waiting for zuul now :)14:55
openstackgerritMerged openstack-infra/jenkins-job-builder master: No warn on old plugin conf format not in use  https://review.openstack.org/52828114:56
openstackgerritMerged openstack-infra/jenkins-job-builder master: Prevent deprecation warning using test with stdin  https://review.openstack.org/52828414:56
electrofelixzxiiro: going for an rc1? and then tag the same commit mid next week if no issues found?14:57
zxiiroelectrofelix: I was just going to release. we had a beta last week (which maybe should have been rc1)14:57
zxiiroelectrofelix: or do you think we really need to hold off for those 3 patches?14:58
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Added option to print job names as urls  https://review.openstack.org/46370614:58
zxiiroelectrofelix: I say let's just get it out and release a 2.0.1 if we have to fix something.14:58
electrofelixcool14:58
zxiiroThere's a lot of folks on my back about getting this out so it would help us significantly to finally get it out the door :)15:00
waynr++ to using patch level for bug fixes after releasing 2.015:01
*** hashar is now known as hasharELATER15:38
ssbarneaelectrofelix: I want to address your comment on https://review.openstack.org/#/c/463706/ -- but I don't know how.16:01
ssbarneaelectrofelix: mainly I have a job name that can look like 'foo/bar' I need to translate it to an url. I could do it in dirty way using split and join.16:02
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Added option to print job names as urls  https://review.openstack.org/46370616:13
ssbarneawell, did it the ugly split/join way, looks like working well to me.16:15
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Simplified logging format to include only level and message  https://review.openstack.org/46371216:16
electrofelixssbarnea: jobs named folder1/job1 sent to python-jenkins will be translated to a folder1/jobs/job1, and the current url would be <jenkins-url>/jobs/folder1/jobs/job1, but your code would result in  <jenkins-url>/jobs/folder1/job1, which would be incorrect16:18
ssbarneaelectrofelix: i made a fix already, check latest version.16:20
ssbarneaelectrofelix: i tested with `foo/bar` and ended up with valid url.16:20
ssbarneaelectrofelix:  where valid url = $JENKINS_URL/job/foo/job/bar -- run on production, click the link on the console, opened the job.16:21
zxiirohuh pep8 failure on that tidy up patch16:36
zxiiroF841 local variable 'config' is assigned to but never used16:36
zxiiroelectrofelix: safe to remove line 294 from the patch?16:37
zxiiroseems like it doesn't like us declaring that config variable and not using it.16:37
openstackgerritThanh Ha proposed openstack-infra/jenkins-job-builder master: Tidy up config object  https://review.openstack.org/53319416:49
*** caphrim007 has joined #openstack-jjb17:13
openstackgerritMerged openstack-infra/jenkins-job-builder master: Tidy up config object  https://review.openstack.org/53319417:22
electrofelixzxiiro: ah, I missed that with the second update to remove the temporary code17:23
zxiiroelectrofelix: all good it's fixed and merged now17:23
zxiiroelectrofelix: i'll spin a release now :)17:24
zxiiroelectrofelix: ssbarnea Odd_Bloke waynr: 2.0.0 release tag pushed. We should see a release once the release jobs trigger.17:25
zxiiroThanks everyone for hitting this milestone :)17:26
ssbarneazxiiro++17:26
waynrzxiiro++17:38
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Simplified logging format to include only level and message  https://review.openstack.org/46371218:06
ssbarneaSo now I decided to fix my old pending CRs, so they would fix the next release.18:07
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: fixed tests  https://review.openstack.org/47505918:11
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: bump python-jenkins version  https://review.openstack.org/53325818:19
*** electrofelix has quit IRC19:07
*** hasharELATER is now known as hashar20:03
Odd_Blokezxiiro: \o/ \o/ \o/20:30
*** openstack has joined #openstack-jjb20:50
*** ChanServ sets mode: +o openstack20:50
*** hashar has quit IRC22:07
openstackgerritSorin Sbarnea proposed openstack-infra/jenkins-job-builder master: Simplified logging format to include only level and message  https://review.openstack.org/46371222:27

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