Hi!
I have a problem with my GitLabCI job. When I trigger it, my job sucks with the message below:
This job is stuck because of one of the following problems. There are no active runners online, no runners for the protected branch, or no runners that match all of the job’s tags: saas-macos-medium-m1
Go to project CI settings
I have one protected branch (main), but the job stuck on main and on other branches.
Of course I have enable shared runners. I can see two runners with this label online.
My gitlab-ci-yaml:
---
stages:
- prepare
- test
- deploy
.macos_saas_runners:
tags:
- saas-macos-medium-m1
image: macos-12-xcode-14
.setup:
extends: .macos_saas_runners
before_script:
- 'chmod +x scripts/setup_ci.sh'
- 'sh scripts/setup_ci.sh'
lint:
stage: prepare
extends: .setup
script:
- 'bundle exec rubocop'
- 'yamlint .'
only:
- merge_requests
allow_failure: true
.fastlane:
extends: .setup
script:
- 'bundle exec fastlane $INPUT_LANE_NAME'
test:
stage: test
extends: .fastlane
variables:
INPUT_LANE_NAME: 'test'
only:
- merge_requests
It looks like everything should be ok, but the job steal stuck. Did anyone faced with problem like that?