alloc / saus

Vite SSR/SSG framework that aspires to be a layer for opinionated web frameworks to build upon
Other
38 stars 1 forks source link

Git-based cloud infrastructure tracking #67

Closed aleclarson closed 2 years ago

aleclarson commented 2 years ago

Giving deployment plugins the power to spin up and shut down infrastructure would be fantastic. To accomplish this, we need to track what infrastructure is deployed, so it can be shut down when no longer declared and so duplicate deployment can be easily avoided.

My proposal is to use a dedicated git branch (named cloud maybe? or infrastructure? could be customizable).

This branch would store a YAML list of deployed infrastructure along with any necessary metadata, such as the plugin that was used to deploy it. If a plugin is uninstalled before shutting down its deployed infrastructure, an error will occur the next time saus deploy is run.

The saus deploy command would manage this git branch for you.

aleclarson commented 2 years ago

My proposal is to use a dedicated git branch (named cloud maybe? or infrastructure? could be customizable).

The branch is named deployed for now. Could be customized in the future.