On Fri, 20 Oct 2023, Eric Pouech wrote: [...]
I've tried to repro a couple of them locally, recreating the docker image with the docker script... to no avail
I have a question on that subject: how do you run the Wine tests in your local docker image? The reason I ask is that reproducing GitLab CI's container and using it for builds is pretty easy. But running the tests in it requires starting X and the commands (in test.yml) for that are not directly usable outside the GitLab environment. So do you copy/paste all the xinitrc, startx, wine-mono & co stuff to a script, append the ./wine command you want to run at the end and do something like "docker run gitlab-debian12 ./myscript"? That also assumes mounting the current directory somewhere in the container but having a script that does echo >~/.xinitrc sounds like a disaster waiting to happen if it's accidentally run in the wrong environment. Or did you add a RUN directive in the Dockerfile to start X and then 'docker exec' your test in it? I feel like it would be nice if tools/gitlab contained a script or something to make this whole process easier. Developers have actually asked me [1] "how can I replicate the GitLab CI environment" a few times already. [1] Why ask me? Am I the GitLab CI maintainer now? -- Francois Gouget <fgouget(a)codeweavers.com>
participants (1)
-
Francois Gouget