Tuesday, 2019-01-08

dmsimardI'm close... but not quite there yet http://logs.openstack.org/66/625666/15/check/ara-build-dashboard/a1c14f5/npm/html/01:47
dmsimardoh hey, I needed to add logs.openstack.org to the CORS whitelist on api.demo02:14
dmsimardthat's actually a good thing :)02:14
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Use relative path when retrieving config.json  https://review.openstack.org/62908502:16
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: WIP: Run a CI job that builds and publishes the web dashboard  https://review.openstack.org/62566602:17
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566603:09
dmsimardgvincent: ^ I think those two are ready to land -- we still need to figure out why the link to /playbooks sends us to the root of logs.openstack.org03:12
dmsimardsample from before your recent rework: http://logs.openstack.org/66/625666/15/check/ara-build-dashboard/a1c14f5/npm/html/03:12
dmsimardand from after the WIP rework: http://logs.openstack.org/66/625666/15/check/ara-build-dashboard/a1c14f5/npm/html/03:13
dmsimardssbarnea|bkp2: btw for https://storyboard.openstack.org/#!/story/200116103:14
dmsimardARA 1.0 has a new feature called labels03:15
dmsimardthey could also be called tags03:15
dmsimardbut anyway, the idea is to have just a generic logical container/relationship mechanism03:16
dmsimardfor example, we could ship a default label called "successful playbooks" and then have the API automatically tag successful playbooks as such03:17
dmsimardbut you could also have a label called rhbz123456 and put it on things03:17
dmsimardso then you can search for results matching labels03:18
dmsimardI haven't settled on a client-side implementation yet. Not sure what's the best way.03:20
dmsimardAn ansible module ? Something that the callback could pick up on ?03:22
dmsimard¯\_(ツ)_/¯03:22
*** jungleslow has quit IRC06:12
*** sshnaidm has quit IRC06:52
*** jparrill has joined #ara07:25
*** ssbarnea has joined #ara08:16
*** ssbarnea|bkp2 has quit IRC08:16
*** herald85 has joined #ara08:25
*** themroc has joined #ara08:26
*** sshnaidm has joined #ara08:31
*** sshnaidm has quit IRC08:47
*** sshnaidm has joined #ara09:55
*** herald85 has quit IRC12:07
*** herald85 has joined #ara13:34
*** jlozadad has quit IRC14:06
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Use relative path when retrieving config.json  https://review.openstack.org/62908515:10
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566615:10
dmsimardgvincent: removing ./ from config.json seemed fine locally, pushed it up to test ^15:11
gvincentack15:11
dmsimardgvincent: I'm still not sure what's the issue with the playbooks link going to logs.openstack.org directly (and somehow the webapp still works)15:11
dmsimardalso the lack of redirection from index to the playbooks page15:12
dmsimardbut I'm comfortable merging the job as is, it's probably not an issue with the job itself15:13
gvincentwhich job?15:13
gvincent629085 ?15:13
dmsimardgvincent: no https://review.openstack.org/#/c/625666/15:15
dmsimardara-build-dashboard which generates http://logs.openstack.org/66/625666/17/check/ara-build-dashboard/3928b50/npm/html/15:15
dmsimardthe link to playbook works but the URL gets weird15:16
dmsimardand the index doesn't redirect properly for some reason15:16
dmsimardrest seems fine to me15:16
gvincentnormally you set the homepage in the package.json with a valid url15:19
gvincent"homepage": "http://logs.openstack.org/66/625666/17/check/ara-build-dashboard/3928b50/npm/html/"15:20
dmsimardgvincent: I'm not sure if we know that URL ahead of time, I need to check if we can infer it15:20
gvincentthen in our router we can use it to have information properly configured15:21
gvincentdmsimard, will it be easier to replace a service for that?15:21
dmsimardIt's a bit tricky from an end user perspective if we need to have people configure the URL15:22
gvincentyou have some services like https://www.netlify.com/ which can be integrated within your CI and create a specific url for every build15:23
gvincentfor patternfly for example https://deploy-preview-724--pf-next.netlify.com/15:24
gvincentthis is the PR 724 updated after every commit15:24
gvincentIMO it's a lot of work for now for 3 commands15:25
gvincentgit review -d ... && yarn install && yarn start15:25
dmsimardgvincent: it's alright, we have a way to tell where the logs will be uploaded with zuul15:28
dmsimardlet me try it15:29
dmsimardgvincent: this can't go in config.json right ?15:32
dmsimardneeds to be in package.json ?15:32
gvincentyes15:32
gvincentit's used by react-script during the build15:32
*** herald85 has quit IRC15:32
dmsimardso if I am someone who deploys ara-web, I'd always need to set up this URL in package.json ?15:32
gvincentnormally no15:33
gvincentwhen you are deploying a web app you configure your webserver (apache) to serve your folder correctly15:33
dmsimardso it's at the root, ok -- sure15:33
gvincentyes15:33
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566615:53
dmsimardattempt #1 ^15:53
*** etienne has joined #ara15:55
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566616:06
*** themroc has quit IRC16:37
*** gnupyx has joined #ara20:39
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566622:17
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566622:59
openstackgerritDavid Moreau Simard proposed openstack/ara-web master: Add a Zuul job that builds and publishes the web dashboard  https://review.openstack.org/62566623:12

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