问题
Yesterday I upgraded from Gitlab 7.x to 8.0.4 and almost everything went smoothly. I was using the CI before without issue and after the upgrade had to migrate or start fresh. I chose to start fresh since I only had one project.
I have added a new shell runner (tried both gitlab-ci-multi-runner and gitlab-runner) multiple times and registration is successful and the runner shows it's active in the web console. But when I try to build my code the only output in the browser is the black "console" with the spinner running forever.
If I check the files in my shell I can see the code was successfully checked out but I can't tell if any of the build script was executed or not.
I'm not sure what logs I can check as everything I've found doesn't seem to help.
回答1:
I finally found an answer. It looks like a permission problem. I believe it has to with the history. As per https://gitlab.com/gitlab-org/gitlab-ci-multi-runner/issues/187 I just removed the files in /var/opt/gitlab/gitlab-ci/builds as I didn't care about the history.
来源:https://stackoverflow.com/questions/33117261/gitlab-ci-runner-not-building-or-showing-any-output