GitLab CI: variables:
Jump to navigation
Jump to search
Variables can be defined inside configuration files or created using UI under Setting -> CI/CD -> Variables
TOMERGE: GitLab CI/CD variables
Contents
Predefined
https://docs.gitlab.com/ee/ci/variables/predefined_variables.html
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
gcloud iam service-accounts keys create
Project -> Setting -> CI/CD -> Variables
- Group variables (inherited) https://docs.gitlab.com/ee/ci/variables/#add-a-cicd-variable-to-a-group
.gitlab-ci.yml
News
- 15.6 Support for special characters in CI/CD variables
See also
glab ci [ list ]
gitlab-ci.yml
,job: | stage: | stages: | artifacts: | include: | script: | when: | only: | needs:
- GitLab variables, GitLab environment variables
- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments
Advertising: