summaryrefslogtreecommitdiffstats
path: root/crates/driver/src/driver.rs
AgeCommit message (Collapse)Author
2024-04-20Rename directories to match crate namesMatthias Schiffer
2024-04-19driver: rename task_setup() to task_preamble(), improve code styleMatthias Schiffer
Less and consistent indentation by turning the strings into consts.
2024-04-13Replace 'inherit' recipe field with 'parent'Matthias Schiffer
All occurrences of 'inherit' in the code are replaced with 'parent' or 'ancestors'.
2024-04-13driver: template: rename eval() to eval_sh(), eval_raw() to eval()Matthias Schiffer
Make eval() the simple version that doesn't perform any escaping.
2024-04-07driver: implement "soft" SIGINT handlingMatthias Schiffer
On the first SIGINT, spawning new tasks is disabled, but running tasks are allowed to finish. The second SIGINT will terminate the build immediately.
2024-04-06driver: add --keep-going flagMatthias Schiffer
2024-04-06driver: do not kill remaining tasks immediately on failureMatthias Schiffer
2024-04-06driver: refactor CompletionState::task_deps()Matthias Schiffer
2024-04-02Update dependenciesMatthias Schiffer
2023-09-30Update dependenciesMatthias Schiffer
2021-11-17driver: pass force_run flag to runnerMatthias Schiffer
2021-11-16driver: pass set of tasks to force-run to driver instanceMatthias Schiffer
2021-11-06driver: return output from spawn_task() for skipped tasksMatthias Schiffer
Preparation for pinned tasks.
2021-11-01runner: use rootfs passed in Task definitionMatthias Schiffer
With this, the rootfs hash is included in the task's input hash, so now the hash covers all significant inputs except for the runner itself.
2021-11-01runner: allow passing a map of pins with a task submissionMatthias Schiffer
Pins allow to use fixed versions of dependencies. They are stored separately from regular dependency archives.
2021-10-31driver: add toolchain prefix to PATHMatthias Schiffer
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2021-10-30driver: context: change get()/index() argument to TaskRefMatthias Schiffer
With the upcoming changes, we may need to return different TaskDefs depending on the passed arguments.
2021-10-30driver: skip submission of empty tasksMatthias Schiffer
2021-10-30Make TaskOutput input hash optionalMatthias Schiffer
The input hash is used for the summary output only. For empty tasks, we want to skip submitting the task to the runner at all, so there is no input hash.
2021-10-28Pass workdir from driver to runnerMatthias Schiffer
The paths modules of driver and runner do not contain any duplicates anymore. One remaining path that still appears in more places than it should is /build.
2021-10-28Move handling of current directory of task to driverMatthias Schiffer
2021-10-28Pass target directory for download archives from driver to runnerMatthias Schiffer
2021-10-28Split paths module into driver and runner partsMatthias Schiffer
There are still a few remaining paths that are defined in both driver and runner.
2021-10-28Pass full Output path to runnerMatthias Schiffer
Concatenate TASK_DESTDIR with output path in driver instead of runner to reduce amount of shared logic between driver and runner.
2021-10-28Rename executor to driverMatthias Schiffer