Andrea Luzzardi
82cbea8324
engine: exec: support uid/gid/mask for secret mounts
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 16:51:46 +01:00
Andrea Luzzardi
e7d8f17884
exec: mount: fs: support readonly mounts
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:39:14 +01:00
Andrea Luzzardi
e5de27f098
engine: exec: support mount concurrency
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:17:24 +01:00
Andrea Luzzardi
12be9a7dd8
WIP: engine.#Exec
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-17 15:13:13 +01:00
Joel Longtine
45de510ce0
Clean up old code
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Joel Longtine
380c15f5f4
engine.#WriteFile
...
Signed-off-by: Joel Longtine <joel@dagger.io>
2021-12-15 10:27:37 -08:00
Richard Jones
e65b3cfa4a
refactored to handle errors better
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
6ca81dacf9
refactored log handling
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Richard Jones
2569e76eeb
implemented services unix and npipe complete with test
...
Signed-off-by: Richard Jones <richard@dagger.io>
2021-12-15 10:22:38 -07:00
Andrea Luzzardi
dd2fef8a2d
engine.#ReadFile
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-15 14:35:08 +01:00
Andrea Luzzardi
85a4825237
engine: Pull: fix vertex name in logs
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-14 15:41:44 +01:00
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
1d71f77151
engine: fix hidden field path
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-12-09 14:15:19 -05: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
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