Continuous Delivery Workflow
Last updated
Last updated
Microgen come with handy solution for Continuous Delivery. On the Pro Plan & up, microgen had 3 versions which are development, staging, and production. Every environment live on each own cluster and it has its own databases.
On development environment, we can do anything such as creating schema, content entries, creating mgFunction, etc. Here are the brief description how to deal with that.
After making change on the schema, we can simply take version from the toolbar menu
we can give name and description to our version change. It will be used later on Deployment.
We can either set the environment variable from settings - config var menu, or directly click the "RUN" button like this.
to edit more env variable, we can click the "open more config" link. This environment variable will only live on this environment.
To deploy the schema on development environment, we can simply click the "RUN" button on the right toolbar, and go to "development" tab, then click the "Deploy" button.
Don't forget to setup the env variable first, or open more config. We can also specify the schema version we would like to deploy on development environment from the "versioning" menu, by checking out on desired version.
more doc coming soon!
more doc coming soon!
On Staging environment we can only choose the version of schema to be deployed, setting global environment variable for staging, and choose MgFunction version to be deployed. We can't create schema, create mgFunction, etc here. But we can still do something like content entries, monitoring checking, creating cache etc. Here are the brief description how to deal with that.
more doc coming soon!
more doc coming soon!
more doc coming soon!
On Production environment we can only promote the latest deployed Schema and latest deployed mgFunction from staging environment. We can't create schema, create mgFunction, etc here. But we can still do something like content entries, monitoring checking, creating cache etc. Here are the brief description how to deal with that.
more doc coming soon!
more doc coming soon!
more doc coming soon!