<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 22 oct. 2019 à 11:23, Julien Cabieces <<a href="mailto:julien.cabieces@oslandia.com">julien.cabieces@oslandia.com</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
Hi all,<br>
<br>
I propose a PR [0] to fix Oracle provider and its tests, and I would<br>
like to enable running these tests in travis CI like it's done for<br>
PostGis.<br></blockquote><div><br></div><div>Cool! </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
I succeed to build a Oracle 18c Express edition Docker image using Oracle<br>
specific instructions [1]. I would like to push this image in a Docker<br>
Hub (QGIS one?, an another one?) so it could be use from CI.<br></blockquote><div><br></div><div>I'd be in favor to keep the Dockerfile under the git repo so there is no diversion from the different branches we have the tests running on Travis. <br></div><div>Otherwise, you'd have to push the Dockerfile per branch (similarly than what we do for qgis3-buill-deps)</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
According to this license agreement [2], it looks like this is legally OK:<br>
"We grant you a nonexclusive, nontransferable limited license to use the<br>
programs for: (a) purposes of developing, prototyping and running your<br>
applications for your own internal data processing operations;"<br>
<br>
Do I have a good understanding of the license agreement? Do you see any<br>
reason to not enable Oracle tests in our CI?<br>
<br>
To be complete, it would be probably necessary to copy QGIS Oracle<br>
database files somewhere (like it's done for ccache) to be used at run<br>
time in order to skip Oracle database initialisation. It's quite long (around 5<br>
minutes) and would slow down the CI.<br></blockquote><div><br></div><div>The ccache files are kepts in Travis cache.</div><div>I guess you can fire up your Oracle database when tests are started (or even before QGIS is built) and there would be enough time for it to init.</div><div><br></div><div>Thanks for looking into this.</div><div><br></div><div>Denis</div></div></div>