Bozobooks.com: Fullstack k8s application blog series
GitOps for BookInfoService Quarkus Application with GitHub actions and ArgoCD
Chapter 5: In this blog, we will build the pipeline to build and deploy the Book Information service that we implemented in Chapter 3. We will be using GitHub Actions for Build and ArgoCD to deploy to our local cluster.
In Chapter 4 we walked through the overall GitOps architecture and approach, Please read that chapter, before u go any further. In that chapter, we also created the base infrastructure.
In this blog, we will write the pipeline code for the BookInfoService microservice. The following is the logic for the CI/CD pipeline, that we will be implementing in this blog. We will be implementing a multi-stage workflow, one for Dev and one for Production (AWS). We will cover the production workflow in another blog. We will have a human-interaction approval before we promote the build to production.
Let's go through the steps of creating the workflow
First of all, we need to create a GitHub actions workflow. For that go to the application Git repository, and select the “Actions”…