diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-12-02 14:01:53 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-12-02 14:01:53 +0200 |
commit | 56e8ebbb2f9ce02149f248aecebe20fcfd1d8e07 (patch) | |
tree | 836b4728d3645971722aaa4b30ee1d6b84f47013 /mod/mod-ci.hxx | |
parent | 0ae394e9bb425dc8a3b06e7ba722df4f39bcf61d (diff) |
Add tenant id to tenant service notifications and callbacks
Diffstat (limited to 'mod/mod-ci.hxx')
-rw-r--r-- | mod/mod-ci.hxx | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/mod/mod-ci.hxx b/mod/mod-ci.hxx index e4a343c..132b5b0 100644 --- a/mod/mod-ci.hxx +++ b/mod/mod-ci.hxx @@ -71,26 +71,34 @@ namespace brep cli_options () const override {return options::ci::description ();} #ifdef BREP_CI_TENANT_SERVICE - virtual function<optional<string> (const tenant_service&)> - build_queued (const tenant_service&, + virtual function<optional<string> (const string& tenant_id, + const tenant_service&)> + build_queued (const string& tenant_id, + const tenant_service&, const vector<build>&, optional<build_state> initial_state, const build_queued_hints&, const diag_epilogue& log_writer) const noexcept override; - virtual function<optional<string> (const tenant_service&)> - build_building (const tenant_service&, + virtual function<optional<string> (const string& tenant_id, + const tenant_service&)> + build_building (const string& tenant_id, + const tenant_service&, const build&, const diag_epilogue& log_writer) const noexcept override; - virtual function<optional<string> (const tenant_service&)> - build_built (const tenant_service&, + virtual function<optional<string> (const string& tenant_id, + const tenant_service&)> + build_built (const string& tenant_id, + const tenant_service&, const build&, const diag_epilogue& log_writer) const noexcept override; #ifdef BREP_CI_TENANT_SERVICE_UNLOADED - virtual function<optional<string> (const tenant_service&)> - build_unloaded (tenant_service&&, + virtual function<optional<string> (const string& tenant_id, + const tenant_service&)> + build_unloaded (const string& tenant_id, + tenant_service&&, const diag_epilogue& log_writer) const noexcept override; #endif #endif |