Repository navigation
Conversation
…ilesystem Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
- type Directory: findup(), findupFile(), findupDirectory() - type Host: findup(), findupFile(), findupDirectory() - Host.directory(): allow escaping workdir Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
…, etc. Signed-off-by: Solomon Hykes <[email protected]>
- honor secret cacheKey when using address api - update TestParseGit unit tests to account for nil fragment Authored-by: Erik Sipsma <[email protected]> Signed-off-by: Erik Sipsma <[email protected]> Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
Signed-off-by: Solomon Hykes <[email protected]>
- cleaner implementation, support more object types
Signed-off-by: Solomon Hykes <[email protected]>
|
FYI @nipuna-perera @rawkode @nadirollo @vmaffet @ChrisChinchilla This is closer to what @nipuna-perera suggested:
It still works with all object types, not just secrets. (thanks to #10770). |
Love where this is headed. I think I can live with just the constructor args being handled but it would be really amazing if it was any function arg. For example, I may have a |
|
No technical limitation, mostly UX: what would be the naming convention for all those different module and function arguments |
Typically the arg names don't collide. Even if they do, dagger can warn right? I'd say keep it simple and substitute any matching args. |
|
Final PR: #11034 |
This is a POC for loading default configuration from
.env, and injecting it into the dagger schema.How it works
.envby findup..envis searched for variables that match the module name. For example, a module namedappwill match all variables starting withapp_orAPP_Example
dagger -m github.com/shykes/x/discord -c servers--> This will list your discord servers, using the token in the
.envfile.See also