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
Git
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.
$cd DIGIT-DevOps/config-as-code/product-release-charts/DIGIT
$ls
dependancy_chart-digit-v2.0.yaml
dependancy_chart-digit-v2.1.yaml
dependancy_chart-digit-v2.2.yaml
dependancy_chart-digit-v2.3.yaml
dependancy_chart-digit-v2.4.yaml
dependancy_chart-digit-v2.5.yaml
dependancy_chart-digit-v2.6.yaml
$cp dependancy_chart-digit-v2.6.yaml dependancy_chart-digit-<your_release_version>.yaml
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.
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
- name: m_finance #Finance
dependencies:
- "core"
services:
- egovio/egov-finance:v3.0.2-0d0a8db8ff-28
- name: m_module_1 #New module name
dependencies:
- "core"
- "business"
services:
- egovio/egov-user-event:v1.1.4-48a03ad7bb-18
- egovio/inbox:v1.1.0-96b24b0d72-79
- egovio/turn-io-adapter:v1.0.1-96b24b0d72-5
- name: m_module_2 #New module name
dependencies:
- "core"
- "business"
services:
- egovio/egov-user-event:v1.1.4-48a03ad7bb-18
- egovio/inbox:v1.1.0-96b24b0d72-79
- egovio/turn-io-adapter:v1.0.1-96b24b0d72-5
name - add your module name with "m_demo" ideal format ie. "m" means module and "demo" would be your module name
dependencies - add your module dependencies (name of other modules)
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
Git
GitHub Organization Account
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:
Fork the DIGIT-DevOps repo to your GitHub organization account
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.
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.Create a new release chart file in the above-created product folder.
touch dependancy_chart-<new_product_name>-<release_version>.yaml
1. Open your release chart file dependancy_chart-<new_product_name
>-<release_version>.yaml and start preparing as mentioned in the below release template.
eGov users can follow the below steps:
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
Create a new release chart file in the above-created product folder.
touch dependancy_chart-<new_product_name>-<release_version>.yaml
1. Open your release chart file dependancy_chart-<new_product_name
>-<release_version>.yaml and start preparing as mentioned in the below release template.
Last updated
Was this helpful?