aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/ci
Commit message (Collapse)AuthorAge
* Upgrade pytest to fix breakage (#7973)Gravatar jonathanmetzman2022-07-07
|
* Remove jinja2, no longer used (#7452)Gravatar jonathanmetzman2022-03-28
|
* Make CI build experimental jobs. (#7433)Gravatar jonathanmetzman2022-03-24
| | | Fixes https://github.com/google/oss-fuzz/issues/7432
* build(deps): bump pyyaml from 5.4 to 6.0 in /infra/ci (#7439)Gravatar dependabot[bot]2022-03-24
| | | | | | | | | | | | | | | | | Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.4 to 6.0. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.4...6.0) --- updated-dependencies: - dependency-name: pyyaml dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump yapf from 0.30.0 to 0.32.0 in /infra/ci (#7443)Gravatar dependabot[bot]2022-03-24
| | | | | | | | | | | | | | | | | Bumps [yapf](https://github.com/google/yapf) from 0.30.0 to 0.32.0. - [Release notes](https://github.com/google/yapf/releases) - [Changelog](https://github.com/google/yapf/blob/main/CHANGELOG) - [Commits](https://github.com/google/yapf/compare/v0.30.0...v0.32.0) --- updated-dependencies: - dependency-name: yapf dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump pytest-xdist from 2.2.0 to 2.5.0 in /infra/ci (#7448)Gravatar dependabot[bot]2022-03-24
| | | | | | | | | | | | | | | | | Bumps [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) from 2.2.0 to 2.5.0. - [Release notes](https://github.com/pytest-dev/pytest-xdist/releases) - [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest-xdist/compare/v2.2.0...v2.5.0) --- updated-dependencies: - dependency-name: pytest-xdist dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump jinja2 from 2.11.3 to 3.0.3 in /infra/ci (#7450)Gravatar dependabot[bot]2022-03-24
| | | | | | | | | | | | | | | | | Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.3 to 3.0.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.11.3...3.0.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump pyfakefs from 4.1.0 to 4.5.6 in /infra/ci (#7446)Gravatar dependabot[bot]2022-03-24
| | | | | | | | | | | | | | | | | Bumps [pyfakefs](https://github.com/jmcgeheeiv/pyfakefs) from 4.1.0 to 4.5.6. - [Release notes](https://github.com/jmcgeheeiv/pyfakefs/releases) - [Changelog](https://github.com/jmcgeheeiv/pyfakefs/blob/master/CHANGES.md) - [Commits](https://github.com/jmcgeheeiv/pyfakefs/compare/v4.1.0...v4.5.6) --- updated-dependencies: - dependency-name: pyfakefs dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Base builder go experimental (#7240)Gravatar Dongge Liu2022-02-04
| | | | | | | | | * Remove trailing lines * Correct copyright year * Avoid cding & using relative directory. * To include go-codeintelligencetesting to auto-checks.
* [language builders] Get rid of base-builder-new (#6361)Gravatar jonathanmetzman2021-09-01
| | | | Build all C/C++ projects in an image without rust, java, atheris (python), or go.
* Fix go coverage build regression. (#6367)Gravatar Abhishek Arya2021-08-31
| | | | | | | | | * Fix go coverage build regression. * Fix CI List. * Proper fix. * Revert one fix.
* add swift (#6270)Gravatar asraa2021-08-23
| | | Signed-off-by: Asra Ali <asraa@google.com>
* New base builder without lang specific installation + swift base (#5986)Gravatar asraa2021-08-20
| | | Removes unnecessary stuff in base-builder image to create a base-builder-new, and then adds a base-builder-swift on top of this that swift projects can use (without JVM/Go/etc fuzzing).
* Bump jinja2 from 2.10 to 2.11.3 in /infra/ci (#6172)Gravatar dependabot[bot]2021-08-06
| | | | | | | | | | | | | | | | Bumps [jinja2](https://github.com/pallets/jinja) from 2.10 to 2.11.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.10...2.11.3) --- updated-dependencies: - dependency-name: jinja2 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* [cifuzz] Fuzz in cifuzz-base (#6142)Gravatar jonathanmetzman2021-08-05
| | | Fixes: #5926
* [infra][NFC] Use one source of truth for engines, languages etc. (#6163)Gravatar jonathanmetzman2021-08-04
| | | | Do this only where it makes sense. For example, since CIFuzz doesn't support dataflow, maintain a separate source of truth.
* ci: Fix get_changed_files_output (#5944)Gravatar MarcoFalke2021-06-21
| | | | | | | | | * ci: Fix get_changed_files_output * Update project_tests.yml * ci: Fix presubmit checks * ci: Use fetch-depth:0 instead of --unshallow
* [CIFuzz] Allow run_fuzzers to use a preexisting corpus. (#5928)Gravatar jonathanmetzman2021-06-17
| | | | | | | | | | | | | | | * [CIFuzz] Allow run_fuzzers to use a preexisting corpus. Also improve comment in cifuzz-base/Dockerfile. * improve comment * Fix run_fuzzers Add --cache option to helper.py's build_image command which uses the docker image cache when building and use this in ci/build.py. Change build_image_impl's argument no_cache to cache for clarity. Eliminate default argument cache in build_fuzzers_impl since no users use it.
* [infra] Verify JVM coverage builds in the CI (#5752)Gravatar Fabian Meumertzheim2021-05-12
|
* [infra] Set OSS_FUZZ_CI=1 in CI so build scripts can know (#5731)Gravatar jonathanmetzman2021-05-07
| | | | | This will help bitcoin use CI to verify the build works, because the last step is trivial (so testing not really needed) but will fill up the disk.
* Bump pyyaml from 5.3.1 to 5.4 in /infra/ci (#5511)Gravatar dependabot[bot]2021-03-25
| | | | | | | | | | Bumps [pyyaml](https://github.com/yaml/pyyaml) from 5.3.1 to 5.4. - [Release notes](https://github.com/yaml/pyyaml/releases) - [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES) - [Commits](https://github.com/yaml/pyyaml/compare/5.3.1...5.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Rust coverage report (for Suricata) (#4697)Gravatar Catena cyber2021-03-08
| | | | | * Rust coverage test * Workaround to get rust coverage for Suricata
* [infra] Improve test speed (#5118)Gravatar jonathanmetzman2021-02-05
| | | | | | | | | | | Make unittests take 20 seconds to run instead of 35. Make integration tests take 50 seconds to run instead of 6 minutes. Make CI take 6 minutes instead of 12 minutes. 1. Allow running tests in parallel. Locally this takes the time for running all tests (including integration tests) from 6 minutes to ~50 seconds. We don't do parallel by default since it doesn't really save any time unless running integration tests on my machine (probably due to overhead of starting ~70 processes). This also speeds up CI from about 12 minutes to 6 minutes (since github actions has 2 cores per machine). 2. Fix how we run tests. I'm not exactly sure why, but the method we used for discovering tests, recursing through every directory and passing to unittest caused the build/infra tests to execute twice. Fixing this makes running unittests take ~20 seconds instead of ~35. This change also uses pytest for running tests since it's easy to use it to run tests in parallel. This change was made possible by #5113
* Simplify changed files logic. (#5056)Gravatar Abhishek Arya2021-01-27
|
* Fix get_changed_files in infra/ci. (#5055)Gravatar Abhishek Arya2021-01-28
| | | Fixes https://github.com/google/oss-fuzz/issues/5022
* Build modified projects as well when infra is modified. (#5019)Gravatar Abhishek Arya2021-01-20
|
* Golang project uses compile_go_fuzzer script (#4685)Gravatar Catena cyber2020-11-21
| | | | | | | | | | | | | * Golang project uses compile_go_fuzzer script * Kubernetes project uses compile_go_fuzzer script * Adds golang to ci covergae builds * fixup * Golang coverage with go modules cf coredns project
* Build base-images before building projects in CI (#4679)Gravatar jonathanmetzman2020-11-20
| | | | | | | | | | This will help us catch breaking changes to the base-images. Unfortunately caching seems to fail here when I expect it to help. For example, base-builder doesn't build from cache when I do it locally. This means that every other image I try to build doesn't use the cache. That means that base-clang would take forever to rebuild. So to compromise, I don't rebuild base-clang here. This means that this PR won't catch breaking changes to base-image or base-clang that break in base-builder. But it will catch breaking changes to base-image that break in base-runner and it will catch breaking changes to base-runner and base-builder.
* [CI] Build a canary project on infra/ changes. (#4675)Gravatar jonathanmetzman2020-11-20
| | | | | | | | [CI] Build a canary project on infra/ changes. Build a specific project, sckms, that does msan, ubsan, asan, i386 builds quickly, when infra/ code is changed. This can let us know when infra/ changes break proper functioning of OSS-Fuzz. For this to work more thoroughly we also need to rebuild images.
* [CI] Don't do coverage builds for engineless fuzzers. (#4374)Gravatar jonathanmetzman2020-08-26
| | | | | | | | | | | Coverage builds need to be special cased since they aren't specified in sanitizers. Instead they are done for all C/C++ projects that use libFuzzer. Move all of this special casing to `should_build_coverage` and call that from `should_build` so we have one place where we decide this. Add tests as well. Fixes: https://github.com/google/oss-fuzz/issues/4371
* CI fix. (#4139)Gravatar Abhishek Arya2020-07-15
|
* Skip coverage build in CI for non C/C++ projects. (#4075)Gravatar Abhishek Arya2020-07-06
| | | | | | | * Skip coverage build in CI for non C/C++ projects. Fixes https://github.com/google/oss-fuzz/issues/4074 * Test wasmtime.
* [util-linux] cover mnt_table_parse_stream (#4032)Gravatar Evgeny Vereshchagin2020-06-25
| | | | | | | | | * [util-linux] cover mnt_table_parse_stream Waiting for https://github.com/karelzak/util-linux/pull/1068 * temporarily point OSS-Fuzz to evverx/util-linux * make sure it can be built with sanitizer=coverage
* Add Github Actions CI. (#3971)Gravatar Abhishek Arya2020-06-12