-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gitlab-runner registered but throws error #2129
Comments
I found the culprit, upon inspecting gitlab-runner logs, the runner receiving wrong repo_url (
Changed .env file:
However, a new permission error appears:
|
Nevermind, this seems to be inaccurate, as according to the dockerfile, use is set to
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi again 👋 we would like to inform you that this issue has been automatically |
Info:
$ docker --version
): Docker version 18.09.6, build 481bc77$ git rev-parse HEAD
): c7289f7$ uname -a
): Linux *** 4.15.0-48-generic ERROR: for application argument of type 'NoneType' is not iterable #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux$ lsb_release -a
): elementary OS 5.0 JunoIssue:
gitlab-runner throws an error during job execution
Expected behavior:
gitlab-runner to run successfully
Reproduce:
docker-compose up -d gitlab
docker-compose up -d gitlab gitlab-runner
Settings > CI / CD > Runners
Relevant Code:
*Initially I couldn't register the gitlab-runner out of the box, hence the step 2 and 3. However after registration, the runner executes the run-test job above, and outputs the following error:
I also don't understand why it's trying to connect to localhost, when .env file is configured as
GITLAB_CI_SERVER_URL=http://gitlab
Here is the
cat /etc/gitlab-runner/config.toml
for reference:The text was updated successfully, but these errors were encountered: