github.com/smintz/nomad@v0.8.3/e2e/migrations/docker-run.sh (about)

     1  CURRENT_DIRECTORY=`pwd`
     2  ROOT_DIRECTORY="$( dirname "$(dirname "$CURRENT_DIRECTORY")")"
     3  
     4  docker run --privileged -v \
     5  $ROOT_DIRECTORY:/gopkg/src/github.com/hashicorp/nomad \
     6  -it nomad-e2e /bin/bash \
     7  -c "cd gopkg/src/github.com/hashicorp/nomad/e2e/migrations && go test --run \
     8  TestJobMigrations -integration"
     9  
    10  docker run --privileged \
    11  -v $ROOT_DIRECTORY:/gopkg/src/github.com/hashicorp/nomad \
    12  -it nomad-e2e /bin/bash \
    13  -c "cd gopkg/src/github.com/hashicorp/nomad/e2e/migrations && go test --run \
    14  TestMigrations_WithACLs -integration"