GitLab environments
Revision as of 11:14, 31 October 2022 by Ant (talk | contribs) (→Dynamic environment official example)
- https://docs.gitlab.com/ee/ci/environments/
- Static and dynamic environments[1]
Dynamic environment official example[edit]
deploy_review: stage: deploy script: - echo "Deploy a review app" environment: name: review/$CI_COMMIT_REF_SLUG url: https://$CI_ENVIRONMENT_SLUG.example.com rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH when: never - if: $CI_COMMIT_BRANCH
News[edit]
- Feb 2020 GitLab 13.10 Deploy tier of environments https://docs.gitlab.com/ee/ci/environments/#deployment-tier-of-environments
- Feb 2019 GitLab 12.8, Automatically stop environments after a specified period[2]
auto_stop_in: 1 week
- Nov 2019 GitLab 12.5, Environment dashboards[3]
- Apr 2019 GitLab 11.10 https://docs.gitlab.com/ee/ci/environments/#stop-an-environment-when-a-merge-request-is-merged-or-closed
Related[edit]
- Opstrace observability distribution
- GitLab environment variables
See also[edit]
- GitLab environments,
environment:
, scope,action:
,auto_stop_in
- GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments - GitLab: Install GitLab, Upgrade GitLab Gitlab runner (changelog),
gitlab.rb, .gitlab/, gitlab-ci.yml
,gitlab-ctl, gitlab-rake, gitlab-backup, gitlab-rails
, GitLab editions, GitLab Security Dashboards, GitLab environments, GitLab environment variables, Auto DevOps, permissions, GitLab Pages,gitlab-rails
, GitLab scheduled pipelines, GitLab logs, GitLab changelog , GitLab Release CLI, GitLab Omnibus, GitLab Advanced Search, GitLab container registry, GitLab infrastructure registry
Advertising: