environment with the name "MON-B-MTEST" and deployment_tier "production"
Summary
I have a customer that has the following.
mon-b-mtest:
stage: deploy
script: echo 'Hello world'
environment:
name: MON-B-MTEST
deployment_tier: production
This results in the environment being set as testing
instead of production
.
Steps to reproduce
Run this in your gitlab-ci
file.
mon-b-mtest:
stage: deploy
script: echo 'Hello world'
environment:
name: MON-B-MTEST
deployment_tier: production
What is the current bug behavior?
The environment will be configured as testing
instead of production
.
What is the expected correct behavior?
That deployment_tier
takes priority over name
.
Possible fixes
If deployment_tier
is configured it should ignore name
.
customer ticket: https://gitlab.zendesk.com/agent/tickets/270244 (internal)
Edited by Ronald van Zon