Create a dynamic environment to preview your feature
Using this repository, we will help you get up to speed with basic functionality such as: building Docker images and launching compositions.
This project uses
Node JS to build an application which will eventually become a distributable Docker image.
In the root of this repository you’ll find a file named
codefresh.yml, this is our pipeline definition and it describes the different steps that comprise our process. Let’s quickly review the contents of this file:
The pipeline clones the source code, builds a docker image and then creates a preview environment with that image.
Your environments are limited
Be aware that the number of environments you can run is limited. When using the same environment name the old one would terminate before launching the new environment. That way you can control the number of environments running in your account.
Just head over to the example repository in Github and follow the instructions there.
Here is the end result: