Difference between revisions of "GitLab CI: stages:"

From wikieduonline
Jump to navigation Jump to search
(Created page with " stages: - build - test - deploy {{GitLab CI}}")
 
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
https://docs.gitlab.com/ee/ci/yaml/#stages
 +
 +
:5 default stages that execute in order if <code>[[stages:]]</code> is not defined in <code>[[.gitlab-ci-yml]]</code>.
 +
:: <code>[[.pre]]</code>
 +
:: <code>[[build]]</code>
 +
:: <code>test</code>
 +
:: <code>[[deploy]]</code>
 +
:: <code>[[.post]]</code>
 +
 +
Kubernetes GitLab template project define: <code>diff, sync, deploy</code>
 +
 +
== Examples ==
 +
[[GitLab CI: stages:|stages:]]
 +
  - build
 +
  - test
 +
  - deploy
 +
 
  [[stages:]]
 
  [[stages:]]
 
   - build
 
   - build
Line 4: Line 21:
 
   - deploy
 
   - deploy
  
 +
== Related ==
 +
* [[Azure Pipelines: stages:]]
 +
* [[GitLab pipelines]]: <code>[[GitLab pipelines: stage:|stage:]]</code>
 +
 +
== Activities ==
 +
* Learn difference between <code>[[GitLab pipelines: stage:|stage]]</code> and <code>[[GitLab CI: stages:|stages:]]</code>
  
 +
== See also ==
 +
* {{GitLab variables}}
 +
* {{GitLab CI}}
  
{{GitLab CI}}
+
[[Category:GitLab]]

Latest revision as of 14:35, 2 December 2022

https://docs.gitlab.com/ee/ci/yaml/#stages

5 default stages that execute in order if stages: is not defined in .gitlab-ci-yml.
.pre
build
test
deploy
.post

Kubernetes GitLab template project define: diff, sync, deploy

Examples[edit]

stages:
  - build
  - test
  - deploy
stages:
  - build
  - test
  - deploy

Related[edit]

Activities[edit]

See also[edit]

Advertising: