Tuesday, 2018-06-12

sfbenderTristan de Cacqueray created www.softwarefactory-project.io master: Import CI/CD workflow article from rdoproject.org blog  https://softwarefactory-project.io/r/1251600:18
sfbenderMerged software-factory/sf-config master: Fix .ssh/config file creation owner  https://softwarefactory-project.io/r/1212103:55
*** fbo has quit IRC05:11
*** mhu has quit IRC05:11
*** mhu has joined #softwarefactory05:11
*** fbo has joined #softwarefactory05:11
*** Rohaan has joined #softwarefactory06:10
*** Rohaan___ has joined #softwarefactory06:24
*** Rohaan has quit IRC06:24
*** Rohaan___ is now known as Rohaan06:26
*** Rohaan has quit IRC06:37
*** jpena|off is now known as jpena07:35
*** Rohaan has joined #softwarefactory08:04
*** Rohaan___ has joined #softwarefactory08:49
*** Rohaan has quit IRC08:50
eliqiao_ hello, guys, I would like to add multiple acls in the conf project, does that support?09:24
eliqiao_https://www.irccloud.com/pastebin/uZ0aYlfO/09:24
eliqiao_I would like to have another acl , e.g sf-jobs-developer-acl, which have less access for the project.09:25
fboeliqiao_: Hi, yes you can, just define a new one.09:27
eliqiao_ I am not sure, as it should be a list.09:27
fboeliqiao_: look at this as an example https://softwarefactory-project.io/docs/user/resources_user.html#a-more-complete-example09:27
eliqiao_I mean, acls will have two elements, sf-jobs-acl and sf-jobs-developer-acl, its  should be a list09:28
fboacls is a dict so you have uniq name for each acl09:28
fbono you need to have an acl that is correct for both groups09:28
eliqiao_@fbo, I got you. one acl, but define access for both groups09:30
fboIn the example I linked, you can define a third group and set correct rights for this third group09:30
fboyes09:30
eliqiao_https://www.irccloud.com/pastebin/uLhzdsnO/09:30
eliqiao_just like this.  okay, thank you. really helps09:30
fboeliqiao_: yes that's should work09:30
fboconfig-check job will do some verification on the acl you provide09:31
eliqiao_but what if I have manually change something in gerrit UI?  Will  the post job of conf project overwrite them?09:31
eliqiao_s/post job /config-post job09:32
fbothis resources system will detect diff between HEAD and HEAD^1 for the config repo resources directory09:32
eliqiao_okay ,thanks , let me try09:33
fboso If an update of a ACL for a repo is detected then config-update will push this new acl09:33
fbofor this repo09:33
fboso you can do manual changes to the acl but ... you should definitely reflect your change in the config repo09:33
fboand use it at the main place for all the acl09:34
*** Rohaan___ is now known as Rohaan09:42
sfbenderMerged software-factory/sf-config master: base: remove outdated newton repo  https://softwarefactory-project.io/r/1250009:57
*** jpena is now known as jpena|lunch11:04
sfbenderTristan de Cacqueray created software-factory/sf-config master: zuul: add openshift-base job  https://softwarefactory-project.io/r/1252311:49
*** jpena|lunch is now known as jpena11:58
*** Rohaan has quit IRC12:07
*** Rohaan___ has joined #softwarefactory12:07
*** Rohaan___ is now known as Rohaan12:08
jruzickatristanC, btw psedlak has a pretty good experience with logreduce, he's even using it on such big logs he needs to wrap it and run in parallel in smaller chunks to get it to finish.12:19
tristanCjruzicka: nice!12:20
tristanCjruzicka: indeed, it's still in developper friendly mode, it can surely be improved by chunking and multiprocessing12:20
tristanCjruzicka: we worked on it with a tripleo upgrade folk to properly tokenize mistral and heat random bits: https://softwarefactory-project.io/r/#/c/12372/12:21
jruzickaI'll try to address the performance issues with him (well we're talking GB of logs) eventually and we agree that this should be on by default on every CI if allowed by resources.12:21
jruzickatristanC, cool, added to my review queue12:22
tristanCRohaan: so, I've rigorously followed this updated documentation https://softwarefactory-project.io/draft/zuul-openshift/ and got a successful openshift-test zuul job12:27
tristanCNotice that there are no manual patch to apply, the nodepool provider, zuul fix and openshift-base job are now packaged in https://softwarefactory-project.io/r/#/q/topic:sf-openshift-test12:28
RohaantristanC: Hm12:28
Rohaanlet me try that after standup12:28
tristanCjust to make sure your system is fully cleaned, do: "rm -Rf /root/config/ /var/lib/gerrit/git/* && yum remove -y rh-python35-zuul-* rh-python35-nodepool-*"12:29
tristanCthen following each step starting at "https://softwarefactory-project.io/draft/zuul-openshift/#orgheadline7" should get you a functionning system12:30
RohaanThanks12:30
RohaanI'll test this and update tomorrow morning12:31
tristanCRohaan: there was indeed a bug where "oc login" doesn't create the .kube/config when run from /root; the oc process needs read access to cwd12:31
tristanCRohaan: and now the openshift-base job should be consistent with the nodepool/zuul setup12:31
RohaantristanC: Thanks for your efforts :)12:32
RohaanYou should go home now12:32
tristanCRohaan: you're welcome, thanks for following this :-)12:32
tristanCSee you tomorrow!12:32
*** Rohaan has quit IRC12:53
*** mordred has quit IRC14:55
sfbenderFabien Boucher created software-factory/repoxplorer-distgit master: Bump to last master  https://softwarefactory-project.io/r/1252914:56
*** mordred has joined #softwarefactory15:09
*** jangutter has quit IRC15:22
*** jangutter has joined #softwarefactory15:22
jruzickajpena, btw distroinfo RPMs hit stables - is something blocking merging distroinfo patches in DLRN/rdopkg?15:43
jpenajruzicka: just some reviewer15:43
*** mordred has quit IRC15:48
*** mordred has joined #softwarefactory15:52
sfbenderFabien Boucher created software-factory/sf-config master: Integrate repoxplorer last master  https://softwarefactory-project.io/r/1253316:12
sfbenderFabien Boucher created software-factory/sf-config master: Deactivate repoxplorer from arch for CI  https://softwarefactory-project.io/r/1253416:18
sfbenderFabien Boucher created software-factory/sf-config master: Reactivate repoxplorer from arch for CI  https://softwarefactory-project.io/r/1253617:02
jruzickajpena, any idea why this moc side_effect doesn't work? https://softwarefactory-project.io/r/#/c/12510/2/dlrn/tests/test_driver_downstream.py17:18
jpenajruzicka: have you tried to mock dlrn.drivers.downstream.urlopen? That works for me in https://github.com/softwarefactory-project/DLRN/blob/57970bda255ad3456b5568d1d2ea07bf82e31480/dlrn/tests/test_remote.py#L4717:20
jruzickayay17:21
jruzickajpena++17:21
*** jangutter has quit IRC17:23
*** jpena is now known as jpena|off17:24
sfbenderMerged software-factory/sf-docs master: Fix path to gerrit_repl_alias_helper.py  https://softwarefactory-project.io/r/1212319:56

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