* add support for --input-file in dagger compute

* secrets now supports bytes
* error reporting for unhandled content data types in WriteFile

Signed-off-by: Frederick F. Kautz IV <fkautz@alumni.cmu.edu>
This commit is contained in:
Frederick F. Kautz IV
2021-04-08 23:52:17 -07:00
parent 308ade0a79
commit 0458c0a838
6 changed files with 77 additions and 4 deletions

View File

@@ -15,4 +15,6 @@ import (
// Secret value
// FIXME: currently aliased as a string to mark secrets
// this requires proper support.
#Secret: string
#Secret: {
string | bytes
}

View File

@@ -87,7 +87,7 @@ package op
#WriteFile: {
do: "write-file"
content: string
content: string | bytes
dest: string
mode: int | *0o644
}