Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blueprints #3

Merged
merged 11 commits into from Sep 17, 2021
Merged

Blueprints #3

merged 11 commits into from Sep 17, 2021

Conversation

kovshenin
Copy link
Owner

Blueprints are coming soon to a sailboat near you.

Blueprints will allow Sail users to specify a manifest YAML file, which declares which plugins and themes should be installed and activated, additional server software setup and configuration and more. Work in progress will be committed and tested on this branch, API changes will be deployed to the production API service.

@kovshenin kovshenin added the enhancement New feature or request label Sep 15, 2021
@kovshenin kovshenin self-assigned this Sep 15, 2021
@soulseekah
Copy link
Contributor

Beautiful.

A vars section in the YAML manifest now specifies any user input
that's required to process the blueprint. Variables can be passed
at the command line, otherwise will prompt() for user input when
applying the blueprint.

The previous {{}} interpolation syntax has been changed to ${{}}
which seems to be what GitHub workflow YAMLs are using, as well
as Azure pipelines. It's also valid YAML (treated as a string).

# Install plugins from the WordPress.org repo or custom sources.
plugins:
woocommerce: latest

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • [feat] plugin auto activation option

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DimaMinka by default all plugins specified in a blueprint will be activated after install. Is there a good use case where that would not be ideal?

url: https://downloads.wordpress.org/plugin/hello-dolly.1.7.2.zip

# Install themes from the WordPress.org directory or custom sources.
themes:
Copy link

@DimaMinka DimaMinka Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[feat] theme auto activation option

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last theme in the list is activated by default :)

@DimaMinka
Copy link

interesting... wait to test...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants