Prepare Helm Release Chart

Release chart helps to deploy the product specific modules in one click

Topics covered:

Prepare New Release Chart For Existing Products

This section of the document walks you through the details of how to prepare a new release chart for existing products.

Pre-requisites

  1. Git

  2. Install Visualstudio IDE Code for better code visualization/editing capabilities

Steps To Prepare Release Charts

Clone the following DIGIT-DevOps where we have all the release charts for you to refer.

git clone --branch release https://github.com/egovernments/DIGIT-DevOps.git
cd config-as-code/product-release-charts/

Create a new release version of the below products.

Select your product, copy the previous release version file, and rename it with your new version.

The above code ensures the dependancy_chart-digit-v2.6.yaml with your new release version is copied and renamed.

Note: replace <your_release_version> with your new release version.​

Navigate to the release file on your local machine. Open the file using Visualstudio or any other file editor.

prepare release config
  • Update the release version "v2.6" with your new release version.

  • Update the modules(core, business, utilities, m_pgr, m_property-tax,..etc) service images with new release service images.

Add new modules

  1. name - add your module name with "m_demo" ideal format ie. "m" means module and "demo" would be your module name

  2. dependencies - add your module dependencies (name of other modules)

  3. services - add your module-specific new service images

Prepare New Release Chart For New Product

This section of the document walks you through the details of how to prepare a new release chart for new products.

Pre-requisites

  1. Git

  2. GitHub Organization Account

  3. Install Visualstudio IDE Code for better code visualization/editing capabilities

Steps To Prepare Release Chart

When you have a new product to introduce, you can follow the below steps to create the release chart for a new product.

eGov partners can follow the below steps:

  1. Fork the DIGIT-DevOps repo to your GitHub organization account

  2. Clone the forked DIGIT-DevOps repo to your local machine

    • git clone --branch release https://github.com/<your_organization_account_name>/DIGIT-DevOps.git

    • Note: replace this <your_organization_account_name> with your github organization account name.

  3. Navigate to the product-release-charts folder and create a new folder with your product name. cd DIGIT-DevOps/config-as-code/product-release-charts mkdir <new_product_name>Note: replace <new_product_name> with your new product name.

  4. Create a new release chart file in the above-created product folder.touch dependancy_chart-<new_product_name>-<release_version>.yaml1. Open your release chart file dependancy_chart-<new_product_name>-<release_version>.yaml and start preparing as mentioned in the below release template.

prepare release config​2

eGov users can follow the below steps:

  1. Clone the forked DIGIT-DevOps repo to your local machine

    • git clone --branch release https://github.com/egovernments/DIGIT-DevOps.git

    • Navigate to the product-release-charts folder and create a new folder with your product name. cd DIGIT-DevOps/config-as-code/product-release-charts mkdir <new_product_name>Note: replace <new_product_name> with your new product name

  2. Create a new release chart file in the above-created product folder.touch dependancy_chart-<new_product_name>-<release_version>.yaml1. Open your release chart file dependancy_chart-<new_product_name>-<release_version>.yaml and start preparing as mentioned in the below release template.

prepare release config

Last updated

Was this helpful?