Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 784 Bytes

HOW_TO_BUILD.md

File metadata and controls

38 lines (27 loc) · 784 Bytes

Torpedo is written in Golang. Torpedo uses Ginkgo as the testing framework.

To build Torpedo

# git clone [email protected]:portworx/torpedo.git
# make

To deploy Torpedo image in your docker repository

# 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

To build a specific ginkgo test

ginkgo build <path_to_test_pkg>

For e.g:

ginkgo build tests/basic

Vendoring

For vendoring, we use go mod

To update vendor directory, run make vendor-update