Difference between revisions of "GitLab CI: variables:"

From wikieduonline
Jump to navigation Jump to search
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
* https://docs.gitlab.com/ee/ci/variables/
 +
* https://docs.gitlab.com/ee/ci/yaml/#variables
 +
Variables can be defined inside configuration files or created using UI under <code>Setting -> CI/CD -> Variables</code>
  
  variables:
+
  TOMERGE: [[GitLab CI/CD variables]]
 +
 
 +
== Predefined ==
 +
https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
 +
* [[CI_JOB_STAGE]]
 +
* [[CI_JOB_STATUS]]
 +
* [[CI_COMMIT_REF_NAME]]
 +
* [[CI_ENVIRONMENT_NAME]]
 +
 
 +
== User defined ==
 +
[[variables:]]
 
   [[DOCKER_CLIENT_TIMEOUT]]: 120
 
   [[DOCKER_CLIENT_TIMEOUT]]: 120
 
   [[COMPOSE_HTTP_TIMEOUT]]: 120
 
   [[COMPOSE_HTTP_TIMEOUT]]: 120
Line 12: Line 25:
 
== Related ==
 
== Related ==
 
* <code>[[gcloud iam service-accounts keys create]]</code>
 
* <code>[[gcloud iam service-accounts keys create]]</code>
 +
* <code>Project -> Setting -> CI/CD -> Variables</code>
 +
* Group variables ([[inherited]]) https://docs.gitlab.com/ee/ci/variables/#add-a-cicd-variable-to-a-group
 +
* <code>[[.gitlab-ci.yml]]</code>
 +
 +
== News ==
 +
* [[15.6]] Support for [[special characters]] in CI/CD variables
  
 
== See also ==
 
== See also ==
 +
* {{glab ci}}
 +
* {{gitlab-ci.yml}}
 +
* {{GitLab variables}}
 
* {{GitLab CI}}
 
* {{GitLab CI}}
  
 
[[Category:GitLab]]
 
[[Category:GitLab]]

Latest revision as of 10:37, 25 January 2023

Advertising: