Answer the question
In order to leave comments, you need to log in
What is the difference between variables: and environment: in gitlab yml manifests?
I do not quite understand the difference between these directives, in which cases is it better to use variables and in which environments?
Answer the question
In order to leave comments, you need to log in
They have nothing in common.
variables - environment variables
environment - environment configuration for deployment - its name, url, who can deploy it, etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question