Skip to content

Commit

Permalink
[DPE-5679] Downgrade jmx_exported lib to avoid conflict with spark-me…
Browse files Browse the repository at this point in the history
…trics (#119)
  • Loading branch information
welpaolo authored and rgildein committed Nov 19, 2024
1 parent 917912b commit 5e61e26
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
docker-archive:${{ steps.artifact.outputs.base_artifact_name }} \
docker-daemon:trivy/charmed-spark:test
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
uses: aquasecurity/trivy-action@0.28.0
with:
image-ref: 'trivy/charmed-spark:test'
format: 'sarif'
Expand All @@ -47,4 +47,4 @@ jobs:
uses: github/codeql-action/upload-sarif@v2
if: always()
with:
sarif_file: 'trivy-results.sarif'
sarif_file: 'trivy-results.sarif'
2 changes: 2 additions & 0 deletions images/charmed-spark/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ parts:
ICEBERG_VERSION='1.4.3'
SPARK_METRICS_VERSION='3.4-1.0.1'
SERVLET_FILTERS_VERSION='0.0.1'
PROMETHEUS_JMX_EXPORTER_VERSION='0.15.0'
SHA1SUM_ICEBERG_JAR='48d553e4e5496f731b9e0e6adb5bc0fd040cb0df'
SHA512SUM_SPARK_METRICS_ASSEMBLY_JAR='493cf77133cbf03e96fb848121ce10ac16e6f907f595df637649b98b42118e57d6b6e1bdab71bfee3394eb369637c5b4f6b05dd8fa30a1ff6899e74069c972ce'
SHA512SUM_SPARK_SERVLET_FILTER_JAR='ffeb809d58ef0151d513b09d4c2bfd5cc064b0b888ca45899687aed2f42bcb1ce9834be9709290dd70bd9df84049f02cbbff6c2d5ec3c136c278c93f167c8096'
SHA1SUM_PROMETHEUS_JMX_EXPORTER='a1061f29088ac2709da076a97736de575a872538'
JARS=(
"https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}/LIB_VERSION/iceberg-spark-runtime-${ICEBERG_SPARK_RUNTIME_VERSION}-LIB_VERSION.jar $ICEBERG_VERSION sha1sum $SHA1SUM_ICEBERG_JAR"
Expand Down

0 comments on commit 5e61e26

Please sign in to comment.