Move universe integration tests to universe dir.

Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
Solomon Hykes
2021-06-09 19:08:03 +00:00
parent b0d571562d
commit fcbdfe178a
37 changed files with 124 additions and 91 deletions

45
stdlib/universe.bats Normal file
View File

@@ -0,0 +1,45 @@
setup() {
load 'node_modules/bats-assert/load'
}
function dagger() {
"${DAGGER_BINARY:-$(which dagger)}" "$@"
}
@test "netlify" {
dagger -e netlify up
}
@test "aws: ecr" {
dagger -e aws-ecr up
}
@test "aws: s3" {
dagger -e aws-s3 up
}
@test "docker run: local" {
dagger -e docker-run-local up
}
@test "docker run: ssh" {
dagger -e docker-run-ssh up
}
@test "docker run: ssh with passphrase" {
dagger -e docker-run-ssh-passphrase up
}
@test "docker run: ssh with wrong passphrase" {
run dagger -e docker-run-ssh-wrong-passphrase up
assert_failure
}
@test "google cloud: gcr" {
dagger -e google-gcr up
}
@test "google cloud: gke" {
dagger -e google-gke up
}