Microservice and docker image generation using Jenkins Current

  • Slides: 4
Download presentation
Microservice and docker image generation using Jenkins

Microservice and docker image generation using Jenkins

Current Status and Requirement • Currently Microservice generation (MS/Gen) component uses Docker API to

Current Status and Requirement • Currently Microservice generation (MS/Gen) component uses Docker API to build docker image for models onboarded in Acumos. • To achieve scalability and more robust process for microservice generation, it is intended to use Jenkins to build the model docker image • Jenkins will be deployed as a platform component and will be used for model docker build and model deployment • This document describes workflow and design that MS/Gen will implement to realise this requirement.

Docker build using Jenkins 1 Model Bundle 2 On. Boarding User Invoke Ms/Gen el

Docker build using Jenkins 1 Model Bundle 2 On. Boarding User Invoke Ms/Gen el mod d a o nl Dow cts a artef 3 MS-Gen Docker Preparator Docker file and dependencies Model. zip Metad ata Proto buf 4 Nexus Repo Maven Repository 8 Docker Repository Docker Image 6 Triggers Jenkins for Docker build 5 Docker Volume 7 Docker file and dependencies Jenkins

Platform Dependencies & Considerations 1. As of now we assume that Jenkins is installed

Platform Dependencies & Considerations 1. As of now we assume that Jenkins is installed barebones on Server and communication with dockerized Jenkins is not yet tested. 2. CSRF is a Security configuration which should be disabled in Jenkins for its job to be called by java code. 3. Jenkins user should be able to access the Docker Volume to fetch the files. 4. #2 & #3 configuration should be set at the time of deployment and Platform Deployment script should incorporate that. 5. Jenkins job shell script configurations should be archived in gerrit under which repository ?