Difference between revisions of ".gitlab-ci.yml"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 42: Line 42:
 
# Read <code>gitlab-ci.yml</code> reference documentation https://docs.gitlab.com/ee/ci/yaml/
 
# Read <code>gitlab-ci.yml</code> reference documentation https://docs.gitlab.com/ee/ci/yaml/
 
# Review new keyworks introduced in <code>gitlab-ci.yml</code> reading this page
 
# Review new keyworks introduced in <code>gitlab-ci.yml</code> reading this page
# Review predefined [[variables]]: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html and self defined variables https://docs.gitlab.com/ee/ci/variables/README.html#creating-a-custom-environment-variable in <code>gitlab-ci.yml</code> or in <code>Settings > CI/CD > Variables</code> in your project
+
# Review predefined [[variables]]: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html and self defined variables https://docs.gitlab.com/ee/ci/variables/README.html#creating-a-custom-environment-variable in <code>[[gitlab-ci.yml]]</code> or in <code>Settings > CI/CD > Variables</code> in your project
  
 
== Related terms ==
 
== Related terms ==

Revision as of 09:53, 20 April 2021

GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml.

Parameters

  • stages:
5 default stages that execute in order:
.pre
build
test
deploy
.post

Example:

stages:
  - build
  - test
  - deploy
  • build:

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

Security:

License management:


Gitlab-ci.yml and CI/CD pipelines changelog

Activities

  1. Read gitlab-ci.yml reference documentation https://docs.gitlab.com/ee/ci/yaml/
  2. Review new keyworks introduced in gitlab-ci.yml reading this page
  3. Review predefined variables: https://docs.gitlab.com/ee/ci/variables/predefined_variables.html and self defined variables https://docs.gitlab.com/ee/ci/variables/README.html#creating-a-custom-environment-variable in gitlab-ci.yml or in Settings > CI/CD > Variables in your project

Related terms

See also


Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.

Source: wikiversity

Advertising: