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

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
 
== [[GitLab CI keyword reference]] ==
 
== [[GitLab CI keyword reference]] ==
* <code>[[job:]]</code>
 
 
https://docs.gitlab.com/ee/ci/yaml/#stages
 
* <code>[[GitLab CI: stages:|stages:]]</code> <code>.pre -> [[build]] -> [[test]] -> [[deploy]] -> .post</code>
 
* <code>[[stage]]</code>
 
* <code>[[build:]]</code>
 
 
https://docs.gitlab.com/ee/ci/yaml/
 
* <code>script</code> https://docs.gitlab.com/ee/ci/yaml/#script
 
* <code>before_script</code>
 
* <code>after_script</code>
 
* <code>stage</code> https://docs.gitlab.com/ee/ci/yaml/#stage
 
* <code>[[tags]]</code> https://docs.gitlab.com/ee/ci/yaml/#tags
 
* <code>rules (if, changes, exists)</code> https://docs.gitlab.com/ee/ci/yaml/#rules
 
* <code>[[artifacts:]]</code>
 
 
Security:
 
* <code>[[artifacts:reports:dast]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportssast-ultimate</ref>
 
[[License management]]:
 
* <code>[[artifacts:reports:license_management]]</code> <ref>https://gitlab.bt.local/help/ci/yaml/README.md#artifactsreportslicense_management-ultimate</ref> (will be deprecated  <code>- template: License-Scanning.gitlab-ci.yml</code>)
 
 
 
* <code>[[secrets:]]</code> https://docs.gitlab.com/ee/ci/yaml/#secrets
 
  
 
== [[Gitlab-ci.yml and CI/CD pipelines changelog]] ==
 
== [[Gitlab-ci.yml and CI/CD pipelines changelog]] ==

Revision as of 08:19, 28 September 2022

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

GitLab CI keyword reference

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 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
  3. Read https://stackoverflow.com/questions/tagged/gitlab-ci?tab=Votes
  4. Learn about GitLab Pipeline emails notifications: https://docs.gitlab.com/ee/user/project/integrations/pipeline_status_emails.html

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: