I have CI configured so that it triggers the pipeline when I apply a tag to a commit in the production branch. When the tag is applied the job in the pipeline is initiated then stuck with this message:
“This job is stuck because you don’t have any active runners online with any of these tags assigned to them: deploy_prod”
But I have a shared runner with this tag:
My two runners are shown below. The second runner works properly.
Within the project’s settings I see this:
.gitlab-ci.yml is as follows:
stages: - deploy deploy_test: stage: deploy tags: - deploy_test script: - php /efs/runner/deploy_ci_app.php environment: name: test_env url: https://agencymosaic-test.com only: - master deploy_prod: stage: deploy tags: - do_it script: - php /efs/runner/deploy_ci_app.php environment: name: prod_env url: https://agencymosaic.com only: - tags except: - master
It all looks in order to me. I am at a lose as to why it does not like the configured runner.