Move universe integration tests to universe dir.
Signed-off-by: Solomon Hykes <solomon@dagger.io>
This commit is contained in:
45
stdlib/universe.bats
Normal file
45
stdlib/universe.bats
Normal 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
|
||||
}
|
Reference in New Issue
Block a user