From 1b8694653aefba8657bed706c57b319b8d28312a Mon Sep 17 00:00:00 2001 From: Yugandharkumar Date: Wed, 31 Jan 2024 19:12:40 +0530 Subject: [PATCH] Update clouddriver-oes.yml --- .github/workflows/clouddriver-oes.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/clouddriver-oes.yml b/.github/workflows/clouddriver-oes.yml index 923d5e3868..ca850613f6 100644 --- a/.github/workflows/clouddriver-oes.yml +++ b/.github/workflows/clouddriver-oes.yml @@ -51,24 +51,24 @@ jobs: sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i build.gradle sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i build.gradle - ./gradlew --no-daemon -PenableCrossCompilerPlugin=true clouddriver-web:installDist -x test + ./gradlew --no-daemon -PenableCrossCompilerPlugin=true clouddriver-web:installDist -x test #./gradlew --no-daemon clouddriver-web:installDist -x test - extra_opts='"--add-opens=java.base/sun.net=ALL-UNNAMED" "--add-exports=java.base/sun.net=ALL-UNNAMED" "--add-opens=java.base/java.time=ALL-UNNAMED"' + #extra_opts='"--add-opens=java.base/sun.net=ALL-UNNAMED" "--add-exports=java.base/sun.net=ALL-UNNAMED" "--add-opens=java.base/java.time=ALL-UNNAMED"' extra_opts='"-Djava.security.egd=file:/dev/./urandom" "-Dspring.config.import=optional:/opt/spinnaker/config/" "--add-opens=java.base/sun.net=ALL-UNNAMED" "--add-exports=java.base/sun.net=ALL-UNNAMED" "--add-opens=java.base/java.time=ALL-UNNAMED" "--add-exports=java.base/sun.security.rsa=ALL-UNNAMED" "--add-exports=java.base/sun.security.pkcs=ALL-UNNAMED" "--add-exports=java.base/sun.security.x509=ALL-UNNAMED"' extra_opts_escaped=$(sed 's/[\/&]/\\&/g' <<< "$extra_opts") - #echo $extra_opts_escaped + echo $extra_opts_escaped - sed "s/^\(DEFAULT_JVM_OPTS=\'.*\)\'$/\1 $extra_opts_escaped\'/" -i clouddriver-web/build/install/clouddriver/bin/clouddriver + #sed "s/^\(DEFAULT_JVM_OPTS=\'.*\)\'$/\1 $extra_opts_escaped\'/" -i clouddriver-web/build/install/clouddriver/bin/clouddriver sed "s/^\(DEFAULT_JVM_OPTS\)\s*=\s*'.*'\$/\1='$extra_opts_escaped'/" -i clouddriver-web/build/install/clouddriver/bin/clouddriver - # cat clouddriver-web/build/install/clouddriver/bin/clouddriver + cat clouddriver-web/build/install/clouddriver/bin/clouddriver - name: dockerBuildpush uses: docker/build-push-action@v2