<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<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="moz-cite-prefix">On 20.03.20 13:31, Dedner, Andreas
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR01MB395125497B04CBC66BBD7B739AF50@VI1PR01MB3951.eurprd01.prod.exchangelabs.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<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" moz-do-not-send="true">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 style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
Dedner, Andreas <a class="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="moz-txt-link-abbreviated" href="mailto:dune@lists.dune-project.org">dune@lists.dune-project.org</a>
<a class="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="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Dune mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dune@lists.dune-project.org">Dune@lists.dune-project.org</a>
<a class="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>
</body>
</html>