summaryrefslogtreecommitdiffstats
path: root/crates/driver/src/context.rs
AgeCommit message (Collapse)Author
2021-11-16driver: parse: add support for + flagMatthias Schiffer
The + flag will be used to force running a task.
2021-11-06driver: context: get list of rootfs-provided tasks from pins.ymlMatthias Schiffer
2021-11-05driver: context: remove separate rootfs_tasksMatthias Schiffer
The rootfs tasks can now just be added to the regular task map.
2021-11-05driver: introduce task priority fieldMatthias Schiffer
Override the version-based task priority ordering.
2021-11-05driver: add support for specialized tasksMatthias Schiffer
Allow skipping a TaskDef unless it matches specific arg values.
2021-11-05driver: replace regex with nom-based parserMatthias Schiffer
For now, the nom-based parser doesn't really reduce complexity, but we will need a more powerful parsing solution anyways when the task YML is replaced with a specialized language.
2021-11-03driver: store multiple recipe with the same ID, select highest version numberMatthias Schiffer
We are using the Debian version number scheme for comparision.
2021-11-03driver: context: clean up error message codeMatthias Schiffer
2021-11-03driver: change task reference string syntax to recipe:task@version/host:targetMatthias Schiffer
2021-11-01context: get rootfs hash from pin mapMatthias Schiffer
2021-11-01driver: read pins from YAML fileMatthias Schiffer
2021-10-31driver: add to e2fsprogs to rootfs tasksMatthias Schiffer
e2fsprogs is provided by our Debian-based rootfs image. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2021-10-30driver: replace dependency cutoff with stub tasksMatthias Schiffer
Instead of having the resolver decide whether a dependency is included in the rootfs, let the context replace the task definition with an empty stub.
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: context: more consistent use specificationMatthias 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-28Rename executor to driverMatthias Schiffer