Skip to content

Commit

Permalink
Pr springboot migration final cxflow (#1316)
Browse files Browse the repository at this point in the history
* Springboot migration

* Image Version Change

* Removed support for java11

* added cacerts path

* JAVA 8 remove

* JAVA 17 Version update

* Added code for pblic scan

* Version Update

* Adding jar in Docker file

* Code to add JAR

---------

Co-authored-by: Satyam Chaurasia <[email protected]>
  • Loading branch information
1 parent 4347268 commit 7401478
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ commands: # a reusable command with parameters
go get github.com/cxflowtestuser/ghr
VERSION=$(cat ./build/libs/version.txt)
rm ./build/libs/version.txt
mv build/libs/repo-${VERSION}.jar build/libs/cx-flow-${VERSION}.jar
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -n ${VERSION} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} << parameters.ghr-option >> -delete ${VERSION} ./build/libs/
jobs:
build:
Expand All @@ -32,7 +33,7 @@ jobs:
- restore_cache:
key: v1-gradle-cache-{{ checksum "build.gradle" }}
- run: ./gradlew clean build
#- run: ./gradlew -b build-11.gradle --build-cache assemble
- run: ./gradlew -b build.gradle --build-cache assemble
- run: ./gradlew -q getVersion > build/libs/version.txt
- save_cache:
paths:
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ springBoot {
}

configurations {
libsDirName = 'libs/java17'
libsDirName = 'libs'
}

task componentTest(type: Test) {
Expand Down

0 comments on commit 7401478

Please sign in to comment.