Skip to content

All recipes are being loaded #165

@stijnbernards

Description

@stijnbernards

https://github.com/ByteInternet/hypernode-deploy/blob/af8399448599403c381471f6a9a2992ece0d23ae/src/Deployer/RecipeLoader.php

We noticed here that all tasks are being loaded by default, which is not what you would want.

For example(deployer/deployer/recipe/provision/website.php):
Image

Overrides the domain variable with a Deployer\ask and breaks the usage of get('domain')/set('domain') in build.

Loading all recipes at once also overrides a lot of other functions, creates duplicate variables etc.

If a Magento2 recipe is being used only that file should be required via PHP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions