Thursday, September 1, 2022

Docker Project

 1) Create Spring Boot Microservice using spring initializer

2) Jenkins Job using Declarative pipeline

Steps: 1) Code Checkout 2)Build 3)Test 4)Docker Image 5)DockerHub

pipeline{

stage("code checkout")

 git url

stage("Build")

mvn package

stage("test")

report should display on sonarqube

stage("docker mage build")

dockerfile ... copy artifact while creating image

docker build -t 

stage(" Deploy Image to dockerhub")

docker push

stage("deploy application to dev host")

docker run 

}

No comments:

Post a Comment

Sample Game App Deployment on EKS cluster

 https://padmakshi.medium.com/setting-up-an-eks-cluster-and-deploying-a-game-application-a-step-by-step-guide-08790e0be117