gitlab-ci-multi-runner 1.1.2 (78b3f82)Using Docker executor with image 
node:argon ...
Pulling docker image node:argon ...

Running on runner-e02dcb0d-project-1-concurrent-0 via 21f65ebc58fa...Cloning 
repository...
Cloning into '/builds/root/welcome'...
fatal: unable to access 
'http://gitlab-ci-token:xxxxxx@localhost:10080/root/welcome.git/': Failed to 
connect to localhost port 10080: Connection refused
ERROR: Build failed: exit code 1



I'd like to overwrite localhost with the name of my machine, guava, on the 
local network.  I've tried overwriting it by setting some environmental 
variables: 

docker run -d --name gitlab-runner --restart always   -v 
/var/run/docker.sock:/var/run/docker.sock   -v 
/srv/gitlab-runner/config:/etc/gitlab-runner --link gitlab_gitlab_1:guava 
-e GITLAB_HOST=guava -e GUAVA_ENV_GITLAB_HOST=guava -e CI_BUILD_REPO=guava 
 gitlab/gitlab-runner:latest

and then I register the instance with this command:

docker exec -it gitlab-runner gitlab-runner register --name my-runner --url 
http://guava/ci --registration-token XXXXXXXXXXXXXXXXXXX

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/8fa82d33-442f-477a-babd-c34af425e768%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to