/
Service deployment

Service deployment

Step 1: Add entry in build-config,yaml file refer to this example - https://github.com/egovernments/DIGIT-Dev/commit/cf6b4ad981810e5df24315cb64c67d8609ba480a

Step 2: Go to your job builder jenkins page and click on "Build now".

Step 3: Once these steps are done, go to your jenkins build page. The service will appear under the repository in which it has been added, i.e. if the service is added under core-services, it will show up in core-services section in the aforementioned page.

Step 4: Once build is completed, we can click on the build and then click on "Console Output". Scroll down to the bottom and copy the following information -

Image ID of the build

Build generates a docker image. The docker image has an ID. Copy the docker image ID. Go to the Deploy section and paste the docker image ID and run “deploy”.

 

Related content

Adding workflow configuration
Adding workflow configuration
Read with this
How to add new services under builds in Jenkins
How to add new services under builds in Jenkins
More like this
Goal of this guide
Goal of this guide
Read with this
Adding new service and deployment
Adding new service and deployment
More like this
MS - Adding new service
MS - Adding new service
More like this
Jenkins Setup Tutorial for Automation
Jenkins Setup Tutorial for Automation
More like this