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
Cache binaries downloaded for packaging locally (#9133) (#9907)
* Add an env variable to keep the download archive
* Only download artifacts which aren't present
* Document the KEEP_ARCHIVE env variable
* Update README.md
* fixup! Only download artifacts which aren't present
---------
(cherry picked from commit 6aed8b1)
Co-authored-by: Mikołaj Świątek <[email protected]>
Co-authored-by: Panos Koutsovasilis <[email protected]>
If you build the same agent package often (when running integration tests, for example),
112
+
you can also set KEEP_ARCHIVE=true in your environment. The packaging step will then
113
+
avoid deleting the binary archive after the package is generated, removing the need to
114
+
re-download binaries on every invocation.
115
+
111
116
The resulting package will be produced in the build/distributions directory. The version is controlled by the value in [version.go](version/version.go).
112
117
To install the agent extract the package and run the install command:
0 commit comments