# 5.1.0-hotfix (OCI )

#### Overview <a href="#user-content-overview" id="user-content-overview"></a>

Release note:

This page details out the jobs required to be run as part of the upgrade from Sunbird Ed and CoKreat release 5.1.0-hotfix. Use the following table to understand the jobs that need to be executed in order to successfully complete the upgrade. Any jenkins job configuration or pre-requisites mentioned under manual configuration section needs to be done first before running any of the mentioned jobs. The order of the jobs should also be run as shown below. They can be run in parallel to speed up the execution.

## **Build and Deploy for Sunbird**

### **Sunbird\_ED:**

| Service      | Branch          | Build job                                       | Build tag                                 | Deploy Job                                | Deploy tag                                | Comments |
| ------------ | --------------- | ----------------------------------------------- | ----------------------------------------- | ----------------------------------------- | ----------------------------------------- | -------- |
| Mobile App   | release-5.1.0.2 | <p>Mobile/job/Sunbird-IONIC-Mobile-App/<br></p> |                                           |                                           |                                           | \*\*\*\* |
| Portal       | release-5.1.0.3 | <p>Build/Core/Player<br></p>                    | <mark style="color:blue;">\*\*\*\*</mark> | Deploy/Kubernetes/Player                  | <mark style="color:blue;">\*\*\*\*</mark> | \*\*\*\* |
| ML Services  | release-5.1.0   | Build/managed-learn/ml-projects-service         |                                           | Deploy/managed-learn/ml-projects-service  |                                           | \*\*\*\* |
|              | release-5.1.0   | Build/managed-learn/ml-core-service             |                                           | Deploy/managed-learn/ml-core-service      |                                           | \*\*\*\* |
|              | release-5.1.0   | Build/managed-learn/ml-reports-service          |                                           | Deploy/managed-learn/ml-reports-service   |                                           | \*\*\*\* |
| ML-Analytics | release-5.1.0   |                                                 |                                           | Deploy/managed-learn/ml-analytics-service |                                           |          |
| Other        |                 |                                                 |                                           | Deploy/Kubernetes/OnboardAPI              |                                           |          |
|              |                 |                                                 |                                           | Deploy/Kubernetes/OnboardConsumers        |                                           |          |
|              |                 |                                                 |                                           | Deploy/Kubernetes/nginx-public-ingress    |                                           |          |
|              |                 |                                                 |                                           | Deploy/DataPipeline/InternalKong          |                                           |          |

### [**Sunbird-Knowlg**](https://knowlg.sunbird.org/use/release-notes/release-5.2.0-ongoing)

