This commit is contained in:
Krishna Manchikalapudi 2024-06-27 14:34:46 -07:00
parent 2b28ae3304
commit 2dbeefbf4f
3 changed files with 1410 additions and 1 deletions

1400
build-29.json Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,7 @@
# export PACKAGE_CATEGORIES=(APPLICATION LIBRARY)
# export BUILD_ID="cmd.$(date '+%Y-%m-%d-%H-%M')"
export BUILD_NAME="spring-petclinic" && export BUILD_ID="cmd.$(date '+%Y-%m-%d-%H-%M')" && export JFROG_CLI_LOG_LEVEL="DEBUG" && export PACKAGE_CATEGORY='LIBRARY' & export JF_BEARER_TOKEN=''
export BUILD_NAME="spring-petclinic" && export BUILD_ID="cmd.$(date '+%Y-%m-%d-%H-%M')" && export JFROG_CLI_LOG_LEVEL="DEBUG" && export PACKAGE_CATEGORY='LIBRARY' & export JF_BEARER_TOKEN='cmVmdGtuOjAxOjE3NDg2MzI1MzU6czl4SDNES1F6dGRPZlMzMTdEMktkRmZhTmdB'
# MVN
#jf rt mvn clean install -DskipTests=true --build-name=spring-petclinic --build-number=${BUILD_ID} --detailed-summary=true --scan=true

View file

@ -20,6 +20,11 @@ Note: This process with not deploy to the envionrmnet platform.
[![Walk through demo](https://img.youtube.com/vi/zgiaPIp-ZZA/0.jpg)](https://www.youtube.com/watch?v=zgiaPIp-ZZA)
### Assumption
My assumption is that the user has the necessary infrastucture in place, including Java v17+, Maven v3.8+, Docker v25+, and a Jenkins v2.445+ server, to implement an automated pipeline for the PetClinic application.
`````
docker pull psazuse.jfrog.io/krishnam-docker-virtual/myjenkins:latest
docker pull psazuse.jfrog.io/krishnam-docker-virtual/krishnamanchikalapudi/myjenkins:latest
`````
### Pipeline
<img src="./cipipeline.svg">
@ -111,6 +116,10 @@ A few options are available to execute the Docker image [krishnamanchikalapudi/m
`````
docker pull krishnamanchikalapudi/mypetclinic:latest
`````
`````
docker pull psazuse.jfrog.io/krishnam-docker-virtual/krishnamanchikalapudi/mypetclinic:latest
`````
- Execute the container
`````
docker run -d --name mypetclinic -p 7080:8080 krishnamanchikalapudi/mypetclinic:latest