I
I
IDepresnakI2021-09-05 11:01:15
GitLab
IDepresnakI, 2021-09-05 11:01:15

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

1 answer(s)
D
Dmitry Shitskov, 2021-09-05
@Zarom

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 question

Ask a Question

731 491 924 answers to any question