outputs -> client

Signed-off-by: Joel Longtine <joel@dagger.io>
This commit is contained in:
Joel Longtine 2022-03-08 09:56:39 -07:00
parent c9f9fd66d7
commit 58dd2ab1d3
2 changed files with 4 additions and 5 deletions

View File

@ -27,7 +27,8 @@ setup() {
assert_output --partial "actions.test.two" assert_output --partial "actions.test.two"
assert_output --partial "actions.test.three" assert_output --partial "actions.test.three"
assert_output --partial "actions.test.one.export" 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" refute_output --partial "actions.notMe"
} }

View File

@ -8,10 +8,8 @@ import (
) )
dagger.#Plan & { dagger.#Plan & {
outputs: files: test: { client: filesystem: "./test_do": write: contents: actions.test.one.export.files["/output.txt"]
dest: "./test_do" client: filesystem: "./dependent_do": write: contents: actions.dependent.one.export.files["/output.txt"]
contents: actions.test.one.export.files["/output.txt"]
}
outputs: files: dependent: { outputs: files: dependent: {
dest: "./dependent_do" dest: "./dependent_do"