Skip to content

Add flag to provision script to allow installing from profile if DB dump is not available #1968

@AlexSkrypnyk

Description

@AlexSkrypnyk

Currently, the provision script fails hard if the provision type is set to the DB dump and the dump file is not available. This was done to mitigate the cases when a missing DB dump lead to a full reinstall of the running site.

There are, however cases, when installing from the profile is useful if the DB is not available. For example, for distribution demonstration purposes. This is becomes especially important as Vortex now start to support installing from recipes and other profiles (like Drupal CMS) - we will be adding more of these and it may be useful to "just let it install".

The proposal here is to add a flag that would allow to auto fallback to the installation from profile/recipe if all conditions below are met:

  1. the flag is enabled
  2. the provision set is from DB dump
  3. the DB dump file is not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    ConfirmedThe issue was triaged and confirmed for development

    Projects

    Status

    BACKLOG

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions