How to use tags to use a specific runner? I wrote tag in .gitlab-ci.yml:
appBuild:
stage: build
tags:
- android
I wrote “android” tag in runner config. But job is in pending state and is waiting to be picked by a runner. What is wrong?
How to use tags to use a specific runner? I wrote tag in .gitlab-ci.yml:
appBuild:
stage: build
tags:
- android
I wrote “android” tag in runner config. But job is in pending state and is waiting to be picked by a runner. What is wrong?
Hi,
most likely you don’t have a runner with tag android
.
i have a runner with tag android, it is visible in gitlab
Please check under your project Settings → CI/CD → Runners if that Runner is available for your project.
If you have Admin rights you can check in Admin → Runners what is it’s state and when was the last contact.
Also if you are using group shared runners make sure you have activated the option in your project’s CICD runners settings. If this setting is deactivated, the CICD will not execute any jobs on those runners even if they are available.
The shared runners option is active and the runner is available for the project. But the job is in a pending state, not picked up by the runner. Am i missing something?
Is it a job without any tags
?
yes, there are no tags
It could be you are out of CI minutes, but there would be a message in the Job about that. Try to restart the job. If this is reoccurring I suggest to contact GitLab support.