Andrea Luzzardi
0768ac9f3f
compiler: FillFields helper, cleaned up repeated code
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
ff6c7d1c1f
engine.#Pull implementation
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-13 16:13:49 +01:00
Andrea Luzzardi
2b22d1c981
plan: improve log messages
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:17:19 -05:00
Andrea Luzzardi
1d71f77151
engine: fix hidden field path
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:15:19 -05:00
Richard Jones
83b10d4031
refactored finding of cue.mod parent
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 15:28:33 -07:00
Richard Jones
5c9965f10a
passings args to cue loader to mimick cue eval
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-08 15:28:33 -07:00
Andrea Luzzardi
a58ca16c3d
plancontext cleanup
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:20:08 -05:00
Andrea Luzzardi
6aa4f6b8b3
secretfile: data -> plaintext
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-07 14:02:17 -05:00
Andrea Luzzardi
5b7b1cab79
Migrate dagger.#Secret and dagger.#Stream to new format
...
- Refactored to keep every transformation of built-in types (e.g. FS,
Secret, etc) to/from CUE in the same place (plancontext)
- dagger.#Service and dagger.#Secret are now following the new FS-like format
(e.g. `_service: id: string`)
- Backward compatibility
- dagger.#Stream is now an alias for dagger.#Service
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-01 17:33:35 -08:00
Andrea Luzzardi
0aea10d23e
dagger.#FS support
...
- Implement dagger.#FS support
- Migrate `context.imports` to dagger.#FS
- Backward compat: dagger.#FS can be passed in lieu of a
dagger.#Artifact
- For instance, an import (`dagger.#FS`) can be passed to the current
`yarn.#Package` implementation
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-30 12:58:50 -08:00
Andrea Luzzardi
81ec746d2c
core: component -> task
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:58:24 -08:00
Andrea Luzzardi
ef407c787a
runtime: context: support secret files
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
db55cf7583
runtime: context: support secret environment variables
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
131551f9cd
runtime: support for context imports
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
608f254449
runtime: support legacy Pipelines in new execution engine
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00
Andrea Luzzardi
2a4db167e4
runtime: new execution engine
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-11-24 16:51:52 -08:00