S
S
Steve2021-08-23 14:10:12
GitLab
Steve, 2021-08-23 14:10:12

General runner. How to create?

There is a development team that uses Gitlab and they have unit tests (PHPUnit).
The runner is registered on my computer. The task is to create a server so that the runner is launched not only from my computer, but from the server itself ( so that each developer can run locally on his computer by contacting the server ). How to do it? Is it possible with Docker ? If so, how? Do I need to "re-register" the runner for this?

* Is it a good idea to create a sh -executable with my runner installed separately on each machine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zohan1993, 2021-08-23
@zohan1993

buy a new VPS like this
(for security and performance reasons, it is better to run the "runner" separately from the gitlab)
https://docs.gitlab.com/runner/
install docker + gitlab-runner (gitlab-runner itself can also be run in the docker)
https://docs.gitlab.com/runner/install/docker.html
register new runners with instructions to use docker as an executor (to run tasks inside docker)
create several at once so that you can use
https://docs in parallel. gitlab.com/ee/ci/docker/using_docker_...
set up .gitlab-ci.yml
https://docs.gitlab.com/ee/ci/examples/php.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question