mirror of
https://github.com/ohwgiles/laminar.git
synced 2026-10-23 20:08:44 +00:00
resolves #82: implement /latest endpoint
for run page on webui and archive (via symlink)
This commit is contained in:
@@ -865,6 +865,8 @@ void Laminar::runFinished(Run * r) {
|
||||
fsHome->remove(d);
|
||||
}
|
||||
|
||||
fsHome->symlink(kj::Path{"archive", r->name, "latest"}, std::to_string(r->build), kj::WriteMode::CREATE|kj::WriteMode::MODIFY);
|
||||
|
||||
// in case we freed up an executor, check the queue
|
||||
assignNewJobs();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user