- Standard library is hosted at github.com/blocklayerhq/dagger-stdlib
- When dagger repo is made public, stdlib can be hosted from same repo
- Vendored cue.mod is merged with stdlib at file granularity
- When developing dagger, set DAGGER_DEV_STDLIB to a local stdlib
directory
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
- Temporarily disable export of base.cue as it causes merge errors at
the end of compute
- Fixes for JSON export for Scalar and Lists
- Add YAML export
- Removed BOOL and NUMBER support, using JSON for now
- Re-enabled all export tests
Fixes#36
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
due to using an old snapshot of cue.Value, components relying on
dependent tasks were failing because of non-concretness.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
Exporting base/input/output separately causes merge errors.
For instance, `foo: string | *"default foo"` gets serialized as
`{"foo":"default foo"}`, which will fail to merge if output contains
a different definition of `foo`.
This change temporarily merges the 3 streams together before
serializing.
Fixes#51
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
- add new entries for #70 and #74
- cleaned-up / enriched a little bit compute and exec tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
Rather than checking for failure, we verify that the computable part of
the configuration gets outputted.
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
- tests for load
- fixed a few typos in “copy” tests
- provisional tests for mount
- adding a “concurrency” test
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>
- tests for #Copy
- added a “disable” helper to disable specific tests instead of just commenting them out
- “disable” will print out warnings about disabled tests (hopefully with links to corresponding issues)
- cleanup bug repro that has been subsumed into tests
Signed-off-by: dubo-dubon-duponey <dubodubonduponey+github@pm.me>