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 3
Automated Application Deployment
Content Locked
Section 4
Deploy Tokens and Image Pull Secrets
Kubernetes needs credentials to pull our custom Docker image from our project’s GitLab Container Registry. - Create a registry deploy token in GitLab - Create environment variables with our deploy token credentials - Create and use a Kubernetes image pull secret