.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
universe
27 lines
394 B
CUE
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"
|
|
},
|
|
]
|
|
}
|