Skip to content

Commit

Permalink
make less noise in the gitlab job output (paritytech#906)
Browse files Browse the repository at this point in the history
  • Loading branch information
radupopa2010 authored Oct 18, 2022
1 parent b9773cc commit 990c120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/push_bench_results.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ do
# send metric with common results
echo 'parity_benchmark_common_result_ns{project="'${CI_PROJECT_NAME}'",benchmark="'${BENCH_NAME}'"} '${BENCH_RESULT}''
echo 'parity_benchmark_common_result_ns{project="'${CI_PROJECT_NAME}'",benchmark="'${BENCH_NAME}'"} '${BENCH_RESULT}'' \
| curl --data-binary @- "https://pushgateway.parity-build.parity.io/metrics/job/${BENCH_NAME}"
| curl --silent --data-binary @- "https://pushgateway.parity-build.parity.io/metrics/job/${BENCH_NAME}"

# send metric with detailed results
echo 'parity_benchmark_specific_result_ns{project="'${CI_PROJECT_NAME}'",benchmark="'${BENCH_NAME}'",commit="'${CI_COMMIT_SHORT_SHA}'",cirunner="'${RUNNER_NAME}'"} '${BENCH_RESULT}''
echo 'parity_benchmark_specific_result_ns{project="'${CI_PROJECT_NAME}'",benchmark="'${BENCH_NAME}'",commit="'${CI_COMMIT_SHORT_SHA}'",cirunner="'${RUNNER_NAME}'"} '${BENCH_RESULT}'' \
| curl --data-binary @- "https://pushgateway.parity-build.parity.io/metrics/job/${BENCH_NAME}"
| curl --silent --data-binary @- "https://pushgateway.parity-build.parity.io/metrics/job/${BENCH_NAME}"


done < "${INPUT}"

0 comments on commit 990c120

Please sign in to comment.