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

4 lines
157 B
Bash
Executable File

CURRENT_DIRECTORY=`pwd`
docker run --privileged -v $CURRENT_DIRECTORY:/gopkg/src/migrations -it nomad-e2e /bin/bash -c "cd gopkg/src/migrations && go test"