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/stdlib/universe.bats
Solomon Hykes fcbdfe178a Move universe integration tests to universe dir.
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2021-06-09 20:28:44 +00:00

46 lines
685 B
Bash

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
}