Torpedo is written in Golang. Torpedo uses Ginkgo as the testing framework.
# git clone [email protected]:portworx/torpedo.git
# make
# export DOCKER_HUB_REPO=harshpx
# export DOCKER_HUB_TORPEDO_IMAGE=torpedo
# export DOCKER_HUB_TAG=latest
# make deploy
Make sure you change the environment variables above to match your docker repository.
To build the Torpedo container without deploying: make container
ginkgo build <path_to_test_pkg>
For e.g:
ginkgo build tests/basic
For vendoring, we use glide
To update vendor directory, run make vendor