engine: Make paths relative to the CUE file they're defined in

Fixes #1309

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi
2021-12-23 19:09:26 +01:00
committed by Sam Alba
parent ec69734c51
commit 9c81a155c9
12 changed files with 134 additions and 30 deletions

View File

@@ -5,7 +5,7 @@ import "alpha.dagger.io/europa/dagger/engine"
engine.#Plan & {
inputs: secrets: token: command: {
name: "sops"
args: ["exec-env", "./secrets_sops.yaml", "echo $TestPAT"]
args: ["exec-env", "../../secrets_sops.yaml", "echo $TestPAT"]
}
actions: {