Difference between revisions of "GitLab environments"

From wikieduonline
Jump to navigation Jump to search
Line 20: Line 20:
 
== News ==
 
== 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>
 
* 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>
 +
* [[GitLab 12.5]] Environment [[dashboards]]<ref>https://about.gitlab.com/releases/2019/11/22/gitlab-12-5-released/#environments-dashboard</ref>
  
 
== Related ==
 
== Related ==

Revision as of 18:25, 4 August 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

Related

See also

  • https://about.gitlab.com/releases/2020/02/22/gitlab-12-8-released/#automatically-stop-environments-after-a-specified-period
  • https://about.gitlab.com/releases/2019/11/22/gitlab-12-5-released/#environments-dashboard
  • Advertising: