Continuous Delivery Workflow

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.

Development Environment

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.

Taking Schema Version

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.

Setting up Development Environment Variable

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.

Deploying Schema on Development 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.

Testing MgFunction before Deploy

more doc coming soon!

Deploying MgFunction on Development Environment

more doc coming soon!

Staging Environment

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.

Setting up Staging Environment Variable

more doc coming soon!

Deploying Schema on Staging Environment

more doc coming soon!

Deploying MgFunction on Staging Environment

more doc coming soon!

Production Environment

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.

Setting up Production Environment Variable

more doc coming soon!

Promoting Schema on Production Environment

more doc coming soon!

Promoting MgFunction on Production Environment

more doc coming soon!

Last updated