Configuration File

Preview uses a YAML configuration file located within your repository at .preview/config.yaml in order to define how Preview behaves. A core tenant is that all of the configuration should live within the repository, rather than within the Preview application.

Disabling Image Building

For many reasons, you may wish to build your images outside of Preview, and only have Preview manage the deployment.

You can disable image building by setting build.enabled: False in your config.yaml file.

When builds are disabled, Preview will go straight to the deployment step and make the following assumptions:

  • Pushed images are accessible via a registry specified in the Docker Registries config

  • Pushed images are tagged with the commit hash

  • The repository addresses that you are pushing to are appropriately included in your values files.