Remove path based task lookup

Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
This commit is contained in:
Helder Correia
2022-03-09 11:29:26 -01:00
parent 17c45ea36c
commit 34b6c289dd
7 changed files with 71 additions and 109 deletions

View File

@@ -24,7 +24,7 @@ package dagger
}
// Access client environment variables
env: [string]: *string | #Secret
env: _#clientEnv
// Execute commands in the client
commands: [id=string]: _#clientCommand
@@ -93,6 +93,13 @@ _#clientFilesystemWrite: {
}
}
_#clientEnv: {
$dagger: task: _name: "ClientEnv"
// CUE type defines expected content
[!~"\\$dagger"]: *string | #Secret
}
_#clientCommand: {
$dagger: task: _name: "ClientCommand"