Questions tagged [gitlab-runner]
7 questions
0
votes
1 answer
how to share "build repository dir" between jobs in multiple gitlab runner configuration?
I'm using a gitlab runner to deploy application
-shared gitlab runner and concurrent count is 4
/etc/gitlab-runner/config.toml
concurrent = 4
check_interval = 0
executor = shell
All jobs run in a different stage each…

lee
- 1
0
votes
0 answers
In a GitLab runner SSH to local network that has IP as default Docker Bridge IP
I have a GitLab Pipeline based on the python:3.10.11 image. The runner needs access to a local network that is on 172.17.0.0 via SSH/Paramiko. But it is unable to connect to the newtwork, when the runner pings an IP on the local network, it says…

Ambassador Kosh
- 101
0
votes
0 answers
Varying, exclusive limits on concurrency in GitLab runner
I have a Linux server used as a GitLab runner. I'd like the server to be usable for two different purposes simultaneously:
For build jobs, unit tests, etc. (things that aren't timing sensitive) many jobs can be run concurrently to take advantage of…

rsethc
- 101
- 2
0
votes
0 answers
How to enable overlay inside of crio containers?
For Gitlab ci/cd I have the following infrastructure:
There is a Gitlab instance, which is connected to a kubernetes cluster(crio engine),
via a gitlab kubernetes runner.
When there is a commit, the runner picks up the job and runs it in a…

iaquobe
- 101
0
votes
1 answer
Cannot execute nested command on remote host over ssh tunnel
Im running the following command in my GitLab CI job:
ssh ${REMOTE_HOST} "docker restart $(docker ps --format '{{.Names}}' | grep '^backend')"
The problem is that it returns me the following error:
/usr/bin/bash: line 156: docker: command not…

Milkncookiez
- 203
- 2
- 8
0
votes
1 answer
gitlab runner error with environment
I have installed a new gitlab runner and am getting an error.
ERROR: Job failed: prepare environment: Process exited with status 1. Check https://docs.gitlab.com/runner/shells/index.html#shell-profile-loading for more information
my file…

sflyer
- 1
- 3
0
votes
0 answers
Gitlab runner fails when running too many job same time
I've set some scheduled jobs on gitlab. It is running some parallel jobs every minute and reaches about 500 simultaneous process . After some point runner throws below error and fails.
Running with gitlab-runner 15.5.0 (0d4137b8)
on XXXX…

ibrahim
- 431
- 1
- 7
- 20