Book Image

Hands-On Auto DevOps with GitLab CI [Video]

By : Alan Hohn
4 (1)
Book Image

Hands-On Auto DevOps with GitLab CI [Video]

4 (1)
By: Alan Hohn

Overview of this book

Developing modern software requires an automated pipeline that builds, tests, and deploys your application, complete with its required infrastructure. GitLab is a Git-based version control server, available at gitlab.com or as a private server. GitLab CI provides automated builds and deployments right from within GitLab. With GitLab CI, it is easy to add build and deployment automation that triggers on every code change, helping you build high-quality, reliable software and deploy it to production at speed. This course will give you a hands-on tutorial on GitLab CI. You will use GitLab CI to create a DevOps pipeline to automatically build, test, and deploy software to virtual machines and container environments. You will explore the features of GitLab CI, including using runners to execute build jobs, creating multi-stage builds, and deploying to virtualized and containerized environments. You will see how easy it is to get started with GitLab CI by deploying your own runners in cloud environments or on your own servers, using Docker and Kubernetes or ordinary scripting. By the end of this course, you'll be ready to use GitLab CI for your own applications to automate your build and deployment pipelines. The code bundle for this video course is available at - https://github.com/PacktPublishing/Hands-On-Auto-DevOps-with-GitLab-CI
Table of Contents (5 chapters)
Chapter 2
Build Stages, Artifacts, and Variables
Content Locked
Section 6
Passing Variables to Builds
We need to provide private information to our jobs without exposing that information in our repository. - Declare variables at the project level - Declare variables at the group level - Consume project and group variables in the build