Skip to content

Commit fecc75c

Browse files
committed
Document the KEEP_ARCHIVE env variable
1 parent 89e6b9d commit fecc75c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,11 @@ To build a local version of the agent for development, run the command below. Th
108108
DEV=true EXTERNAL=true SNAPSHOT=true PLATFORMS=linux/amd64 PACKAGES=tar.gz mage -v package
109109
```
110110

111+
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 invocaion.
115+
111116
The resulting package will be produced in the build/distributions directory. The version is controlled by the value in [version.go](version/version.go).
112117
To install the agent extract the package and run the install command:
113118

0 commit comments

Comments
 (0)