aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-03-19 17:31:32 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:27 +0200
commit492c26b60a5e17c5f405e7f5a7ecd922ccafca66 (patch)
tree4d78cb455611f376baab9ca88d9f4bb6204111cd /mod/mod-ci-github.hxx
parent79dc7754bf9842790f4aa4686ae5d9440fd158ff (diff)
Pass diagnostics objects to CI state transition callbacks
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index 433ae3d..713eb4b 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -168,13 +168,25 @@ namespace brep
virtual function<optional<string> (const tenant_service&)>
build_queued (const tenant_service&,
const vector<build>&,
- optional<build_state> initial_state) const override;
+ optional<build_state> initial_state,
+ const fail_mark<server_error>& fail,
+ const basic_mark& error,
+ const basic_mark& warn,
+ const basic_mark& trace) const override;
virtual function<optional<string> (const tenant_service&)>
- build_building (const tenant_service&, const build&) const override;
+ build_building (const tenant_service&, const build&,
+ const fail_mark<server_error>& fail,
+ const basic_mark& error,
+ const basic_mark& warn,
+ const basic_mark& trace) const override;
virtual function<optional<string> (const tenant_service&)>
- build_built (const tenant_service&, const build&) const override;
+ build_built (const tenant_service&, const build&,
+ const fail_mark<server_error>& fail,
+ const basic_mark& error,
+ const basic_mark& warn,
+ const basic_mark& trace) const override;
private:
virtual void