Automating DevOps with GitLab CI/CD Pipelines
About This Book
Building, packaging, and deploying code correctly carries high stakes for developers and release engineers, and making sure that code is functionally correct, fast, and secure takes time and effort. This book shows how GitLab CI/CD pipelines can automate and streamline each step of the software development lifecycle, using best practices and troubleshooting methods. It starts with the basics of Git and GitLab, including how to commit and review code. From there it covers setting up GitLab Runners to execute and autoscale pipelines, and creating and configuring pipelines for many lifecycle steps. Readers also learn where to find pipeline results in GitLab and how to interpret them. Later chapters move on to deploying code to different environments and to more advanced pipeline features, such as connecting GitLab to a Kubernetes cluster, using GitLab with Terraform, triggering pipelines, and improving pipeline performance. The book closes the loop with best practices and troubleshooting tips for pipelines that refuse to cooperate. Examples, use cases, and self-assessments reinforce the CI/CD, GitLab, and Git concepts, and they help readers prepare for interviews and GitLab-related certification exams. By the end, the reader should be able to build pipelines that automate the DevOps steps needed to build and deploy high-quality, secure code. The book is aimed at DevOps and DevSecOps engineers, application developers, release engineers, quality assurance engineers, security engineers, SREs, and sysadmins who want fast, secure, automated lifecycle tasks through continuous integration and continuous delivery in GitLab. A basic understanding of the major stages of the software development lifecycle and of DevOps processes will help.
ISBN: 9781803233000
Unlock Exclusive Content
Experience the hidden layers of 'Automating DevOps with GitLab CI/CD Pipelines'. Scan the book cover with the Appilog mobile app to see behind-the-scenes videos, author reviews, and interactive digital stories.
Available on iOS & Android






