The build-harness is a collection of Makefiles to facilitate building stuff. It supports Helm, Docker, Kubernetes, Helm Charts, and much more. We use it as part of our CI/CD pipelines.
Our tips for working with Codefresh
Cron triggers allow you to schedule jobs to run periodically using a cron-style time specifier.
Easily add Kubernetes Clusters in Codefresh
Codefresh CI/CD Process
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.
Automatically generate semantic versions based on git tag/branch and commit hash (sha).
Build docker image from Dockerfile
Build helm charts pinned to docker image tags.
Push docker image along with all tags up to docker registry.
Deploy helm charts to cluster with helmfile and chamber
Notify a slack channel upon successful deployment to cluster.