Building CI/CD Systems Using Tekton: Develop Flexible and Powerful CI/CD Pipelines Using Tekton Pipelines and Triggers

Joel Lord

Language: English

Publisher: Packt Publishing

Published: Sep 16, 2021

Description:

Automate the delivery of applications using Tekton Pipelines and Triggers to deploy new releases quickly and more efficiently

Key Features

  • Learn how to create powerful pipelines using CI/CD tools
  • Understand how to run, deploy and test applications directly in a cloud-native environment
  • Explore the new Tekton Pipelines 2021 features

Book Description

Tekton is a powerful yet flexible Kubernetes-native open source framework for creating continuous integration and continuous delivery (CI/CD) systems. It enables you to build, test, and deploy across multiple cloud providers or on-premise systems.

Building CI/CD Systems Using Tekton covers everything you need to know to start building your pipeline and automating application delivery in a cloud-native environment. Using a hands-on approach, you will learn about the basic building blocks, such as tasks, pipelines, and workspaces, which you can use to compose your CI/CD pipelines. As you progress, you will understand how to use these Tekton objects in conjunction with Tekton Triggers to automate the delivery of your application in a Kubernetes cluster.

By the end of this book, you will have learned how to compose Tekton Pipelines and use them with Tekton Triggers to build powerful CI/CD systems.

What you will learn

  • Understand the basic principles behind CI/CD
  • Explore what tasks are and how they can be made reusable and flexible
  • Focus on how to use Tekton objects to compose a robust pipeline
  • Share data across a pipeline using volumes and workspaces
  • Discover more advanced topics such as WhenExpressions and Secrets to build complex pipelines
  • Understand what Tekton Triggers are and how they can be used to automate CI/CD pipelines
  • Build a full CI/CD pipeline that automatically deploys an application to a Kubernetes cluster when an update is done to a code repository

Who this book is for

This continuous integration and continuous delivery book is for anyone who wants to learn about one of the most powerful Kubernetes-native CI/CD systems - Tekton. Software developers who want to leverage the Custom Resource Definitions (CRDs) in Kubernetes and use Tekton to run pipeline tasks in order to build and own application delivery pipelines will also find this book particularly helpful. Beginner-level knowledge of software development concepts and Kubernetes is required to get the most out of this book.

Table of Contents

  1. A Brief History of CI/CD
  2. A Cloud-Native Approach to CI/CD
  3. Installation and Getting Started
  4. Stepping into Tasks
  5. Jumping into Pipelines
  6. Debugging and Cleaning Up Pipelines and Tasks
  7. Sharing Data with Workspaces
  8. Adding when Expressions
  9. Securing Authentication
  10. Getting Started with Triggers
  11. Triggering Tekton
  12. Preparing for a New Pipeline
  13. Building a Deployment Pipeline

About the Author

Joel Lord (joel__lord on Twitter) is passionate about the web and technology in general. He likes to learn new things, but most of all, he wants to share his discoveries. He does so by traveling to various conferences all across the globe.

He graduated from college with a degree in computer programming in the last millennium. Apart from a little break to get his BSc in computational astrophysics, he has always worked in the industry.

In his daily job, Joel is a developer advocate with MongoDB, where he connects with software engineers to help them make the web better by using best practices around JavaScript.

In his free time, he can be found stargazing on a campground somewhere or brewing a fresh batch of beer in his garage.