open-nomad/e2e/migrations/docker-run.sh

15 lines
537 B
Bash
Raw Normal View History

2017-10-20 19:28:49 +00:00
CURRENT_DIRECTORY=`pwd`
ROOT_DIRECTORY="$( dirname "$(dirname "$CURRENT_DIRECTORY")")"
2017-10-20 18:10:30 +00:00
2017-10-27 20:26:49 +00:00
docker run --privileged -v \
$ROOT_DIRECTORY:/gopkg/src/github.com/hashicorp/nomad \
-it nomad-e2e /bin/bash \
2017-10-24 17:22:48 +00:00
-c "cd gopkg/src/github.com/hashicorp/nomad/e2e/migrations && go test --run \
TestJobMigrations -integration"
docker run --privileged \
-v $ROOT_DIRECTORY:/gopkg/src/github.com/hashicorp/nomad \
2017-10-24 17:22:48 +00:00
-it nomad-e2e /bin/bash \
-c "cd gopkg/src/github.com/hashicorp/nomad/e2e/migrations && go test --run \
TestMigrations_WithACLs -integration"