Tom Chauveau
3c1c0f13f6
Improve dagger input UX (solve #874 )
...
Add new argument `--show-optional` to `dagger input list`.
Now by default, `dagger input list` will only show required input.
To get all inputs (including those with default value), you can use
that new argument.
Test has been updated to support changes.
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-08-17 17:13:30 +02:00
Sam Alba
2e883ae47c
test: implemented test for invalid input
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-07-12 11:10:18 +02:00
Andrea Luzzardi
6e215b194e
use the workspace as the plan module
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Andrea Luzzardi
919d5576d0
plan: default cue module to .
...
Fixes #699
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-07-07 13:12:10 +02:00
Solomon Hykes
d7a805f42b
stdlib: move all imports to alpha.dagger.io
...
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-25 10:31:22 +00:00
Sam Alba
f4afe5d129
test: added test for ignoring .dagger directory in input dir
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-21 15:14:18 +02:00
Andrea Luzzardi
f39a88e644
cue native: environments can reference a module instead of embedding
...
one.
Fixes #631
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-06-16 18:58:56 +02:00
Sam Alba
2bd4679646
fixed ci
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 15:12:08 +02:00
Sam Alba
3d1e37e1ab
test: updates output list tests
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-06-01 14:15:02 +02:00
Sam Alba
44a919e7f8
test: implemented tests for output list
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-31 15:56:58 +02:00
Sam Alba
06ed139080
tests: moved cli input test to new syntax
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 13:45:10 +02:00
Sam Alba
42e91c0a30
test: implemented tests for input list
...
Signed-off-by: Sam Alba <sam.alba@gmail.com>
2021-05-26 12:03:24 +02:00
Andrea Luzzardi
c7c8c5fa8d
tests: fix integration tests
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-05-25 15:17:32 -07:00
Tom Chauveau
13b0debbd0
dagger: unset input tests
...
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
2021-04-30 20:02:29 +02:00
Solomon Hykes
d7391fe948
Rename "deployment" to "environment": tests
...
Signed-off-by: Solomon Hykes <sh.github.6811@hykes.org>
2021-04-27 13:59:27 -07:00
Tony Worm
6488d41603
add cmd/input/list to scan a plan for inputs
...
Signed-off-by: Tony Worm <tony@hofstadter.io>
2021-04-22 17:39:36 -04:00
Andrea Luzzardi
46ab44a69f
input: support file/stdin source for text/json/yaml
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 13:04:52 -07:00
Andrea Luzzardi
6f57ed1b9d
input: support yaml and json inputs
...
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-15 13:04:52 -07:00
Andrea Luzzardi
e7458e9ca2
tests: use bats for integration tests
...
Converted the CLI tests to using bats to get started
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2021-04-14 15:18:34 -07:00