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.
dagger/pkg/universe.dagger.io/docker/test/docker.bats
Joel Longtine 6db42168e4 Tests!
Signed-off-by: Joel Longtine <joel@dagger.io>
2022-01-28 10:57:30 -07:00

22 lines
454 B
Bash

setup() {
load '../../bats_helpers'
common_setup
}
@test "docker.#Build" {
dagger up ./nested-build-test.cue
# FIXME: this is currently broken
run dagger up ./multi-nested-build-test.cue
assert_failure
}
@test "docker.#Run" {
dagger up ./run-command-test.cue
dagger up ./run-script-test.cue
dagger up ./run-export-file-test.cue
dagger up ./run-export-directory-test.cue
dagger up ./image-config-test.cue
}