When the current code needs the repo checked out to a specific commit it calls clone_repo. The clone_repo call makes sure the repo has been cloned locally, performs a fetch to get all tags and prunes any references no longer on the remote, then finally checks out the requested ref. The validation logic starts with cloning all necessary repos and performing these actions, so after that point, we should be able to just checkout the ref that we need for the given check. This will greatly improve the execution time of the validate job for repos that have had a large number of releases. Change-Id: Ie444c8ef8e91832c38ee69307382ddb5fb8e1b08 Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
13 KiB
13 KiB