Environment build process¶
Attention
This section is planned to be changed, the content here is still provisional
In this page is explained the process that converts a config file into a running, well configured and provisioned environment with a set of services.
The overview process is split into to steps:
Create environment and services
Build the services
Lets see what happens on each step:
On create¶
When a environment its created the following actions are executed:
Config is fetched from repository on its version and validated
The config is stored along with the environment (for consistency reasons)
A private network is created
Each service is created and included in the new network, in the order which they are specified in the config
The default service is exposed via WebProxy if enabled
On Build¶
Once we have a working environment, the following step is to fill it and run some commands there.
The procedure is:
For each service, in the order which they are specified in the config:
If
checkout
is true, then the files of the repository are copied into the service at/checkout/
directory.All the commands of are steps are executed in order