Answer the question
In order to leave comments, you need to log in
Problem with gitlab-runner?
I create .gitlab-ci.yml I write
something like this in it:
stages:
- deploy_remote_prod
deploy_remote_prod:
stage: deploy_remote_prod
only:
- master
tags:
- my-production-runner
script:
- ssh -i /srv/gitlab-runner/config/keys/some.key [email protected] '<run some command> || true'
Running with gitlab-runner 10.7.2 (b5e03c94)
on dev runner 076f0431
Using SSH executor...
Running on dev_server_someserver via 14b41f4da93f...
Cloning repository...
Cloning into 'builds/076f0431/0/user/SomeRepo'...
remote: You are not allowed to download code from this project.
fatal: unable to access 'http://gitlab-ci-token:[email protected]/user/SomeRepo.git/': The requested URL returned error: 403
ERROR: Job failed: Process exited with: 1. Reason was: ()
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question