Writing .gitlab-ci.yml File with Examples [Tutorial]
GitLab is a popular tool for creating continuous integration and delivery (CI/CD) pipelines that automate DevOps processes. To enable GitLab CI/CD, you need to write a .gitlab-ci.yml file, which configures your pipelines by defining the scripts they'll run, the conditions that will trigger them, and the job settings to apply. The main keywords used in .gitlab-ci.yml include image, stages, script, before_script/after_script, tags, variables, cache, artifacts, when, rules, workflow: rules, and needs. GitLab CI/CD pipelines can be created manually or using the CI/CD Pipeline Editor within the GitLab interface.
Company
Spacelift
Date published
May 22, 2024
Author(s)
James Walker
Word count
2327
Hacker News points
None found.
Language
English