2017-10-20 19:28:49 +00:00
|
|
|
CURRENT_DIRECTORY=`pwd`
|
2017-10-25 21:50:47 +00:00
|
|
|
ROOT_DIRECTORY="$( dirname "$(dirname "$CURRENT_DIRECTORY")")"
|
2017-10-20 18:10:30 +00:00
|
|
|
|
2017-10-24 17:22:48 +00:00
|
|
|
testOne= docker run --privileged -v \
|
2017-10-26 18:09:37 +00:00
|
|
|
$ROOT_DIRECTORY:/gopkg/src/github.com/hashicorp/nomad \
|
2017-10-25 19:56:42 +00:00
|
|
|
-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"
|
|
|
|
|
|
|
|
echo $testOne
|
|
|
|
|
|
|
|
docker run --privileged \
|
2017-10-26 18:09:37 +00:00
|
|
|
-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 \
|
2017-10-25 20:12:30 +00:00
|
|
|
TestMigrations_WithACLs -integration"
|