ci-configuration-examples icon indicating copy to clipboard operation
ci-configuration-examples copied to clipboard

Should this example work out of the box at gitlab.com?

Open DrChr opened this issue 4 years ago • 1 comments

Hi, I forked this repo here at GitHub and the example (CI job) worked out of the box. However, a copy of the repo at gitlab.com isn't able to run the CI job. Should it have worked at gitlab.com?

The CI job at GitLab seems to fail due to the CI runner not having any MATLAB installed. This makes sense to me as there's nothing in the .gitlab-ci.yml that indicates setting up MATLAB, but maybe I missed something...

Note: I've previously used MATLAB with GitLab, but then I'd set up my own CI-runner with MATLAB.

DrChr avatar Oct 17 '21 06:10 DrChr

HI @DrChr,

Thanks for using these examples and providing feedback. Yes, the gitlab example configuration simply shows how one can launch MATLAB, but you re correct that currently the repo owner is responsible to set up their own gitlab runners. Note the matlab docker image provides a starting point that might be helpful in getting MATLAB images on gitlab ci runners.

As for this, I think it makes sense to clarify in the repo that the gitlab yml (and the Jenkinsfile as well) require additional agent management.

Thanks, Andy

acampbel avatar Oct 18 '21 18:10 acampbel