summaryrefslogtreecommitdiffstats
path: root/crates/common/src/types.rs
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2021-11-01 23:20:49 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2021-11-01 23:33:45 +0100
commit3123a16b6793a209aa10b4e72b63729ae9a32e99 (patch)
treec22afe45db2e2091fb19e723a046a3fe2ee3c024 /crates/common/src/types.rs
parentf6e4529dba0adbf1736687686a0d70e674830a21 (diff)
downloadrebel-3123a16b6793a209aa10b4e72b63729ae9a32e99.tar
rebel-3123a16b6793a209aa10b4e72b63729ae9a32e99.zip
runner: use rootfs passed in Task definition
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.
Diffstat (limited to 'crates/common/src/types.rs')
-rw-r--r--crates/common/src/types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/common/src/types.rs b/crates/common/src/types.rs
index 336b131..222c79f 100644
--- a/crates/common/src/types.rs
+++ b/crates/common/src/types.rs
@@ -38,6 +38,7 @@ pub struct Task {
pub label: String,
pub command: String,
pub workdir: String,
+ pub rootfs: ArchiveHash,
pub inherit: Vec<LayerHash>,
pub depends: HashSet<Dependency>,
pub outputs: HashMap<String, String>,