forked from pflooky/data-caterer
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to Spark 3.5.1, use cloudnativek8s Spark base image, resolve …
…vulnerabilities, fix bug in index.js with missing import, add in Java options to run with Java 17
- Loading branch information
Showing
12 changed files
with
76 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
groupId=io.github.data-catering | ||
version=0.10.1 | ||
version=0.10.2 | ||
|
||
scalaVersion=2.12 | ||
scalaSpecificVersion=2.12.15 | ||
sparkVersion=3.5.0 | ||
sparkVersion=3.5.1 | ||
sparkMajorVersion=3.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
version=$(grep version gradle.properties | cut -d= -f2) | ||
sparkVersion=$(grep sparkVersion gradle.properties | cut -d= -f2) | ||
|
||
echo "Creating API jar" | ||
gradle clean :api:shadowJar | ||
|
||
echo "Creating data caterer jar, version=$version" | ||
gradle build shadowJar -x test | ||
build_app=$? | ||
if [[ "$build_app" -ne 0 ]] ; then | ||
echo "Failed to build app, exiting" | ||
exit 1 | ||
fi | ||
|
||
docker build \ | ||
--build-arg "APP_VERSION=$version" \ | ||
--build-arg "SPARK_VERSION=$sparkVersion" \ | ||
-t datacatering/data-caterer-basic:$version . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "Checking for vulnerabilities in JAR" | ||
|
||
trivy rootfs ../../app/build/libs | ||
|
||
#gradle dependencyInsight --dependency |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters