From 58dd2ab1d3a0c392f8b66294c32d7547331aad6e Mon Sep 17 00:00:00 2001 From: Joel Longtine Date: Tue, 8 Mar 2022 09:56:39 -0700 Subject: [PATCH] outputs -> client Signed-off-by: Joel Longtine --- tests/plan.bats | 3 ++- tests/plan/do/do_not_run_unspecified_tasks.cue | 6 ++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/plan.bats b/tests/plan.bats index 8c4f5d2c..44a3cddf 100644 --- a/tests/plan.bats +++ b/tests/plan.bats @@ -27,7 +27,8 @@ setup() { assert_output --partial "actions.test.two" assert_output --partial "actions.test.three" assert_output --partial "actions.test.one.export" - assert_output --partial "outputs.files.test" + assert_output --partial 'client.filesystem."./test_do".write' + refute_output --partial "actions.notMe" refute_output --partial "actions.notMe" } diff --git a/tests/plan/do/do_not_run_unspecified_tasks.cue b/tests/plan/do/do_not_run_unspecified_tasks.cue index bb43b5ae..549ae046 100644 --- a/tests/plan/do/do_not_run_unspecified_tasks.cue +++ b/tests/plan/do/do_not_run_unspecified_tasks.cue @@ -8,10 +8,8 @@ import ( ) dagger.#Plan & { - outputs: files: test: { - dest: "./test_do" - contents: actions.test.one.export.files["/output.txt"] - } + client: filesystem: "./test_do": write: contents: actions.test.one.export.files["/output.txt"] + client: filesystem: "./dependent_do": write: contents: actions.dependent.one.export.files["/output.txt"] outputs: files: dependent: { dest: "./dependent_do"