Closed sshedi closed 3 years ago
@gpiyush-dev We can do something like this in builder:
if hasattr(installer.__version__):
check commit hash - if they differ pull (compare against installer.__version__ & git ls-remote $URL HEAD)
else:
pull from git right away
For doing pip3 install, we need to use:
sudo -u $(who | sed 's/ .*//') pip3 install <installer-url>
Or we can install as sudo, np. This is a trusted pkg
Using internal gerrit for this. Hence, closing it here.
This info will help to check for installer updates in Photon builder.
Signed-off-by: Shreenidhi Shedi sshedi@vmware.com