Difference between revisions of "GitLab CI, environment:"
Jump to navigation
Jump to search
↑ https://docs.gitlab.com/ee/ci/yaml/index.html#environmentaction
Line 8: | Line 8: | ||
[[kubernetes]] | [[kubernetes]] | ||
[[deployment_tier]] | [[deployment_tier]] | ||
+ | |||
+ | == Examples == | ||
+ | {{Dynamic env}} | ||
== Related == | == Related == |
Revision as of 11:15, 31 October 2022
name: url: https://docs.gitlab.com/ee/ci/yaml/index.html#environmenturl on_stop auto_stop_in action: start | prepare | stop | verify | access [1] kubernetes deployment_tier
Examples
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
Related
See also
Advertising: