How to setup correct runner set up at our environment?
Describe your question in as much detail as possible:
- I want to resolve this error message “Missing gitlab-runner. Uploading artifacts is disabled”
-
I have found that we need to install
gitlab-runner
also on the ssh target host. But not sure how to install it. -
Our environment
- Self host Gitlab server (ec2 on aws)
- Self host Gitlab runner server (another ec2 on aws)
- Self host web server (on-premise)
-
I have found that we need to install
gitlab-runner
also on the ssh target host. -
We have installed gitlab-runner on our Gitlab runner server with ssh executor, and execute jobs via ssh on the web server, but situation doesn’t changed.
-
Question is, do we need to install gitlab-runner on our web server with ssh executor? If so, what is the correct settings?
-
According to out job configuration below, do we need to have two gitlab-runner on gitlab-runner server and web gitlab-runner which has same tags?
-
What version are you on? Are you using self-managed or GitLab.com?
- GitLab ( GitLab Community Edition [13.6.7] ):
- Runner (gitlab-runner 11.9.2):
-
Add the CI configuration from
.gitlab-ci.yml
and other configuration if relevant (e.g. docker-compose.yml)
job:
script:
- cd /home/projectname
# - composer install --dev
- git pull
- cd /home/projectname/tests/
- pwd
- whoami
- /home/projectname/vendor/bin/phpunit --version
- /home/projectname/vendor/bin/phpunit --log-junit report.xml
artifacts:
when: always
expire_in: 1 day
reports:
junit: report.xml
tags:
- tagname
only:
- branchname
-
What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?
I’ve found same question below.
gitlab - Uploading artifacts is disabled - Stack Overflow
If I missed any information, please let me know!
Thanks for taking the time to be thorough in your request, it really helps!