| Service/Compon       | Branch                                                                                   | Build job                         | Build tag | Deploy Job                         | Deploy tag | Comments |
| -------------------- | ---------------------------------------------------------------------------------------- | --------------------------------- | --------- | ---------------------------------- | ---------- | -------- |
| Sync tool            | [5.2.2](https://github.com/project-sunbird/sunbird-learning-platform/tree/release-5.2.2) | Build/KnowledgePlatform/SyncTool  |           |                                    |            | \*\*\*\* |
| Content service      | [5.1.1](https://github.com/project-sunbird/knowledge-platform/tree/release-5.2.1)        | <p>Build/Core/Content<br></p>     |           | Deploy/Kubernetes/Content          |            |          |
| Taxonomy service     | [5.1.1](https://github.com/project-sunbird/knowledge-platform/tree/release-5.2.1)        | Build/Core/Taxonomy               |           | Deploy/Kubernetes/Taxonomy         |            | \*\*\*\* |
| DIAL service         | NA                                                                                       | Build/Core/Dial                   |           | Deploy/Kubernetes/Dial             |            | \*\*\*\* |
| Learning service     | [5.2.2](https://github.com/project-sunbird/sunbird-learning-platform/tree/release-5.2.2) | Build/KnowledgePlatform/Learning  |           | Deploy/KnowledgePlatform/Learning  |            | \*\*\*\* |
| Knowlg middleware    | NA                                                                                       | Build/Core/KnowledgeMW            |           | Deploy/Kubernetes/KnowledgeMW      |            |          |
| Knowlg platform jobs | [5.2.2](https://github.com/project-sunbird/knowledge-platform-jobs/tree/release-5.2.2)   | Build/KnowledgePlatform/FlinkJobs |           | Deploy/KnowledgePlatform/FlinkJobs |            |          |
| Interactive editor   | NA                                                                                       | Build/Plugins/ContentEditor       |           | Deploy/Plugins/ContentEditor       |            |          |
| Content plugins      | [5.2.1](https://github.com/Sunbird-Knowlg/sunbird-content-plugins/tree/release-5.2.1)    | Build/Plugins/ContentPlugins      |           | Deploy/Plugins/ContentPlugins      |            |          |
| File upload editor   | [5.2.1](https://github.com/Sunbird-Knowlg/sunbird-generic-editor/tree/release-5.2.1)     | Build/Plugins/GenericEditor       |           | Deploy/Plugins/GenericEditor       |            |          |
|                      |                                                                                          |                                   |           |                                    |            |          |

### [Sunbird Lern](https://lern.sunbird.org/use/release-notes/release-v-5.0.1)

| Service/Component  | Branch                                                                                     | Build job                   | Build tag | Deploy Job                   | Deploy tag | Comments |
| ------------------ | ------------------------------------------------------------------------------------------ | --------------------------- | --------- | ---------------------------- | ---------- | -------- |
| User & Org service | [release-5.0.2](https://github.com/Sunbird-Lern/sunbird-lms-service/commits/release-5.0.2) | Build/Core/Learner          |           | Deploy/Kubernetes/Learner    |            | \*\*\*\* |
| LMS                | [release-5.0.2](https://github.com/Sunbird-Lern/sunbird-course-service/tree/release-5.0.2) | Build/Core/Lms              |           | Deploy/Kubernetes/Lms        |            |          |
| Certificate        | [release-5.0.2](https://github.com/Sunbird-Lern/cert-service/tree/release-5.0.2)           | Build/Core/Cert             |           | Deploy/Kubernetes/Cert       |            | \*\*\*\* |
| Lern data products | [release-5.0.2](https://github.com/Sunbird-Lern/data-products/tree/release-5.0.2)          | Build/Lern/LernDataProducts |           | Deploy/Lern/LernDataProducts |            | \*\*\*\* |
| Lern jobs          | [release-5.0.2](https://github.com/Sunbird-Lern/data-pipeline/tree/release-5.0.2)          | Build/Lern/LernFlinkJobs    |           | Deploy/Lern/LernFlinkJobs    |            | \*\*\*\* |

### [Sunbird Inquiry](https://inquiry.sunbird.org/use/release-notes/inquiry-release-v5.2.0)

| Service to be Build                         | Branch                                                                               | Build Tag | Service to Deploy                        | Deploy Tag | Comments |
| ------------------------------------------- | ------------------------------------------------------------------------------------ | --------- | ---------------------------------------- | ---------- | -------- |
|                                             | NA                                                                                   |           | Deploy/Kubernetes/InquiryUploadSchema    |            |          |
| Build/Core/Assessment                       | NA                                                                                   |           | Deploy/Kubenetes/Assessment              |            |          |
| Build/job/KnowledgePlatform/InquiryFlinkJob | [Release-5.2.1](https://github.com/Sunbird-inQuiry/data-pipeline/tree/release-5.2.1) |           | Deploy/KnowledgePlatform/InquiryFlinkJob |            |          |
| Build/Core/Analytics                        | NA                                                                                   |           | Deploy/Kubernetes/Analytics              |            |          |

***

### [**Sunbird Obsrv**](https://obsrv.sunbird.org/use/release-notes/release-v-5.1.0-latest)

| Service to be Build                  | Branch                                                                                         | Build Tag | Service to Deploy                               | Deploy Tag                                                                                     | Comments |
| ------------------------------------ | ---------------------------------------------------------------------------------------------- | --------- | ----------------------------------------------- | ---------------------------------------------------------------------------------------------- | -------- |
| Build/DataPipeline/AnalyticsCore     | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-analytics-core/tree/release-5.1.1)    |           | Deploy/production/DataPipeline/AnalyticsCore    | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-analytics-core/tree/release-5.1.1)    |          |
| Build/DataPipeline/AnalyticsService  | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-analytics-service/tree/release-5.1.1) |           | Deploy/Kubernetes/Analytics                     | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-analytics-service/tree/release-5.1.1) |          |
| Build/DataPipeline/CoreDataProducts  | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-core-dataproducts/tree/release-5.1.1) |           | Deploy/production/DataPipeline/CoreDataProducts | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-core-dataproducts/tree/release-5.1.1) |          |
| Build/DataPipeline/FlinkPipelineJobs | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-data-pipeline/tree/release-5.1.1)     |           | Deploy/production/FlinkPipelineJobs             | [release-5.1.1](https://github.com/Sunbird-Obsrv/sunbird-data-pipeline/tree/release-5.1.1)     |          |
| Build/Core/HawkeyeSuperset           | [release-5.1.1](https://github.com/Sunbird-Obsrv/report-configurator/tree/release-5.1.1)       |           | Deploy/Kubernetes/HawkeyeSuperset               | [release-5.1.1](https://github.com/Sunbird-Obsrv/report-configurator/tree/release-5.1.1)       |          |

### **Sunbird CoKreat**

| Service to be Build | Branch                                                                            | Build Tag                  | Service to Deploy | Deploy Tag | Comments |
| ------------------- | --------------------------------------------------------------------------------- | -------------------------- | ----------------- | ---------- | -------- |
| Creation portal     | [release-5.1.0](https://github.com/Sunbird-Ed/creation-portal/tree/release-5.1.0) | Build/job/DockCore/player  |                   |            |          |
| Program service     | [release-5.1.0](https://github.com/Sunbird-Ed/program-service/tree/release-5.1.0) | Build/job/DockCore/Program |                   |            |          |
|                     |                                                                                   |                            |                   |            |          |

## **Variables to update for Ed and vdn**

| variable name | description | Value  |
| ------------- | ----------- | ------ |
|               |             | 'true' |

### Add below Api's in Internal Kong configuration

Check if below api's exists or not before adding, if exists replace the existing one if not add it.

```
```

### Add below variables in Core,KnowledgePlatform and Datapipeline inventory for ED and vdn

Refer to variables and comment section from here [link](https://github.com/project-sunbird/sunbird-devops/blob/6ab68620854580256361bb9fb7b8e703656e35b4/private_repo/ansible/inventory/dev/Core/common.yml#L23-L36) to update below variables.

storage\_endpoint variables for public, private, management and artifact is not required in current release, give empty string as value (cloud\_public\_storage\_endpoint, cloud\_private\_storage\_endpoint, etc)

```
// ###### common.yml ###############


```

> **Variables to remove from inventory**
>
> delete below variables from core/common.yml if its defined.
>
> \`\`
