You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For fetching or for deployment. There are a wide number of options for data sources and deployment platforms to sync with. However, not all of these strategies should be included in sink by default. Create a plugin system to allow for a greater number of potential options, without bloating the core library.
Fetching and deployment are fairly open entry points but I can imagine lifecycle entries such as pre- or post- fetch or deployment. For example, it may be useful to send a message to a Slack channel whenever sometimes deploys to AWS.
Fetch plugins should be integrated into sink-fetch.js, and run through yarn sink fetch <plugin-name>. This will require adding an optional argument to the fetch command.
Motivation
For fetching or for deployment. There are a wide number of options for data sources and deployment platforms to sync with. However, not all of these strategies should be included in
sink
by default. Create a plugin system to allow for a greater number of potential options, without bloating the core library.Fetching and deployment are fairly open entry points but I can imagine lifecycle entries such as pre- or post- fetch or deployment. For example, it may be useful to send a message to a Slack channel whenever sometimes deploys to AWS.
Examples
Fetch plugins should be integrated into
sink-fetch.js
, and run throughyarn sink fetch <plugin-name>
. This will require adding an optional argument to thefetch
command.Deployment plugins should be integrated into
sink-deploy.js
, and run throughyarn sink deploy <deployment-strategy>
.The text was updated successfully, but these errors were encountered: