Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
ci
Commits
8324acef
Commit
8324acef
authored
Jun 21, 2018
by
Ralf Jung
Browse files
add pretty header for build time information
parent
ca13b311
Changes
1
Hide whitespace changes
Inline
Side-by-side
buildjob
View file @
8324acef
...
...
@@ -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
"
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment