Duration:
1 Day
Audience:
Employees of federal, state and local governments; and businesses working with the government.
Attendees should already be familiar at a basic knowledge level with the following concepts:
- Agile development
- Source code management
Course Description:
This entry-point provides a hands-on training experience which equips team members, engineers, developers and operations staff with the fundamental concepts and tooling basics to get up and running with GitLab in enterprise
This class is designed to provide users with an introduction to GitLab. It starts with an overview of GitLab so you can learn the basics about what GitLab does and why DevOps teams use it. Then it dives into Git, the version control system used by GitLab for source code management (SCM). You’ll learn and practice fundamental Git concepts and commands. Throughout the course flow, we’ll provide demos and hands-on practice with the foundational processes and tasks that DevOps teams use in GitLab, such as committing changes, creating branches and merge requests, using a CI/CD pipeline, and accessing security scanning.
GitLab with Git Basics covers some features that are available in all three GitLab pricing tiers (Free, Premium, and Ultimate), some features that are only available in Premium and Ultimate, and a small number of features that are only available in Ultimate.
Learning Objectives:
- Explain what GitLab is and why teams use it.
- Perform basic Git commands for branching, merging, and remote work
- Apply fundamental concepts and skills using GitLab within the DevOps lifecycle
Course Outline:
Part 1: GitLab Overview
- What is GitLab?
- Sequential DevOps vs. Concurrent DevOps
- Concurrent DevOps with GitLab
- GitLab Flows
- GitLab Recommended Process
- GitLab Workflow Components
- Demo Exercises: GitLab Features
Part 2: GitLab Components and Navigation
- GitLab Organization
- GitLab Epics
- Issue: The Starting Point for your workflow
- Issue Organization
- GitLab Workflow Example
- Demo Exercises: GitLab Navigation
- Hands-On Labs: Create a Project & Issue
Part 3: Git Basics
- What is Git?
- Git Key Terms
- Why Git is so popular
- Centralized vs. Distributed
- Basic Git workflow within GitLab
- Common Commands
- Demo Exercises: Working Locally with Git
- Hands-On Labs: Working Locally with Git
Part 4: Basic Code Creation in GitLab
- Code Review- Typical Workflow
- Code Review Workflow- GitLab tools to use
- Additional Tools for Code Review & Collaboration
- Demo Exercises: Merge Request in GitLab
- Demo Exercises: Assigning, Reviewing, and Approving in GitLab
- Demo Exercises: Additional Tools for working with code
- Hands-On Labs: Code Creation and Review
Part 5: GitLab’s CI/CD Functions
- What is CI/CD?
- CI/CD Advantages
- Concurrent DevOps lifecycle
- CI/CD Features in GitLab
- CI/CD Automated tasks
- GitLab CI/CD Key Ingredients
- Anatomy of a CI/CD Pipeline
- Demo Exercises: CI/CD Examples
- Hands-on Labs: CI/CD Pipelines
Part 6: GitLab’s Package and Release Features
- What are Package and Container Registries?
- Release Features in GitLab
- What is Auto DevOps?
- Demo Exercises: Auto DevOps and Interactive Web Terminal
Part 7: GitLab Security Scanning
- Demo Exercises: Using SAST Templates
- Hands-On Labs: How to run a SAST scan
- Hands-On Labs: View the scanning reports in the Security Dashboard