Hi, We are running windows runners on prem. Since new versions come out frequently we are investigating maybe scripting auto installing the latest runner. I looked through the API to see if there were anything there I could use but didn't find anything. We have the script to do the actual download and install but for complete automation we are missing a few steps:
- Know there is a new version available (parse the log of the latest run? not ideal)
- Get the version # of the latest version (parse the log of the latest run? not ideal)
- Know if the runner is actively "running" or is idle (parse log of latest run? nasty)
- Request runner to shut down cleanly (Maybe OS soft kill flag instead of hard kill)
Anyone know of any ways to accomplish the above (other than all the freaking log parsing)?
Thanks.