Age | Commit message (Collapse) | Author |
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This is needed because we need to refer to the submit when creating a
Job entry in the database.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This renames the method, because this is way more descriptive of what
the method actually does.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This patch moves the log-setup and -collecting to the endpoint
implementation, that takes care of running the job.
This is required because here we aggregate the log and here we know all
information that need to be written to the database, so it seems natural
to move the log-collecting code (and everything else related to the
database entry for the job) to this position in the code.
This implies that the "job" is written to the database _after_ it was
run.
This is due to the fact that we cannot write the job entry before we
have the logs.
We _have to_ collect the logs in memory (we can also write to a
log-dump-file, of course), but we cannot create the job object in the
database and then append the logs to it.
This might change in the future, but for now that's the way it is done.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
They are already registered when the result-TARs are unpacked.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This is another temporary fix to get everything working.
The issue was, that the receivers were immediately dropped and did not
life long enough so that the sending side could actually write to the
channels.
This keeps the receivers alive.
The real fix is to actually write the logs to some destination.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This patch adds the first implementation of the orchestration routine.
This implementation does _NOT_ yet include any database stuff or any
output manouvering, such as progress reporting to CLI or log routing.
It is just the bare minimal to get a working POC.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
This patch removes the `EndpointManager` type,
which did nothing except wrap the `ConfiguredEndpoint` and make things way
more complicated than they need to be.
Now, the `EndpointScheduler` holds the `ConfiguredEndpoint`s directly in
a `Arc<RwLock<_>>` and manages them without the additional layer of
complexity.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
|
|
|