Editing GitLab CI: variables:

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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>
 
  
  TOMERGE: [[GitLab CI/CD variables]]
+
  variables:
 +
  [[DOCKER_DRIVER]]: [[overlay]]
  
== 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
 
  [[COMPOSE_HTTP_TIMEOUT]]: 120
 
  [[CONTAINER_REGISTRY_BASE]]: "eu.[[gcr.io]]/${GOOGLE_PROJECT}"
 
  [[DOCKER_HOST]]: tcp://localhost:2375
 
  [[DOCKER_DRIVER]]: overlay2
 
  [[GOOGLE_PROJECT]]: your-project
 
  [[VERSION]]: "${CI_COMMIT_REF_SLUG}-${CI_COMMIT_SHORT_SHA}"
 
  [[RELEASE_NAME]]: "yourapp-${CI_COMMIT_REF_NAME}"
 
 
== Related ==
 
* <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]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: