Skip to content

Starter Devops

Puneet Behl edited this page May 18, 2023 · 8 revisions

Architecture

Micronaut Launch Architecture

Devops

The UI is built via micronaut-starter-ui.

It uses a configuration file to define the url where a version of starter-server-netty is deployed.

Launch screenshot with URLs.

When you click the radio button of the release, the UI does a request against the URL to refresh its options (e.g. different JDKs).

starter-server-netty is deployed to Cloud Run in GCP. Whenever, we release a version of starter a new cloud run instance is created with the version number.

Cloud Run version numbers

When we do a release, we do two deployments

gcloud run deploy micronaut-starter-latest 

gcloud run deploy "micronaut-starter-$version"

Cloud Run allows for a custom domain to be mapped to a particular version.

We have the following mappings:

Cloud Run Mapping

When we a release a major version we should change the release workflow of the prior version to release to prev instead.

gcloud run deploy micronaut-starter-prev

Manual Mapping

Manage Custom domains

mapping selection

Edit and Deploy new version

Select Container Image URL

Clone this wiki locally