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
Blueprints #3
Conversation
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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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 :)
If a blueprint is referenced without a path, and the file is not found, attempt to find the file with the same name in Sail's internal blueprints collection.
interesting... wait to test... |
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.