Skip to content

Commit 2d5f7ae

Browse files
committed
doc: use case for CFL_ env variables
1 parent 884713a commit 2d5f7ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/build_integration.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,11 @@ See the [Provided Environment Variables](https://github.com/google/oss-fuzz/blob
194194
page in OSS-Fuzz's `base-builder` image documentation for more details on
195195
environment variables that are available to `build.sh`.
196196

197+
If some environment variables needs to be passed from your CI to the build,
198+
(such as `GOPROXY` for instance), any environment prefixed by `CFL_` can be used.
199+
The first step is `export CFL_MYENV=$MYENV` in the CI script.
200+
The second step is `export MYENV=$CFL_MYENV` in build.sh
201+
197202
## Fuzzer execution environment
198203

199204
You should not make any assumptions on the availability of dependent packages

0 commit comments

Comments
 (0)