A CFT service which leases a VM for VM testing flow. It communicates with VM leaser service to get host address and port of the VM, lease id etc.
How to run
Requires luci-auth token for authorization for prod endpoint. The service read the token from the file. This token is fetched during docker build step and pasted in a file. For local run make sure the authToken.txt exists. Use luci-auth token to generate the token.
go build to build the binary
Start the server
./vm_provision -port=8010 -log=<log path where logs file should be created>