This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
Files
.dagger
.github
client
cmd
compiler
docs
environment
keychain
solver
state
stdlib
telemetry
tests
cli
compute
core
ops
copy
dockerbuild
exec
export
fetch-container
fetch-git
fetch-http
load
mounts
push-container
subdir
invalid
exec
path
cue.mod
main.cue
valid
stdlib
README.md
cli.bats
core.bats
helpers.bash
ops.bats
package.json
yarn.lock
util
version
website
.gitignore
.golangci.yml
.goreleaser.yml
.markdownlint.yaml
CONTRIBUTING.md
Dockerfile
LICENSE
Makefile
README.md
doc.go
go.mod
go.sum
install.ps1
install.sh
tracing.compose.yaml
dagger/tests/ops/subdir/invalid/path/main.cue
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

27 lines
394 B
CUE

package testing
import "alpha.dagger.io/dagger/op"
TestInvalidPathSubdir: {
string
#up: [
op.#FetchContainer & {
ref: "alpine"
},
op.#Exec & {
args: ["mkdir", "-p", "/tmp/foo"]
},
op.#Exec & {
args: ["sh", "-c", "echo -n world > /tmp/foo/hello"]
},
op.#Subdir & {
dir: "/directorynotfound"
},
op.#Export & {
source: "./hello"
format: "string"
},
]
}