<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks Marcel.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
But then I still can't figure out how to reproduce exactly what the CI is doing.<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Marcel Koch <marcel.koch@uni-muenster.de><br>
<b>Sent:</b> 20 March 2020 12:40<br>
<b>To:</b> Dedner, Andreas <A.S.Dedner@warwick.ac.uk><br>
<b>Cc:</b> dune@lists.dune-project.org <dune@lists.dune-project.org><br>
<b>Subject:</b> Re: [Dune] duneci</font>
<div> </div>
</div>
<div><font size="+1"><tt>Hi Andreas,<br>
<br>
you can run a docker container interactively with the following command:<br>
<br>
docker run -it </tt></font><font size="+1"><tt>"debian:10 gcc-7-17--expensive" bash<br>
<br>
After that command, you are within a bash shell inside of the container.<br>
I don't know if you could use these options for the gitlab runner, otherwise<br>
you would have to manually run the ci scripts.<br>
<br>
Best<br>
Marcel</tt></font><br>
<br>
<div class="x_moz-cite-prefix">On 20.03.20 13:31, Dedner, Andreas wrote:<br>
</div>
<blockquote type="cite"><style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
It turned out to be an issue with Ubuntu (for reference this work</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<a href="https://quan.hoabinh.vn/blog/2019/10/74-Install-GitLab-Runner-in-Ubuntu-19-04-and-19-10" id="LPlnk656194">https://quan.hoabinh.vn/blog/2019/10/74-Install-GitLab-Runner-in-Ubuntu-19-04-and-19-10</a></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
So the gitlab-runner command worked fine now.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I still can't figure out how to keep the container alive after the tests have failed, gitlab-runner simply ends and the container is gone.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Anybody have a suggestion?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Andreas<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Andreas<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Dedner, Andreas
<a class="x_moz-txt-link-rfc2396E" href="mailto:A.S.Dedner@warwick.ac.uk"><A.S.Dedner@warwick.ac.uk></a><br>
<b>Sent:</b> 20 March 2020 09:46<br>
<b>To:</b> <a class="x_moz-txt-link-abbreviated" href="mailto:dune@lists.dune-project.org">
dune@lists.dune-project.org</a> <a class="x_moz-txt-link-rfc2396E" href="mailto:dune@lists.dune-project.org">
<dune@lists.dune-project.org></a><br>
<b>Subject:</b> duneci</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
We are trying to get CI to work for the dune-python module but at the moment there is an issue with setting up dune-py correctly. I need to have a look at the generated docker container to see what the error is. How can I do that?
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Andreas</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
PS: <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I tried to run gitlab-runner locally, i.e., in dune-common</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
gitlab-runner exec docker "debian:10 gcc-7-17--expensive"</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
but that gives me<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Pulling docker image gitlab-runner-helper:11.2.0 ... ERROR: Job failed: Error response from daemon: pull access denied for gitlab-runner-helper, repository does not exist or may require 'docker login': requested access to the resource is denied (executor_docker.go:166:2s)<br>
</div>
</div>
<br>
<fieldset class="x_mimeAttachmentHeader"></fieldset>
<pre class="x_moz-quote-pre">_______________________________________________
Dune mailing list
<a class="x_moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a>
<a class="x_moz-txt-link-freetext" href="https://lists.dune-project.org/mailman/listinfo/dune">https://lists.dune-project.org/mailman/listinfo/dune</a></pre>
</blockquote>
<br>
</div>
</body>
</html>