This PR intends to remove the run-promtool-unittests.sh script as CMakeLists.txt handles the promtool execution
(also adding the description to run these tests in Readme.md)
Signed-off-by: Aashish Sharma <aasharma@redhat.com>
"please use a newer prometheus")
endif()
else()
- if(LINUX)
- add_ceph_test(run-promtool-unittests
- {CMAKE_CURRENT_SOURCE_DIR}/run-promtool-unittests.sh)
- endif()
+ message(WARNING "run-promtool-unittests is skipped due to missing promtool")
endif()
set_property(
+++ /dev/null
-#!/usr/bin/env bash
-
-set -ex
-
-SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
-: ${CEPH_ROOT:=$SCRIPTPATH/../../}
-
-sudo docker run --rm \
- -v "$CEPH_ROOT":/ceph \
- --name=promtool \
- --network=host \
- dnanexus/promtool:2.9.2 \
- test rules /ceph/monitoring/prometheus/alerts/test_alerts.yml