Commit 8324acef authored by Ralf Jung's avatar Ralf Jung

add pretty header for build time information

parent ca13b311
......@@ -47,15 +47,16 @@ fi
# maybe submit timing information
if [[ -n "$TIMING_PROJECT" && -n "$TIMING_CONF" ]]; then
echo_color "$BOLDGREEN" "[buildjob] Submitting timing information to coq-speed"
# collect all information into one file
echo_color "$BOLDGREEN" "[buildjob] Build performance information"
find -name "*.v.perf" -print0 | xargs -0 cat > build-times.txt
cat build-times.txt
# check if we have the secret
echo_color "$BOLDGREEN" "[buildjob] Submitting timing information to coq-speed"
if [[ -z "$TIMING_SECRET" ]]; then
echo_color "$BOLDRED" "[buildjob] TIMING_SECRET variable is missing"
exit 1
fi
# collect all information into one file
find -name "*.v.perf" -print0 | xargs -0 cat > build-times.txt
cat build-times.txt
# Submit to webhook endpoint
curl --fail -sS -X POST https://coq-speed.mpi-sws.org/webhook/build_times \
--user "$TIMING_SECRET" \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment