gitlab ci are not blocked job for some vars

resource_group: $CI_RUNNER_DESCRIPTION

or

resource_group: $CI_RUNNER_ID

not blocked jobs in the same pipeline

but if I change variables to string

resource_group: mac

jobs are blocked

My .gitlab-ci.yml looks like this:

.wait_runner:
  resource_group: $CI_RUNNER_ID

job1:
  extends: .wait_runner
  script:
    - echo $CI_JOB_NAME

job2:
  extends: .wait_runner
  script:
    - echo $CI_JOB_NAME

I need help. Thank you!

Edited by Бурцев Юрий