5.2.0 to 6.0.1
Note: This document has been revised to incorporate updates for version 6.0.1, including testing of the cloud-agnostic feature on Oracle Cloud Infrastructure (OCI).
(updated on 26-06-2024)
Overview
This page details out the jobs required to be run as part of the upgrade of Sunbird ED from release 5.2.0 to release 6.0.1. Use the following table to understand the Jenkins 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.
As part of release-6.0.0 some Jenkins job parameters are added for cloud agnostic changes. Follow the steps below to replace the config.xml for those jobs.
1. Login to Jenkins VM
su jenkins
Replace the config.xml for the following mentioned Jenkins path
Jenkins Jobs | Path of Jenkins Server | Update Jenkins job URL |
---|---|---|
Build/Core/Content | /var/lib/jenkins/jobs/Build/jobs/Core/jobs/Content | |
Build/Core/Learner | /var/lib/jenkins/jobs/Build/jobs/Core/jobs/Learner | |
Build/Core/Lms | /var/lib/jenkins/jobs/Build/jobs/Core/jobs/Lms | |
Build/Core/Analytics | /var/lib/jenkins/jobs/Build/jobs/Core/jobs/Analytics | |
Build/DataPipeline/CoreDataProducts | /var/lib/jenkins/jobs/Build/jobs/DataPipeline/jobs/CoreDataProducts | |
Build/DataPipeline/AnalyticsCore | /var/lib/jenkins/jobs/Build/jobs/DataPipeline/jobs/AnalyticsCore | |
Build/KnowledgePlatform/FlinkJobs | Build/KnowledgePlatform/FlinkJobs | |
Build/Lern/LernDataProducts | /var/lib/jenkins/jobs/Build/jobs/Lern/jobs/LernDataProducts | |
Build/Lern/LernFlinkJobs | /var/lib/jenkins/jobs/Build/jobs/Lern/jobs/LernFlinkJobs |
Adding the new variables
Update the following variables in sunbird-devops private repo according to your environment
cd ansible/inventory/dev/core/common.yaml
cd ansible/inventory/dev/core/secrets.yaml
cd ansible/inventory/dev/KnowledgePlatform/common.yaml
Remove the following variables
cd ansible/inventory/dev/core/common.yaml
Build and Deploy for SunbirdED
SunbirdED:
Service | Build job | Build tag | Comments | Deploy Job | Deploy tag |
---|---|---|---|---|---|
Portal | Build/Core/Player | release-6.0.0_RC43 | Deploy/Kubernetes/Player | release-6.0.0 | |
ML Services | Build/managed-learn/ml-projects-service | release-6.0.0_RC9 | Deploy/managed-learn/ml-projects-service | release-6.0.0 | |
Build/managed-learn/ml-core-service | release-6.0.0_RC24 | Deploy/managed-learn/ml-core-service | release-6.0.0 | ||
Build/managed-learn/ml-reports-service | release-6.0.0_RC7 | Deploy/managed-learn/ml-reports-service | release-6.0.0 | ||
Build/managed-learn/ml-survey-service | release-6.0.0_RC9 | Deploy/managed-learn/ml-survey-service | release-6.0.0 | ||
ML-Analytics | ml_analytics_version: release-6.0.0_RC14 | Deploy/managed-learn/ml-analytics-service | release-5.2.0 |
Sunbird Lern:
Service/Component | Build job | Build tag | Deploy Job | Deploy tag | Comments |
---|---|---|---|---|---|
Data pipeline | Build/Lern/FlinkJobs | github_release_tag:release-5.3.1_RC2, CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/Lern/FlinkJobs | release-5.3.1_RC2 | |
Lern data products | Build/Lern/LernDataProducts | github_release_tag:release-5.3.1_RC10, CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/Lern/LernDataProducts | release-5.3.1_RC10 | |
Analytics | Build/Core/Analytics | github_release_tag:release-5.1.3_RC1,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/Kubernetes/Analytics | release-6.0.0 | |
User&Org Service | Build/Core/Learner | github_release_tag:release-5.3.1_RC1,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.0CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk,CLOUD_STORE_VERSION:1.4.6 | Deploy/Kubernetes/Learner | release-5.3.0-lern | |
Batch Service | Build/Core/Lms | github_release_tag:release-5.3.2_RC1,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.0CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk,CLOUD_STORE_VERSION:1.4.6 | Deploy/Kubernetes/Lms | release-5.3.0-lern |
Data Security Policy setup
Please refer the Lern microsite for setting this up
https://lern.sunbird.org/use/release-notes/release-v-5.3.0#data-security-policy-setup
Sunbird Obsrv
Service/Component | Build job | Build tag | Deploy Job | Deploy tag | Comments |
---|---|---|---|---|---|
Data pipeline | Build/DataPipeline/AnalyticsCore | github_release_tag:release-5.1.3_RC3,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/DataPipeline/AnalyticsCore | release-5.2.0 | |
Core Data products | Build/DataPipeline/CoreDataProducts | github_release_tag:release-5.1.3_RC3,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/DataPipeline/CoreDataProducts | release-5.2.0 |
Sunbird-Knowlg
Service/Component | Build job | Build tag | Deploy Job | Deploy tag | Comments |
---|---|---|---|---|---|
Knowledge-platform-jobs | Build/KnowledgePlatform/FlinkJobs | github_release_tag:release-5.5.0_RC2,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk_2.12,CLOUD_STORE_VERSION:1.4.6 | Deploy/KnowledgePlatform/FlinkJobs | release-5.5.0_RC2 | Jobs to be deployed: 1. asset-enrichment 2.content-publish 3. post-publish-processor 4. qrcode-image-generator 5. video-stream-generator |
content-service | Build/Core/Content | github_release_tag:release-5.5.0_RC2,CLOUD_STORE_GROUP_ID:org.sunbird,CLOUD_STORE_ARTIFACT_ID:cloud-store-sdk,CLOUD_STORE_VERSION:1.4.7 | Deploy/Kubernetes/Content | release-6.0.0 | |
Plugins | Build/Plugins/ContentPlugins | release-5.2.1_RC4 | Deploy/Plugins/ContentPlugins | release-6.0.0 | |
Plugins | Build/Plugins/ContentEditor | release-5.2.1_RC3 | Deploy/Plugins/ContentEditor | release6.0.0 |
Sunbird-InQuiry
Service/Component | Build job | Build tag | Deploy Job | Deploy tag | Comments |
---|---|---|---|---|---|
Assessment | Build/Core/Assessment | inquiry_release_tag:release-5.6.0_RC1,core_release_tag:release-5.2.0_RC2 | Deploy/Kubernetes/Assessment | release-6.0.0 | |
InQuiryFlink Job | Build/KnowledgePlatform/InquiryFlinkJob | release-5.7.0_RC4, cloud_store_group_id: org.sunbird, cloud_store_artifact_id: cloud-store-sdk_2.12, cloud_store_version: 1.4.6 " | Deploy/KnowledgePlatform/InquiryFlinkJob | release-5.7.0_RC4 |
Last updated