Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Docker-in-Docker (DinD) capabilities of public runners deactivated.
More info
Open sidebar
VEBER Philippe
codepi
Commits
d29ac3df
Commit
d29ac3df
authored
Jul 08, 2020
by
Philippe Veber
Browse files
update wrt bistro
parent
2edb60ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/time_logger.ml
lib/time_logger.ml
+2
-2
No files found.
lib/time_logger.ml
View file @
d29ac3df
...
...
@@ -22,8 +22,8 @@ let create () = object (self)
method
event
_
t
=
function
|
Logger
.
Workflow_started
(
w
,
_
)
->
String
.
Table
.
set
started
~
key
:
(
Bistro_internals
.
Workflow
.
id
w
)
~
data
:
t
|
Workflow_ended
{
outcome
;
_
}
->
let
id
=
Task_result
.
id
outcome
in
|
Workflow_ended
{
details
;
_
}
->
let
id
=
Execution_trace
.
Run_details
.
id
details
in
let
start_time
=
String
.
Table
.
find_exn
started
id
in
String
.
Table
.
set
table
~
key
:
id
~
data
:
{
elapsed_time
=
t
-.
start_time
;
...
...
Write
Preview
Markdown
is supported
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