You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Description of the change:** Cache the $HOME/.cache/go-build
**Motivation for the change:** Significantly improve build speed for CI. In tests on my branch, the go and ansible CI tests increased in performance by ~4 minutes
Initial Build (before cache was created): https://travis-ci.org/AlexNPavel/operator-sdk/builds/489678685
Cached Build: https://travis-ci.org/AlexNPavel/operator-sdk/builds/489690596
The way that cache works:
CI checks if the current PR has a cache. If yes, use that.
CI checks if target branch has cache. If yes, use that.
CI checks if default branch (master) has cache. If yes, use that.
This should improve build times for most builds, as all of our dependencies will now be precompiled and only sdk changes and linking will need to be done by CI.
0 commit comments