DEV Community

Vrukshali Torawane
Vrukshali Torawane

Posted on

Terraform Integrated with GitHub Actions to setup Argo CD on Civo

My Workflow

Terraform Integrated with GitHub Actions to setup Argo CD on Civo.
Wohho! Wait! What is this? So let me explain a bit about this tools.

  1. Argo CD : ArgoCD is a GitOps tool that helps with your GitOps workflows. ArgoCD can be used as a standalone tool or as a part of your CI/CD workflow. ArgoCD works with Git as a source off truth, with current Kubernetes manifests, or with Helm charts.

  2. Terraform : Terraform is an infrastructure as code (IaC) tool that allows you to build, change, and version infrastructure safely and efficiently.

  3. Civo : Civo is the first cloud native service provider powered only by Kubernetes. Blazing fast cluster launch times in under 90 seconds and simplified developer experience.

So now you have some overview of what does these tools do!

Architecture

Architecture

Here in my project I have tried to integrate these tools. So, the workflow is created using terraform with github actions which is used to launch the kubernetes cluster on CIVO with Argo CD preconfigured. And after configuration we as developers only need to write Kubernetes manifests file rest work will be done by Argo CD! Seems cool!!

Submission Category:

Wacky Wildcards

Yaml File or Link to Code

GitHub Repository :

Terraform Integrated with GitHub Actions to setup Argo CD on Civo 🎡🐋💙

GIF

🚀 GitHub Actions

Sublime's custom image

GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.

GitHub Actions goes beyond just DevOps and lets you run workflows when other events happen in your repository. For example, you can run a workflow to automatically add the appropriate labels whenever someone creates a new issue in your repository.

GitHub provides Linux, Windows, and macOS virtual machines to run your workflows, or you can host your own self-hosted runners in your own data center or cloud infrastructure.

More Information : https://docs.github.com/en/actions/learn-github-actions/understanding-github-actions

🦑 Argo CD

ArgoCD image

ArgoCD is a GitOps tool that helps with your GitOps workflows. ArgoCD can be used…




Discussion (0)