hotg-ai / rune

Rune provides containers to encapsulate and deploy edgeML pipelines and applications
Apache License 2.0
133 stars 15 forks source link

The "rune build" command completely ignores the "image" field #375

Open Michael-F-Bryan opened 2 years ago

Michael-F-Bryan commented 2 years ago

I tried using this Runefile, expecting rune build to give me a compile error:

image: something-else
version: 1
pipeline: {}

But it worked anyway:

$ rune version --verbose
rune 0.10.0 (c414320 2021-10-25)
binary: rune
rune-version: 0.10.0
commit-hash: c4143204798dfecd18f0b9d3565aed9beb445092
commit-date: 2021-10-25T15:51:34+00:00
host: x86_64-unknown-linux-gnu
rustc-version: 1.57.0-nightly
rustc-commit-hash: e1e9319d93aea755c444c8f8ff863b0936d7a4b6
rustc-commit-date: 2021-10-14

$ rune build simple.yml 
   Compiling lesson-1 v0.0.0 (/home/gitpod/.cache/runes/lesson-1)
    Finished release [optimized] target(s) in 0.18s

$ rune run lesson-1.rune 
$ echo $?
0