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.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"
}

View File

@ -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"