Skip to content

Latest commit

 

History

History
24 lines (12 loc) · 7.56 KB

jenkins-jobs.md

File metadata and controls

24 lines (12 loc) · 7.56 KB
description
This page list Jenkins Jobs related to LERN BB

Jenkins Jobs

Overview:

Build Job : When a build job is run in jenkins, the Jenkinsfile pipeline script in the specific component repo checks-out the specified branch from github repository, does build excutes testcases and creates the docker image. This image details are then uploaded to Jenkins.

Artifact Upload Job : Once the build is complete, artifact upload is triggered automatically as per the configuration specified in Artifact upload Job Configure page. Jenkinsfile pipeline script in sunbird-devops/pipelines/upload/docker/ folder is executed and artifact is uploaded to docker-hub.

Deploy Job: Deploy jobs is triggered after the Artifact Upload Job as per the configuration specified in Deploy Job Configure page. Jenkinsfile pipeline script in sunbird-devops/kubernetes/pipelines/deploy_core/ folder is executed. The deploy job uses the helm chart from kubernetes/helm_charts/core/ folder. It fetches the artifact from docker and deploys it in application container along with envoy , opa containers in specific pod.

Provisioning jobs are run to setup the data stores(Cassandra, ES, Redis, Postgre), spark and kafka in the middleware.

BuildArtifactUploadDeployDescription
Build/Core/AdminUtilsArtifactUpload/Core/AdminUtilsDeploy/Kubernetes/AdminUtilsUsed for build and deploy of adminutils service. Service handles mobile device registration and generating users' refresh token
Build/Core/CassandraArtifactUpload/Core/CassandraDeploy/Kubernetes/CassandraUsed for creating/migrating tables in Cassandra database
Build/Core/CassandraTriggerArtifactUpload/Core/CassandraTriggerDeploy/Kubernetes/CassandraTriggerUsed for creating required Cassandra Triggers
Note: This job is run only once. Deprecated
Build/Core/CertArtifactUpload/Core/CertDeploy/Kubernetes/CertThis service is part of old incredibles specification for generating certificates. This is not used for certificate generation after 4.10.0 release. Currently sunbird -RC is used for certificate generation.
Build/Core/CertRegistryArtifactUpload/Core/CertRegistryDeploy/Kubernetes/CertRegistryThis service is part of old incredibles specification for generating certificates. This is not used for certificate generation after 4.10.0 release. Currently sunbird -RC is used for certificate generation.
Build/Core/DiscussionsMiddlewareArtifactUpload/Core/DiscussionsMiddlewareDiscussion Forum APIs are part of DiscussionsMiddleware. This service is based on NodeJS.
Build/Core/EncServiceArtifactUpload/Core/EncServiceUsed to build and deploy Encryption Service. Deprecated
Build/Core/GroupsArtifactUpload/Core/GroupsDeploy/Kubernetes/Groups/Used to build and deploy Groups service
Build/Core/KeycloakArtifactUpload/Core/KeycloakDeploy/Kubernetes/KeycloakUsed for packaging and deploying Keycloak with Sunbird SPI provider
Deploy/Kubernetes/KeycloakRealmUsed for importing 'Sunbird' realm into new setup.
Note: This job is run only once.
Build/Core/LearnerArtifactUpload/Core/LearnerDeploy/Kubernetes/LearnerUsed to build and deploy 'User-Org' Service
Build/Core/LmsArtifactUpload/Core/LmsDeploy/Kubernetes/LmsUsed to build and deploy 'Course-Batch' Service
Build/Core/NodebbArtifactUpload/Core/NodebbDeploy/Kubernetes/NodebbUsed to build and deploy 'Discussion Forum'
Build/Core/NotificationArtifactUpload/Core/NotificationDeploy/Kubernetes/NotificationUsed to build and deploy 'Notification' Service
Build/Core/PrintArtifactUpload/Core/PrintDeploy/Kubernetes/PrintHandles PDF generation of certificates. Deprecated
Build/Lern/LernDataProductsArtifactUpload/Lern/LernDataProductsDeploy/Lern/LernDataProductsUsed to build and deploy "Lern Data products"
Build/Lern/LernFlinkJobsArtifactUpload/Lern/LernFlinkJobsDeploy/Lern/LernFlinkJobsUsed to build and deploy "Lern Flink jobs"
Build/Sunbird-RC/CertificateApiArtifactUpload/Sunbird-RC/CertificateApiDeploy/Sunbird-RC/CertificateApiTo create a build using docker hub image of Sunbird-RC Certificate Api release
Build/Sunbird-RC/CertificateSignArtifactUpload/Sunbird-RC/CertificateSignDeploy/Sunbird-RC/CertificateSignTo create a build using docker hub image of Sunbird-RC Certificate Sign release
Build/Sunbird-RC/RegistryArtifactUpload/Sunbird-RC/RegistryDeploy/Sunbird-RC/RegistryTo create a build using docker hub image of Sunbird-RC release
Build/Core/APIManagerArtifactUpload/Core/APIManagerDeploy/Kubernetes/APIManagerTo build and deploy kong.
Deploy/Kubernetes/OnboardAPIsUsed for onboarding new APIs. This copies the kong-api.json to API manager.
Deploy/Kubernetes/OnboardConsumersUsed for onboarding new consumers to kong and providing them bearer token to access APIs.
Build/KnowledgePlatform/SyncToolArtifactUpload/KnowledgePlatform/SyncToolDeploy/KnowledgePlatform/Neo4jElasticSearchSyncToolUsed for syncing data from neo4j/cassandra to Elastic search
Provision/Core/ApplicationElasticSearchInstalls Elasticsearch used by the applications
Provision/Core/KeycloakUsed for installing pre-requisites for Keycloak installation
Provision/Core/CassandraInstalls Cassandra database
Provision/Core/ESMappingCreates Elasticsearch indices and mappings
Provision/Core/LogESInstalls Elasticsearch used to store application and VM logs
Provision/Core/PostgresInstalls Postgres database
Provision/Core/PostgresDbUpdateCreates Postgres tables, schema and users
Provision/DataPipeline/KafkaInstalls Kafka
Provision/DataPipeline/RedisInstall Redis
Provision/DataPipeline/ZookeeperInstalls Zookeeper