Merge pull request #1729 from helderco/remove-path-lookup

Remove path based task lookup
This commit is contained in:
Andrea Luzzardi
2022-03-09 15:17:55 -08:00
committed by GitHub
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"