1
0
mirror of https://github.com/ohwgiles/laminar.git synced 2024-09-27 22:13:43 +00:00
ohwgiles_laminar/test
Oliver Giles 0384fc9a0a
Replace nodes/tags with contexts
The nodes/tags system has not been particularly successful, it's not as
intuitive as it could be, and in an attempt to be a single feature to address
many use cases, ends up addressing none of them particularly well.

This commit replaces nodes and tags with contexts.

Each job may define which context(s) the job may be associated with.
Laminar will only pop the job off the waiting queue when it can be assigned
to a context. A context defines an integer number of executors, which
represents how many runs can be simultaneously assigned to it. A context
may provide extra environment variables.

Essentially, a context replaces a node, and tags are gone. You just assign
jobs to contexts directly, and you can use a glob expression. This should be
more intuitive.

For grouping jobs in the WebUI, a separate mechanism called "groups" is provided.
2019-12-13 10:42:22 +02:00
..
eventsource.h replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
laminar-fixture.h replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
laminar-functional.cpp refactor: remove run page json type hack 2019-11-01 07:27:34 +02:00
main.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
tempdir.h Replace boost/filesystem with kj/filesystem 2018-09-28 12:43:40 +03:00
unit-conf.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
unit-database.cpp replace websockets with sse and refactor 2019-10-05 20:06:35 +03:00
unit-run.cpp Replace nodes/tags with contexts 2019-12-13 10:42:22 +02:00