YAML (non-Docker) specific fields
Back to the Squash YAML file page.
The YAML fields below are supported on YAML based (non-Docker) deployments only.
build_steps
- Defines a list of steps that should be executed in order to prepare the environment. Such steps may include package installations, DB initialization and should not include commands that start any kind of services. It’s possible to specify Docker instructions for those commands as well. If the Deployment Cache is enabled this entire step will be skipped when the cache is being used.
- This step is also skipped when the persistent storage is successfully retrieved.
- Mandatory field: No
- Data Type: list
- Default value: null
- Important note: the default environment is a very light-weight one, thus it’s required to install all required packages like git, curl etc. All commands are executed as a root user.
- If launch_steps option is not specified, these steps will be used for launching the environment instead.
launch_steps
- Defines a list of steps that should be executed in order to launch the environment. It’s not possible to specify Docker instructions for those commands.
- Mandatory field: No
- Data Type: list
- Default value: null
post_build_steps
- Defines a list of steps that should be executed in order to configure the environment. It’s not possible to specify Docker instructions for those commands.
- These steps are still executed even when the Deployment Cache is enabled. This is helpful to separate certain actions that always need to run regardless of the cache, such as building Javascript/assets after pulling the latest code.
- This step is also skipped when the persistent storage is successfully retrieved.
- Mandatory field: No
- Data Type: list
- Default value: null