diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2021-08-02 12:37:37 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-02 12:37:37 -0700 |
commit | c75d1b362f2c21fd0c66cbec2eae6d1195d99142 (patch) | |
tree | 84406551f6f16dbf95d0baf6554bb8e499677e02 /infra/cifuzz/build_fuzzers_entrypoint.py | |
parent | 75aebb4f486c30ee23f6ae5ade38990d74355c17 (diff) | |
download | oss-fuzz-c75d1b362f2c21fd0c66cbec2eae6d1195d99142.tar.gz |
[cifuzz] Create validate method on BaseConfig (#6135)
* [cifuzz] Create validate method on BaseConfig
Use it to validate that either OSS_FUZZ_PROJECT_NAME
or BUILD_INTEGRATION_PATH is set.
Also use it to validate that workspace is set
(rather than duplicate code).
Add tests.
* Use env var hack to bypass valdiation
* fix
* fix
* fmt
* fix
* tmp
* fix
Diffstat (limited to 'infra/cifuzz/build_fuzzers_entrypoint.py')
-rw-r--r-- | infra/cifuzz/build_fuzzers_entrypoint.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/infra/cifuzz/build_fuzzers_entrypoint.py b/infra/cifuzz/build_fuzzers_entrypoint.py index 4acbb3622..c191ca38e 100644 --- a/infra/cifuzz/build_fuzzers_entrypoint.py +++ b/infra/cifuzz/build_fuzzers_entrypoint.py @@ -37,10 +37,6 @@ def build_fuzzers_entrypoint(): # The default return code when an error occurs. returncode = 1 - if not config.workspace: - logging.error('This script needs to be run within Github actions.') - return returncode - if not build_fuzzers.build_fuzzers(config): logging.error('Error building fuzzers for (commit: %s, pr_ref: %s).', config.commit_sha, config.pr_ref) |