*** SamYaple has joined #softwarefactory | 02:52 | |
SamYaple | hello peoples | 02:54 |
---|---|---|
SamYaple | just getting around to setting up a poc for SF | 02:55 |
SamYaple | having a bit of trouble looking for the logs i need to fix and error | 02:55 |
SamYaple | i setup auth to github, callback works according to cauth logs, but then it "Internal Server Error"s | 02:55 |
SamYaple | cant see to find any errors in any logs | 02:56 |
tristanC | SamYaple: Is there something in /var/log/httpd/error_log ? | 03:06 |
SamYaple | tristanC: actually apache wasnt logging anything. i restarted it and it appears to be working now (new issue, but unrelated) | 03:08 |
SamYaple | oh i should clarify this is github enterprise that im running it against (with some modified cauth code) | 03:09 |
SamYaple | gonna do a patch to support GHE more natively | 03:09 |
tristanC | oh right, i don't think we ever tested GHE | 03:09 |
SamYaple | its cool, i have now | 03:10 |
SamYaple | horrible caveat is the api is only accessible by site admins.... with no way to configure that | 03:11 |
SamYaple | but its easy enough to make configurable, even if its a small subset of users that will use it | 03:11 |
SamYaple | to make cauth configurable* | 03:12 |
tristanC | note that authentication is currently mostly used for the gerrit service, we are still figuring out with upstream how to enable user to interact with the service directly | 03:12 |
SamYaple | heh i only care about the auth due to internal requirements | 03:12 |
SamYaple | i wish i didnt have to think about it | 03:12 |
tristanC | (e.g.: https://review.openstack.org/#/c/562321/1/doc/source/developer/specs/tenant-scoped-admin-web-API.rst ) | 03:13 |
SamYaple | "This call allows a user to re-enqueue a buildset, like the *enqueue* or | 03:14 |
SamYaple | *enqueue-ref* subcommands of Zuul's CLI." | 03:14 |
SamYaple | i like that alot | 03:14 |
tristanC | yes, mhu worked on that integration (see https://softwarefactory-project.io/r/#/c/11249/9 ), but we are on hold to get the api sorted out in zuul-web | 03:16 |
SamYaple | success! i got a job to run against a patchset, hooked into github enterprise. this was a suprisingly easy task | 03:37 |
SamYaple | only took a few hours for a POC | 03:37 |
tristanC | SamYaple: that's very nice to hear! | 03:42 |
tristanC | SamYaple: you might want to pull that in to get the gate and release pipeline configured: https://softwarefactory-project.io/r/#/c/11733/3/ansible/roles/sf-repos/templates/config/zuul.d/_pipelines.yaml.j2 | 03:44 |
SamYaple | oh nice! will definetely do that once i start planning out a non-poc architecture | 03:55 |
*** dsariel has joined #softwarefactory | 05:48 | |
*** Liuqing has joined #softwarefactory | 06:36 | |
*** Liuqing has left #softwarefactory | 06:38 | |
*** ssbarnea_ has joined #softwarefactory | 07:59 | |
*** jpena|off is now known as jpena | 08:00 | |
mhu | SamYaple, we'd be interested on your feedback on setting up this PoC with github enterprise, did our doc cover everything you needed? | 08:37 |
*** dsariel has quit IRC | 09:25 | |
*** rcarrillocruz has joined #softwarefactory | 09:40 | |
*** yassine has joined #softwarefactory | 09:41 | |
*** yassine has quit IRC | 09:41 | |
*** yassine has joined #softwarefactory | 09:41 | |
*** yassine is now known as Guest7329 | 09:42 | |
*** gundalow has joined #softwarefactory | 10:03 | |
*** ssbarnea_ has quit IRC | 11:00 | |
*** ssbarnea_ has joined #softwarefactory | 11:01 | |
*** ssbarnea_ has quit IRC | 11:11 | |
*** ssbarnea_ has joined #softwarefactory | 11:15 | |
*** dsariel has joined #softwarefactory | 11:22 | |
*** dsariel has quit IRC | 12:31 | |
dmsimard|off | SamYaple: ohai, nice to see you here :D | 13:27 |
SamYaple | mhu: other than hacking around with the cauth/auth/github.py auth to point it to my enterprise, the process was identical | 13:31 |
SamYaple | dmsimard|off: :) | 13:31 |
mhu | SamYaple, good to know, we should make cauth GHE friendly - would you mind submitting a patch since you've already done it, or at least share the snippet and we can do the rest ? | 13:32 |
mhu | we can do the follow up patch on sf-config as well | 13:33 |
SamYaple | absolutely | 13:35 |
SamYaple | honestly, easiest way is just going to be paramaterizing 'github.com', the rest stays the same | 13:35 |
SamYaple | super simple patch | 13:35 |
SamYaple | i havent looked at the upgrade code yet, but i can imagine adding this would be too hard either | 13:36 |
mhu | SamYaple, yeah that's what I assumed, we can have a field in the sfconfig.yaml file for the github auth that lets operators specify the auth endpoint if they use GHE, the cauth config template will be filled accordingly | 13:42 |
*** dsariel has joined #softwarefactory | 13:47 | |
SamYaple | the ldap drive is a bit of a differnet story | 13:48 |
SamYaple | s/drive/auth/ | 13:48 |
*** mnaser has quit IRC | 14:00 | |
*** mnaser has joined #softwarefactory | 14:01 | |
*** dsariel has quit IRC | 15:11 | |
*** dsariel has joined #softwarefactory | 15:34 | |
*** Guest7329 has quit IRC | 15:47 | |
*** Guest7329 has joined #softwarefactory | 16:02 | |
SamYaple | i told a lie. after diff'ing cauth/auth/github.py i found i also changed the api url, but both of those should be easily configurable | 16:16 |
SamYaple | (i did a good bit of hand editing while making this work, so i might have missed something else too) | 16:16 |
SamYaple | and it could use a good bit more validating to catch the errors | 16:17 |
SamYaple | im excited to be finally wokring on this. ive been eyeing it for a while | 16:17 |
*** dsariel has quit IRC | 16:24 | |
sfbender | Nicolas HICHER created software-factory/sfinfo master: update from pike to queens https://softwarefactory-project.io/r/12009 | 16:37 |
sfbender | Fabien Boucher created www.softwarefactory-project.io master: Add Sprint 2018-16 to the SF website https://softwarefactory-project.io/r/12010 | 16:40 |
sfbender | Merged software-factory/sfinfo master: use the job.branch setting to only run stable jobs for master branch https://softwarefactory-project.io/r/11997 | 16:43 |
*** jpena is now known as jpena|off | 17:09 | |
*** ssbarnea_ has quit IRC | 21:04 | |
*** maeca has joined #softwarefactory | 21:23 | |
*** maeca has quit IRC | 21:25 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!