aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci.cxx')
-rw-r--r--mod/mod-ci.cxx16
1 files changed, 13 insertions, 3 deletions
diff --git a/mod/mod-ci.cxx b/mod/mod-ci.cxx
index fec603e..94a6882 100644
--- a/mod/mod-ci.cxx
+++ b/mod/mod-ci.cxx
@@ -391,8 +391,14 @@ handle (request& rq, response& rs)
function<optional<string> (const brep::tenant_service&)> brep::ci::
build_queued (const tenant_service&,
const vector<build>& bs,
- optional<build_state> initial_state) const
+ optional<build_state> initial_state,
+ const diag_epilogue& log_writer) const noexcept
{
+ NOTIFICATION_DIAG (log_writer);
+
+ l2 ([&]{trace << "initial_state: "
+ << (initial_state ? to_string (*initial_state) : "none");});
+
return [&bs, initial_state] (const tenant_service& ts)
{
optional<string> r (ts.data);
@@ -424,7 +430,9 @@ build_queued (const tenant_service&,
}
function<optional<string> (const brep::tenant_service&)> brep::ci::
-build_building (const tenant_service&, const build& b) const
+build_building (const tenant_service&,
+ const build& b,
+ const diag_epilogue&) const noexcept
{
return [&b] (const tenant_service& ts)
{
@@ -442,7 +450,9 @@ build_building (const tenant_service&, const build& b) const
}
function<optional<string> (const brep::tenant_service&)> brep::ci::
-build_built (const tenant_service&, const build& b) const
+build_built (const tenant_service&,
+ const build& b,
+ const diag_epilogue&) const noexcept
{
return [&b] (const tenant_service& ts)
{