-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document use case for environment variables CFL_* #132
base: main
Are you sure you want to change the base?
Conversation
@@ -194,6 +194,11 @@ See the [Provided Environment Variables](https://github.com/google/oss-fuzz/blob | |||
page in OSS-Fuzz's `base-builder` image documentation for more details on | |||
environment variables that are available to `build.sh`. | |||
|
|||
If some environment variables needs to be passed from your CI to the build, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remind me please, where is the code that makes this true? I'm not sure this is correct
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, that was not correct cf https://github.com/google/oss-fuzz/blob/master/infra/cifuzz/config_utils.py#L69
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -189,7 +189,7 @@ clusterfuzzlite-coverage: | |||
rules: | |||
- if: $MODE == "coverage" | |||
before_script: | |||
- export CFL_CONTAINER_ID=`cut -c9- < /proc/1/cpuset` | |||
- export CFL_CONTAINER_ID=`docker ps -q -f "label=com.gitlab.gitlab-runner.job.id=$CI_JOB_ID" -f "label=com.gitlab.gitlab-runner.type=build"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And why this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
completes commit e647b6c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@securitykernel @catenacyber do you think this change is safe to make for gitlab users or will break some of them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ping @securitykernel
No description provided.