From the course: Automating Kubernetes with GitOps

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Creating pipelines for DevOps

Creating pipelines for DevOps

- In DevOps, CI/CD is organized in pipelines, and the pipeline is really a script that automates all steps in CI/CD according to the needs of the specific environment. In DevOps CI/CD, at the end of the pipeline, updated software is provided. In a Kubernetes-based environment, the updated software typically is delivered as an image. And to make it easy to identify new versions, image tags should always be used, pretty essential in the entire GitOps procedure. Now, in DevOps CI/CD, different stages are commonly used. To start it, the pipeline trigger. This is where the pipeline is triggered automatically when new code is committed. And webhooks are a common solution to do so. Then there is code checkout where the code is fetched from the source repository. Code compile, which creates the running application, Run unit tests, which verifies that application parts work as expected. And there you go to code packaging, which builds a container image. From there, you can do the automated…

Contents