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

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. 2

3

3

4

4

2/27/2021 Document reference 5

2/27/2021 Document reference 5

Remember What is Docker? What is a Docker Image? Docker is the software technology

Remember What is Docker? What is a Docker Image? Docker is the software technology A Docker Image is like What is a Docker Container? A Docker Container is an instance of the image running — similar to when you actually put the game into your What is a Dockerfile? INSTRUCTIONS TO BEATING 1 ST GYM - Choose Squirtle as your starter Pokemon - Train until Squirtle is level 10 - Stop at Pokecenter and heal Pokemon - Fight leader using the move “Watergun” 6

7

7

SECOND ROUND Jenkins Migration to Open. Shift 8

SECOND ROUND Jenkins Migration to Open. Shift 8

Model R. A. 9

Model R. A. 9

Master Configuration and Deployment Dockerfile • init-jenkins. groovy • create-dsl-job. groovy • yet-another-docker-plugin: 0.

Master Configuration and Deployment Dockerfile • init-jenkins. groovy • create-dsl-job. groovy • yet-another-docker-plugin: 0. 1. 0 -rc 47 • gitlab-plugin: 1. 5. 4 • … Groovy Scripts Plugins. txt SSH • Id_rsa ; id_rsa. pub Scripts / • jenkins-common. sh, run • maven-settings-files. xml, settings-security. xml XML 10

AGENT Configuration and Deployment Dockerfile SCRIPT create. Server. Openstack. sh user-data. sh GROOVY SSH

AGENT Configuration and Deployment Dockerfile SCRIPT create. Server. Openstack. sh user-data. sh GROOVY SSH another-docker-cloud-body. groovy add_permanent_agent. groovy id_rsa. pub 11

Advantages of Open. Shift • • • Running Docker from the Gitlab-Registry Create and

Advantages of Open. Shift • • • Running Docker from the Gitlab-Registry Create and add Secret (SSH Key) Increase Memory Limits Persistent Volume Create Route (without TLS certificates) 12

JENKINS OPENSHIFT WORKING • Win. CCOA Jenkins Project • • DIP Java-Master • •

JENKINS OPENSHIFT WORKING • Win. CCOA Jenkins Project • • DIP Java-Master • • https: //wccoa-master. web. cern. ch https: //java-master. web. cern. ch OPCsimulation • https: //opc-venus. web. cern. ch 13

14

14