Deploy a Devops Software Infrastructure for Agile Software

  • Slides: 14
Download presentation
Deploy a Devops Software Infrastructure for Agile Software Engineering Project Management Pablo Gonzalez Jimenez

Deploy a Devops Software Infrastructure for Agile Software Engineering Project Management Pablo Gonzalez Jimenez Brice Copy Beams Department Industrial Controls and Safety Group Tools & Infrastructure Section 1

9/9/2021 Document reference 2

9/9/2021 Document reference 2

Objective • Take a single Jenkins master featuring : • • • 558 active

Objective • Take a single Jenkins master featuring : • • • 558 active jobs Java, C++, Python, Win. CC OA, PLC code generation projects 116 active Jenkins plugins Credentials management is difficult And replace it with multiple Jenkins master instances placed under managed configuration. 3

9/9/2021 4

9/9/2021 4

IT IS BASICALLY TO IMPROVE THE WORK HABITS. DOING IT EASIER BY USING CONTINUOS

IT IS BASICALLY TO IMPROVE THE WORK HABITS. DOING IT EASIER BY USING CONTINUOS INTEGRATION 5

How? 6

How? 6

9/9/2021 Document reference 7

9/9/2021 Document reference 7

8

8

Docker? It is a software technology providing containers 9

Docker? It is a software technology providing containers 9

Container? A container is a lightweight, standalone, executable package of a piece of software

Container? A container is a lightweight, standalone, executable package of a piece of software that includes everything needed inside a Dockerfile 10

Dockerfile? File that contains the steps to build the image to run 11

Dockerfile? File that contains the steps to build the image to run 11

Master Configuration and Deployment Dockerfile Groovy Scripts • init-jenkins. groovy • another-docker-cloud. groovy •

Master Configuration and Deployment Dockerfile Groovy Scripts • init-jenkins. groovy • another-docker-cloud. groovy • yet-another-docker-plugin: 0. 1. 0 -rc 42 Plugins. txt • groovy: 2. 0 • ssh-slaves: 1. 20 • …crt ; …key ; …pem SSL && SSH • Id_rsa ; id_rsa. pub 12

Agent Configuration and Deployment Script to create a server in Openstack Groovy Scripts •

Agent Configuration and Deployment Script to create a server in Openstack Groovy Scripts • Openstack Nova API • another-docker-cloudbody. groovy VARIABLES TOOLS SSH user-data. sh • Installation several apps • Users Creation • Modify and Configuration files • Creation Permanent Agent • Generates TLS certificates • Creation Credentials XML 13

JENKINS WORKING https: //cvl-jenkins-master. cern. ch: 8443/ • https: //cvl-jenkins-java-master. cern. ch: 8443/ •

JENKINS WORKING https: //cvl-jenkins-master. cern. ch: 8443/ • https: //cvl-jenkins-java-master. cern. ch: 8443/ • http: //pablogo-docker-ii: 8080/ • https: //cvl-jenkins-wccoa-master. cern. ch: 8443/ • 14