Difference between revisions of "GitLab environments"
Jump to navigation
Jump to search
↑ https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/#automatically-stop-environments-after-a-specified-period
Line 18: | Line 18: | ||
when: never | when: never | ||
- if: [[$CI_COMMIT_BRANCH]] | - if: [[$CI_COMMIT_BRANCH]] | ||
+ | |||
+ | |||
+ | == News == | ||
+ | * 22/02/2019 [[GitLab 12.8]] | ||
+ | ** Automatically stop [[environments]] after a specified period<ref>https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/#automatically-stop-environments-after-a-specified-period</ref> <code>[[auto_stop_in: 1 week]]</code> | ||
== Related == | == Related == |
Revision as of 15:22, 29 July 2022
Dynamic environment official example
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
- 22/02/2019 GitLab 12.8
- Automatically stop environments after a specified period[1]
auto_stop_in: 1 week
- Automatically stop environments after a specified period[1]
Related
See also
- 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: