CI resource_group not working when using $CI_ENVIRONMENT_NAME directly
Hi! I wasn't sure whether to post here or to https://GitLab.com/gitlab-org/gitlab/issues. I looked at other issues and it seems like this is the place; sorry if this is not the case.
Description of the problem
I've tried to use CI directive resource_group
and I found a strange problem: when I'm writing resource_group: $CI_ENVIRONMENT_NAME
it seems to have no effect. When I create an environment variable ENV_NAME: $CI_ENVIRONMENT_NAME
and write resource_group: $ENV_NAME
... it works as expected. I tried that multiple times and googled around before creating this issue.
Problematic .gitlab-ci.yml: https://gitlab.com/pjboro/test-project/-/blob/547ecc6efe68bf80a47890e454598912f105f8f7/.gitlab-ci.yml#L9
Which Group/Project (with full path) is experiencing the issue?
https://gitlab.com/pjboro/test-project/pipelines This is just a test project I use to test CI before using it with anything more serious:.
Approximate date/time when the error occurred.
Fri 15 May 2020 01:40:00 PM CEST I checked https://status.gitlab.com and there were no ongoing problems.
Describe what you were doing right before the issue occurred.
I'm not sure what to write in this section. I was testing this functionality: https://docs.gitlab.com/ee/ci/yaml/#resource_group
If I could help somehow or provide more information: let me know. You're doing great job, GitLab guys :)