*** ianychoi has quit IRC | 00:08 | |
*** tristanC has joined #zuul | 00:34 | |
*** eumel8 has joined #zuul | 05:15 | |
*** ianychoi has joined #zuul | 06:41 | |
*** bhavikdbavishi has joined #zuul | 08:09 | |
*** bhavikdbavishi has quit IRC | 08:16 | |
*** bhavikdbavishi has joined #zuul | 08:30 | |
bhavikdbavishi | . | 08:36 |
---|---|---|
bhavikdbavishi | @here , how do I validate zuul.d/{jobs,projects,pipeline}.yaml in zuul v3 ? In zuul v2 `zuul-server -l /etc/zuul/layout.yaml -t`. | 08:38 |
ssbarnea | is possible to change zuul output to use ANSIBLE_STDOUT_CALLBACK=debug instead of the default one, which is messing newlines on result.stdout? | 08:54 |
mordred | ssbarnea: zuul actually has its own stdout callback plugin - http://git.zuul-ci.org/cgit/zuul/tree/zuul/ansible/callback/zuul_stream.py | 09:11 |
mordred | ssbarnea: which is what allows us to do live-streaming of command/shell task output | 09:12 |
mordred | ssbarnea: if we're breaking result.stdout from what you're expecting, it sounds like a bug we should fix | 09:12 |
mordred | bhavikdbavishi: in zuul v3 zuul will validate proposed changes to all of those for you automatically | 09:13 |
ssbarnea | mordred: ohh, this makes it more complicated to fix in this case. are you sure you know what I am referring to? printing multiline stdout/stderr as json is not really user friendly, thus is why the | 09:14 |
ssbarnea | debug" ansible module is printing these not as json. | 09:14 |
ssbarnea | in my opinion we should make output easy to read for humans,... so we may want the same behaviour in zuul callback, unless we have some technical issues that prevent doing so. | 09:15 |
mordred | ssbarnea: I'm _not_ sure - I'm also ina weird jetlagged mental state, so it's possible I'm hallucinating this whole conversation :) | 09:15 |
mordred | ssbarnea: yes - so - zuul_stream produces the plain-text stream that is used for the websocket and finger-connection stream | 09:16 |
ssbarnea | i don't mind trying to have a look at the callback and try to do somethign about it, but i first want to know if there is somethign that may prevent me from making the change. | 09:16 |
mordred | in order to make it a consumable as a plain-text stream,it has to make choices as to what to show and what not to - at the same time, http://git.zuul-ci.org/cgit/zuul/tree/zuul/ansible/callback/zuul_json.py writes out the json file that has *all* of the info - but currently nothing is really consuming that json file - it's just there | 09:18 |
ssbarnea | mordred: ok, the json one has nothing to do with console, it seems that http://git.zuul-ci.org/cgit/zuul/tree/zuul/ansible/callback/zuul_stream.py is the one I would have to improve. i will first file a bug. | 09:21 |
ssbarnea | and assign it to me | 09:21 |
mordred | ++ | 09:22 |
mordred | ssbarnea: also - there is half-finished work to change how we get the stdout stream from the remote ansible in the first place: https://review.openstack.org/#/q/topic:zuul-stream-rework | 09:23 |
mordred | the intent there is to get rid of the need for the zuul_console process to be spawned and to restructure it in a way that is potentially upstreamable | 09:24 |
mordred | the mechanics of that don't have much to do with the display of the stream itself - but it's worth being aware of as you start to look at that code area | 09:25 |
ssbarnea | mordred: thanks, these do really help getting an idea about how it works and in which direction is going. | 09:26 |
*** bhavikdbavishi has quit IRC | 10:42 | |
*** bhavikdbavishi has joined #zuul | 12:13 | |
bhavikdbavishi | ssbarnea: ok, great | 12:55 |
*** bhavikdbavishi has quit IRC | 13:21 | |
*** tristanC has quit IRC | 14:49 | |
*** bhavikdbavishi has joined #zuul | 16:24 | |
*** tristanC has joined #zuul | 17:55 | |
*** bhavikdbavishi has quit IRC | 18:34 | |
SpamapS | hrm, shouldn't zuul-web be serving up the static page? | 19:59 |
SpamapS | ah looks like pbrx build-images doesn't install the static content | 20:24 |
SpamapS | mordred: ^ guessing that you meant for the _setup_hook to run in pbrx yeah? | 20:25 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!