[Dune] duneci
Marcel Koch
marcel.koch at uni-muenster.de
Fri Mar 20 13:40:42 CET 2020
Hi Andreas,
you can run a docker container interactively with the following command:
docker run -it "debian:10 gcc-7-17--expensive" bash
After that command, you are within a bash shell inside of the container.
I don't know if you could use these options for the gitlab runner, otherwise
you would have to manually run the ci scripts.
Best
Marcel
On 20.03.20 13:31, Dedner, Andreas wrote:
> It turned out to be an issue with Ubuntu (for reference this work
> https://quan.hoabinh.vn/blog/2019/10/74-Install-GitLab-Runner-in-Ubuntu-19-04-and-19-10
> So the gitlab-runner command worked fine now.
>
> 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.
> Anybody have a suggestion?
>
> Andreas
> Andreas
> ------------------------------------------------------------------------
> *From:* Dedner, Andreas <A.S.Dedner at warwick.ac.uk>
> *Sent:* 20 March 2020 09:46
> *To:* dune at lists.dune-project.org <dune at lists.dune-project.org>
> *Subject:* duneci
> Hi.
> 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?
> Best
> Andreas
>
> PS:
> I tried to run gitlab-runner locally, i.e., in dune-common
>
> gitlab-runner exec docker "debian:10 gcc-7-17--expensive"
>
> but that gives me
>
> 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)
>
> _______________________________________________
> Dune mailing list
> Dune at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20200320/4778ad7d/attachment.htm>
More information about the Dune
mailing list