Skip to content

Commit

Permalink
[DPE-2635] Reintroduce metrics jars (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio authored Oct 19, 2023
1 parent 027d20b commit 8d0fa86
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,14 @@ parts:
echo "DOWNLOAD ERROR: hadoop-aws-${HADOOP_AWS_VERSION}.jar could not be downloaded properly! Exiting...." >&2
exit 1
fi
wget -q "https://github.com/canonical/central-uploader/releases/download/spark-metrics-assembly-3.4-1.0.0/spark-metrics-assembly-3.4-1.0.0.jar"
wget -q "https://github.com/canonical/central-uploader/releases/download/spark-metrics-assembly-3.4-1.0.0/spark-metrics-assembly-3.4-1.0.0.jar.sha512"
echo "`cat spark-metrics-assembly-3.4-1.0.0.jar.sha512`" | sha512sum --check
if [[ $? -ne 0 ]]
then
echo "DOWNLOAD ERROR: spark-metrics-assembly-3.4-1.0.0.jar could not be downloaded properly! Exiting...." >&2
exit 1
fi
stage:
- opt/spark/jars

Expand Down
6 changes: 6 additions & 0 deletions tests/integration/integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,12 @@ echo -e "##################################"

(setup_user_admin_context && test_example_job_in_pod_with_templates && cleanup_user_success) || cleanup_user_failure_in_pod

echo -e "########################################"
echo -e "RUN EXAMPLE JOB WITH PROMETHEUS METRICS"
echo -e "########################################"

(setup_user_admin_context && test_example_job_in_pod_with_metrics && cleanup_user_success) || cleanup_user_failure_in_pod

echo -e "##################################"
echo -e "TEARDOWN TEST POD"
echo -e "##################################"
Expand Down

0 comments on commit 8d0fa86

Please sign in to comment.