diff --git a/Makefile b/Makefile index 3b8d176..b77060e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ default: test test: - @bats test.bats + @docker run -it --rm -v "$(pwd):/workdir" docker:dind apk add bats && bats test.bats dev-install-yq: @wget https://github.com/mikefarah/yq/releases/download/3.3.2/yq_linux_amd64 && \ diff --git a/test.bats b/test.bats index aed1f60..5e8d6b8 100644 --- a/test.bats +++ b/test.bats @@ -9,8 +9,8 @@ } @test "abra server add/rm works" { - ./abra server add swarm.example.com - docker context ls | grep swarm.example.com - ./abra server rm swarm.example.com - ./abra server add swarm-test.autonomic.zone calix 222 + ./abra server add swarm.test.com + docker context ls | grep swarm.test.com + ./abra server rm swarm.test.com + ./abra server add swarm.test.come foobar 12345 }