Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 883 Bytes

BUILDING.md

File metadata and controls

41 lines (29 loc) · 883 Bytes

Developer Guide

Prerequisites

  • Download VDDK 7.0.2 libraries from here to <local path to velero-plugin-for-vsphere project>/.libs and untar it.

Building the plugin

To build the plugin, run

$ make

To build the container, run

$ make container

This builds an image named as <REGISTRY>/velero-plugin-for-vsphere:<VERSION>. By default, the VERSION, i.e., tag, will be automatically generated in the format of, <git branch name>-<git commit>-<timestamp>. For example, master-ad4388f-11.Mar.2020.23.39.13. To push it to your own repo with your own tag, run

$ make container REGISTRY=<your-repo> VERSION=<your-tag>

or, just push it by running

$ make push REGISTRY=<your-repo> VERSION=<your-tag>

Testing the plugin

To unit test the plugin, run

make test