This is our process for automating docker builds and deploying helm charts to kubernetes clusters.
Cron triggers allow you to schedule jobs to run periodically using a cron-style time specifier.
Easily add Kubernetes Clusters in Codefresh
CI/CD is the practice of combining “Continuous Integration” with “Continuous Delivery” (aka “Continuous Deployment”)
If not using something like Atlantis, we’ve seen others use Codefresh and Jenkins.
Learn how to rollback to previous releases of helm apps.
A CI/CD pipeline usually depends on a number of predefined environment variables. There are a few ways to define these variables. For example, some of them can be set at the CI/CD platform level, secrets should be set in chamber , while other values should be set directly in the codefresh.yml configuration. See the Codefresh shared configuration documentation for an example. Our “best practice” is to store all non-secrets directly in the codefresh.
Build docker image from Dockerfile
Build helm charts pinned to docker image tags.
Push docker image along with all tags up to docker registry.