summaryrefslogtreecommitdiffstats
path: root/Cargo.toml
AgeCommit message (Collapse)Author
2020-12-07Fix Licensing issueMatthias Beyer
The licensing issue fixed by this patch is described in the comment in the code. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-03Dependency: tokio: Enable only features we needMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-12-03Update dependency: ascii_table must be 3.0.2 or newerMatthias Beyer
This patch updates the ascii_table dependency with a requirement to be 3.0.2 or newer. This is because ascii_table was licensed as GPLv3 before that version, and got relicensed to MIT in 3.0.2. Because we do not want to depend on a library that is GPLv3, we asked the author to relicense their crate, which is what they did for us. This patch thus ensures that we do not link GPLv3 code. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-26Update dependency: clap: 3.0.0-beta.1 -> 3.0.0-beta.2Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-26Update dependency: env_logger: 0.7 -> 0.8Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-26Update dependency: log: 0.3 -> 0.4Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-26Update dependency: config: 0.9 -> 0.10Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-15Implement error reporting of failed jobsMatthias Beyer
This patch implements error reporting if a container job did not end successfully. It does so by adding an error type `ContainerError`, which is either an error that describes that a container did not exit with success, or an anyhow::Error (that describes an error from the container management code). The algorithm of log-aggregation is now intercepted to catch any exit-state log items. If there is no exit-state from the container (No line with "#BUTIDO:STATE:..."), no error is assumed. Here could be a warning later on. The so aggregated state is then passed up to the orchestrator, which then collects the errors and prints them. If the implementation is correct (which is not tested yet, because this is rather difficult to test), all other containers should continue operation until they are ready, before the errors are handled. The code responsible for this (in the Orchestrator implementation) was adapted to not collect until the first error, but collect everything and then check for errors. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-13Add flag to show script, highlighted automaticallyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-13Add command to show a single job from the databaseMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-11Add subcommand "source download"Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-11Add hash algorithms to verify source integrityMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-09Add more trace outputMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-05Enable serde_json feature on dieselMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-05Downgrade dependency: We need to use uuid = "0.6" for compatibility with dieselMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-05Add dependency serde_json for de/encoding JSONMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-05Add helper function to find git commitMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-05Add model for submit storingMatthias Beyer
This also needs the "uuid" and "chrono" diesel features. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-04Add FileSink as LogSink implementation that writes to a fileMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-04Merge branch 'db' into orchestratorMatthias Beyer
This imports the changes from the "db" branch, because the orchestrator needs the database interface code to be implemented.
2020-11-03Add flag to print output as CSVMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Do the right thing when output is a pipeMatthias Beyer
This changes the display_as_table() function to automatically ignore the headers and not printing a database, but simply the values as a whitespace seperated list when stdout is a pipe. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Add subcommand to show all artifacts from dbMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Add DB interface module for talking to the DB directlyMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Add dependency dieselMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Add tar dependency for unpacking tar archivesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-11-03Add first setup for EndpointManagerMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-29Dependency filter: master -> 0.4.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-29Add indoc!() to have less indention in the CLI help textMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-29Use filters from master branch until released in 0.4.0Matthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-29Implement what-depends subcommandMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-28Add configuration for releases/staging directories, including variable ↵Matthias Beyer
interpolation Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-27Add multiline string testMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-27Implement log module for job log handlingMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-26Add job related typesMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-14Fix whitespace issueMatthias Beyer
2020-10-14Rename: yabos -> butidoMatthias Beyer
Because, after some google-fu, I noticed that "yabos" is indeed not a very good or even decent name for a piece of software. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-13Implement version / constraint parsingMatthias Beyer
2020-10-13Add debug/trace outputMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-12Add progress reporting to repository loading mechanismMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-12Add minimal CLI definitionMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-12Implement first draft of package loading mechanismMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
2020-10-12Initial importMatthias Beyer
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>