diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2025-01-22 10:32:10 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2025-01-22 12:01:15 +0200 |
commit | f2cc61de479448a227136ee278941413560ecffc (patch) | |
tree | 8d9ae58c8cb6cc314888e636ea8b0efd0dad642f /mod/tenant-service.hxx | |
parent | b0515694b711c1ff57c2fc636e066d8639fd6da6 (diff) |
Add support for tenant_service_build_built::build_completed() notification
Diffstat (limited to 'mod/tenant-service.hxx')
-rw-r--r-- | mod/tenant-service.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mod/tenant-service.hxx b/mod/tenant-service.hxx index 5564a56..d909eaa 100644 --- a/mod/tenant-service.hxx +++ b/mod/tenant-service.hxx @@ -127,12 +127,20 @@ namespace brep class tenant_service_build_built: public virtual tenant_service_base { public: - virtual function<optional<string> (const string& tenant_id, - const tenant_service&)> + // The second half of the pair signals whether to call the + // build_completed() notification. + // + virtual function<pair<optional<string>, bool> (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 = 0; + + virtual void + build_completed (const string& tenant_id, + const tenant_service&, + const diag_epilogue& log_writer) const noexcept; }; // This notification is only made on unloaded CI requests created with the |