aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.cxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-03-19 17:31:32 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-06-05 09:12:46 +0200
commit82d71e17ce34fd6f2dae0af21edb935f50ed6416 (patch)
tree610b82bba7901b702ae89ce78fbf06d923b13482 /mod/mod-ci-github.cxx
parent3354150fe59d3d7b28193ff1e39d403f6fdf5130 (diff)
Pass diagnostics objects to CI state transition callbacks
Diffstat (limited to 'mod/mod-ci-github.cxx')
-rw-r--r--mod/mod-ci-github.cxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx
index 38f9cd7..5e041bb 100644
--- a/mod/mod-ci-github.cxx
+++ b/mod/mod-ci-github.cxx
@@ -855,7 +855,11 @@ namespace brep
function<optional<string> (const brep::tenant_service&)> brep::ci_github::
build_queued (const tenant_service& ts,
const vector<build>& bs,
- optional<build_state> /* initial_state */) const
+ optional<build_state> /* initial_state */,
+ const fail_mark<server_error>& fail,
+ const basic_mark& error,
+ const basic_mark& warn,
+ const basic_mark& trace) const
{
HANDLER_DIAG;
@@ -964,7 +968,11 @@ namespace brep
}
function<optional<string> (const brep::tenant_service&)> brep::ci_github::
- build_building (const tenant_service&, const build&) const
+ build_building (const tenant_service&, const build&,
+ const fail_mark<server_error>&,
+ const basic_mark&,
+ const basic_mark&,
+ const basic_mark&) const
{
// return [&b] (const tenant_service& ts)
// {
@@ -984,7 +992,11 @@ namespace brep
}
function<optional<string> (const brep::tenant_service&)> brep::ci_github::
- build_built (const tenant_service&, const build&) const
+ build_built (const tenant_service&, const build&,
+ const fail_mark<server_error>&,
+ const basic_mark&,
+ const basic_mark&,
+ const basic_mark&) const
{
// return [&b] (const tenant_service& ts)
// {