Difference between revisions of ".gitlab-ci.yml"
Jump to navigation
Jump to search
(63 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | [[GitLab CI/CD]] pipelines are configured using a [[DevOps/YAML|YAML]] file called <code>.gitlab-ci.yml</code>. | |
+ | * https://docs.gitlab.com/ee/ci/yaml/ | ||
+ | * https://gitlab.bt.local/help/ci/yaml/README.md | ||
+ | == [[GitLab CI keyword reference]] == | ||
− | == | + | == [[Gitlab-ci.yml and CI/CD pipelines changelog]] == |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Activities == | == Activities == | ||
# 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 | + | # Review predefined <code>[[GitLab CI: variables:|variables]]:</code> 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 |
− | + | # Read https://stackoverflow.com/questions/tagged/gitlab-ci?tab=Votes | |
+ | # Learn about [[GitLab Pipeline emails notifications]]: https://docs.gitlab.com/ee/user/project/integrations/pipeline_status_emails.html | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[artifacts:]]</code> | ||
+ | * <code>[[timeout:]]</code> | ||
+ | * <code>[[needs:]]</code> introduced in 2019 ([[GitLab 12.2]])<code>https://about.gitlab.com/2019/08/22/gitlab-12-2-released/index.html</code> | ||
+ | {{CI files TOC}} | ||
+ | * [[GitLab Workflow extension for VSCode]] provides autocompletion funtionalities | ||
+ | * [[.github/workflows/]] | ||
== See also == | == See also == | ||
− | * {{GitLab}} | + | * {{gitlab-ci.yml}} |
− | + | * {{gitlab runner}} | |
+ | * {{GitLab CI}} | ||
− | [[Category: | + | [[Category:GitLab]] |
− | |||
− | |||
{{CC license}} | {{CC license}} | ||
Source: wikiversity | Source: wikiversity |
Latest revision as of 20:16, 13 April 2023
GitLab CI/CD pipelines are configured using a YAML file called .gitlab-ci.yml
.
Contents
GitLab CI keyword reference[edit]
Gitlab-ci.yml and CI/CD pipelines changelog[edit]
Activities[edit]
- Read
gitlab-ci.yml
reference documentation https://docs.gitlab.com/ee/ci/yaml/ - 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 ingitlab-ci.yml
or inSettings > CI/CD > Variables
in your project - Read https://stackoverflow.com/questions/tagged/gitlab-ci?tab=Votes
- Learn about GitLab Pipeline emails notifications: https://docs.gitlab.com/ee/user/project/integrations/pipeline_status_emails.html
Related terms[edit]
artifacts:
timeout:
needs:
introduced in 2019 (GitLab 12.2)https://about.gitlab.com/2019/08/22/gitlab-12-2-released/index.html
.gitlab-ci.yml
.travis.yml
jenkinsfile
- GitLab Workflow extension for VSCode provides autocompletion funtionalities
- .github/workflows/
See also[edit]
gitlab-ci.yml
,job: | stage: | stages: | artifacts: | include: | script: | when: | only: | needs:
- Gitlab runner, runners:
gitlab-runner
,gitlab-ci.yml
,config.toml
, GitLab Runner Changelog - GitLab CI, variables, templates, executors,
.gitlab-ci.yml, .gitlab/
, Credential helpers, notifications, pipeline editor, Keyword reference, Changelog,ContainersNotReady
, GitLab environments
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: