My current CI setup includes both macOS and Linux VMs on top of Mac Pros with ESXi/vSphere in MacStadium. One of the critical steps in the process is reseting those VMs to snapshot after every build, and spinning them back up to be ready for the next build.
I am trying to find a way to control/communicate with my vSphere API upon build start and end. I found https://github.com/macstadium/vmkite but it seems like it is no longer maintained.
Do you have any suggestions on how to spin up/down VMWare VMs during builds? Any written material you can refer me to?