In this video, learn how to set up a .gitlab-ci.yml file to configure a basic GitLab pipeline.
- [Instructor] Pipelines are the basic building blocks … of the CI system. … GitLab uses them to define what to actually do … when running CI features. … Defining pipelines is really easy. … You just create a specific structure YAML file … in your repository called .gitlab-ci.yml … The big advantage of using a text file is that … your pipeline config becomes part of your version control, … so you don't really have to worry … about an untracked change being made … that suddenly causes all your tests to fail, … or worse, pass when they should fail. … Let's start by creating our pipeline. … We'll click on the plus sign here and go to new file. … If you haven't worked with YAML before, … I'd recommend checking out YAML.org … YAML is a fairly easy and human-readable config file format. … We'll start with three minus signs. … That's just to designate that this is a YAML file. … And I'm just going to add the file name here, .gitlab-ci.yml … And I'll click Commit changes. … Now, let's open the Web IDE. …
- Navigating the GitLab interface
- Using GitLab for collaboration
- Merging requests
- Continuous integration and continuous delivery
- Creating and running a pipeline
- Deploying a project using GitLab
Skill Level Beginner
1. First Steps with GitLab
2. GitLab for Source Control
3. Continuous Integration
4. Continuous Delivery
Next steps1m 57s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.