How to enable deploy boards inside environments folders

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Hi!

I'm trying to use the deploy board feature with a project with more than one production environment, so I arranged it to be placed inside folders defining the environment like this:

deploy:production:worker:
  extends: deploy_production
  variables:
    SERVICE_NAME: test-project-worker
    HELM_VALUE_FILES: k8s/values-prod-worker.yaml
  environment:
    name: production/$SERVICE_NAME

but I got this:

Captura_de_Tela_2020-09-17_às_18.31.16

So I noted that is not possible to use deploy boards inside a environment folder 😢

Changing my environment.name to production.$SERVICE_NAME works as expected:

Captura_de_Tela_2020-09-17_às_18.39.19

But in this case I lose the cool feature of environment folders. Is something I'm missing? Or is it a limitation?

Thanks

Edited by 🤖 GitLab Bot 🤖