-
Notifications
You must be signed in to change notification settings - Fork 6
Sunbird Deployment Pipeline Overview
Kiran G edited this page Sep 28, 2017
·
8 revisions
This document explains the Sunbird Deployment Pipeline, the tools and standards used to create the pipeline. The standards make is simple to discover the existing pipelines and also to setup pipelines for new services.
Following open-source tools/frameworks have been used
- Jenkins
- Ansible
- Docker Hub (Image Registry)
- Sunbird has two deployment environments,
dev
andstaging
. - Single Jenkins Master is used for both the environments.
- Each environment has Jenkins agent service (jenkins agent which runs as a docker container) which is used by the Master to run jobs. Dockerfile for building this image is here
- Depending on the number of jobs being executed Jenkins agent service could be either scaled up or down.
- There is also a Jenkins Build Agent which runs natively (not a docker container) on a VM in
dev
environment. This could be used for running jobs which cannot be run on Jenkins agent service (docker container). Note: As a best practice we recommend that jobs be run on the container agent, so that scaling becomes easy, if required. Running the job on a VM agent is discouraged and should be treated as a short term solution.