CI/CD pipeline Examples

A collection of examples for Codefresh pipelines

Codefresh enables you to define the steps of your pipeline in a YAML file. By default, the file is named codefresh.yml, and is located in the root directory of the repository.

Programming Language specific

Codefresh is agnostic as far as programming languages are concerned. All major programming languages are supported:

Checking out source code

You can checkout code from one or more repositories in any pipeline phase. Codefresh includes built-in GIT integration with all the popular GIT providers and can be used with git-clone steps.


Codefresh has native support for building and pushing Docker containers. You can also compile traditional applications that are not Dockerized yet.


Codefresh has support for both unit and integration tests as well as test reporting.

Code Coverage


Codefresh can automatically export secret key-value pairs using the Vault plugin from the Step Marketplace.

Preview environments

Codefresh can automatically launch environments (powered by Docker swarm) to preview a Pull Reqest or feature. The definition of the environment can come from an existing composition, a docker-compose file or an inline YAML. Preview environments can be launched manually or automatically from pipelines.


Codefresh can deploy to any platform such as VMs, FTP/SSH/S3 sites, app servers but of course it has great support for Kubernetes clusters and Helm releases: