Describe your question in as much detail as possible:
I have a spring cloud project and I put all modules in a group when uploading it to “gitlab.com” using git.
I have installed a gitlab runner in a VPS and previously I was using another public gitlab repository(not gitlab.com) for hosting my project and I have assigned a tag “xinrui-group” for it, it works fine.
For “gitlab.com”, I register a group tag for it which is “xinrui-group-intl”, so my gitlab-runner has three tags:
[root@myxinrui ~]# gitlab-runner list Runtime platform arch=amd64 os=linux pid=124951 revision=ac8e767a version=12.6.0 Listing configured runners ConfigFile=/etc/gitlab-runner/config.toml xinrui Executor=shell Token=*** URL=https://gitlab.**.jp/ xinrui-group Executor=shell Token=**** URL=https://gitlab.**.jp/ xinrui-group-intl Executor=shell Token=**** URL=https://gitlab.com/
and gitlab-runner verify shows that they are all alive, gitlab-runner status shows it is running.
in my gitlab-ci.yml, I have put
tags: - xinrui-group - xinrui-group-intl
and on the gitlab.com CI/CD page, it shows the runner is active
but my job stucks, the error info says:
This job is stuck, because you don’t have any active runners that can run this job.
what is wrong?
Version: 12.6.0 Git revision: ac8e767a Git branch: 12-6-stable GO version: go1.13.4 Built: 2019-12-22T11:55:34+0000 OS/Arch: linux/amd64
BTW: it is strange that when I stop my gitlab runner for a long time, the gitlab CI/CD page still show it is active