aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra/build
Commit message (Collapse)AuthorAge
* Rust coverage report (for Suricata) (#4697)Gravatar Catena cyber2021-03-08
| | | | | * Rust coverage test * Workaround to get rust coverage for Suricata
* Replace terms that are uninclusive. (#5045)Gravatar jonathanmetzman2021-01-25
|
* Add a missing requirement for CI. (#5036)Gravatar Oliver Chang2021-01-22
|
* [pylint] Enable no-member check (#5034)Gravatar jonathanmetzman2021-01-21
|
* Fix build functions tests when invoked from unittest.TestSuite. (#5027)Gravatar Oliver Chang2021-01-21
|
* s/test_all/test_all.py for google cloud build. (#4783)Gravatar Abhishek Arya2020-12-04
| | | Fixes https://github.com/google/oss-fuzz/issues/4781
* Fix requirements.txt for GCB functions. (#4670)Gravatar Oliver Chang2020-11-20
|
* [infra] Allow coverage for Go project on GCB (#2817, #2714). (#4668)Gravatar Max Moroz2020-11-19
|
* Fix incorrect OSS-Fuzz build project deletion. (#4623)Gravatar Oliver Chang2020-11-10
|
* even more fixes. (#4297)Gravatar Oliver Chang2020-08-11
|
* Fix typo in project_sync.py (#4296)Gravatar Oliver Chang2020-08-11
| | | | | | | * Fix typo in project_sync.py * line length * format
* Split up builds status function. (#4261)Gravatar Oliver Chang2020-08-06
| | | | | - Split into separate invocations for fuzzing, coverage, and badges. - Also use threads to speed things up.
* More build infra cleanup. (#4252)Gravatar Oliver Chang2020-08-06
| | | | - Deleted unused code. - Consolidate some modules.
* Clean up build infra. (#4251)Gravatar Oliver Chang2020-08-05
| | | | | | - Remove gcb folder. Move the files that we still need into the build/functions dir. - Remove badge_images. They are now stored on GCS. - Remove jenins configs.
* Skipping fuzzing build when project is disabled (#4239)Gravatar kabeer272020-07-31
| | | | | * Skipping fuzzing build when project is disabled * Removing skip build and making it better
* Fix a typo from previous MSan function addition. (#4241)Gravatar Oliver Chang2020-07-31
|
* Adding msan builder to gcp (#4234)Gravatar kabeer272020-07-31
| | | | | | | | | * Adding msan builder to gcp * Formatting changes * Refactoring and reducing redundancy * Moving msan builder entry point into base_images
* Create individual schedulers for requesting coverage builds. (#4237)Gravatar Oliver Chang2020-07-31
| | | | The single function for requesting all coverage builds was timing out.
* Display historical logs ui change (#4197)Gravatar kabeer272020-07-30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Initial UI Change to display historical logs * Minor changes * More formatting changes * Adding license header * Changes, take a look Oliver * Changes for handling empty build history/ no last successful build * Reverting the logs folder path from /logs/log to /log * Merged to latest master and other chnages to template * Changing backend to reflect build history * Fixing order of query * Removed last build status * More changes * Adding unit tests and fixes found by unit testing * Fixing lint errors * Added more unit tests and fixed typos and formatting * Fixing comment caps * Minor formatting issue Co-authored-by: Oliver Chang <oliverchang@users.noreply.github.com>
* Fix build status update. (#4224)Gravatar Oliver Chang2020-07-30
| | | | | Check for valid statuses rather than only excluding the WORKING status. There are other failure statuses that need to be accounted for (e.g. EXPIRED).
* Add missing dash to build tag. (#4221)Gravatar Oliver Chang2020-07-30
|
* build: Add queueTtl argument to one more place. (#4219)Gravatar Oliver Chang2020-07-30
|
* Fixing missing dash in datastore query (#4213)Gravatar kabeer272020-07-29
|
* Many build infra fixes. (#4209)Gravatar Oliver Chang2020-07-29
| | | | | | | | | - Remove base image project argument from deploy.sh. Deploy all functions to the main oss-fuzz image. - Reduce max instances of functions to 1 to avoid rate limiting issues. - Fix missing ndb context initialization in request_build.py - Fix incorrect tags in BuildHistory entities. "-" was doubled. - Fix base build deployment with incorrect schedule variable. - Add scripts for requesting builds locally.
* build: Project sync fixes. (#4194)Gravatar Oliver Chang2020-07-27
| | | | | - Add some more logging. - Use GitHub client ID/secret rather than personal access token. - Fix function deploy wrt "--project" argument.
* [infra] Rename msan-builder to msan-libs-builder (#3388). (#4190)Gravatar Max Moroz2020-07-24
| | | | | | | * [infra] Rename msan-builder to msan-libs-builder and add (broken) dfsan-libs-builder (#3388). * remove dfsan-libs-builder for now * presubmit format
* Initial integration of builds_status (#4175)Gravatar kabeer272020-07-23
|
* Adding build coverage cloud function, and refactoring test_utils.py (#4151)Gravatar kabeer272020-07-20
| | | | | | | | | | | | | * Adding build coverage cloud function, and refactoring test_utils.py * Multiple changes will add a comment. * Catching sys.exit() exception and removing useless wrapper build_steps function * Comment update * Comment update * Comment formatting
* Refactoring and request build cloud function (#4120)Gravatar kabeer272020-07-16
| | | Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* [Sync cloud function] Cache file contents (#4104)Gravatar kabeer272020-07-13
| | | | | | | | | | | | | * Storing contents of project.yaml and dockerfile, to reduce api calls * Fixing comment indentation * Requested changes * Minor changes * Importing projectmetadata Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Renaming schedule variable to builds_per_day for new feature (#4091)Gravatar kabeer272020-07-08
| | | | | | | * Renaming schedule variable to builds_per_day for new feature * Minor formatting change Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Base image builder (#4080)Gravatar kabeer272020-07-08
| | | | | | | | | | | | | | | | | | | * Base image builder * Forgot to run formatter * Fixing lint issues and removing unused imports * Adding missing newline * Refactoring code * Fixing linting errors and changing name of cloud function entry * Adding license header to build_base_images * Changed logging and print_function Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Resetting emulators (#4079)Gravatar kabeer272020-07-08
| | | | | | | | | * Resetting datastore emulator * Resetting datastore emulator * setUp class Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Feature addition: Individual schedulers for projects (#4066)Gravatar kabeer272020-07-06
| | | | | | | | | | This PR, integrates the new feature that allows users to specify their own schedules via project.yaml. Parameter 'schedule : value' will dictate how many times a day should the project be built, i.e if value = 2 Then project will be built twice a day starting at 6 and interval 24/2 = 12 so 6:00 and 18:00 if parameter is unavailable DEFAULT_SCHEDULE = '0 6 * * *' i.e 6:00 will be used. The cloud functions creates individual scheduler jobs for each project, with the name project_name + '-scheduler', and subscribes it to the topic 'request_build' with payload message 'project_name' which will be used by the next cloud function to request build for this project. Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Added deploy file and restructured cloud function directory (#4057)Gravatar kabeer272020-07-01
| | | | | | | | | * Adding deploy.sh and restructuring directory * Integrating review changes * Passed project id as an argument to each command Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Renaming infra/build/functions files (#4031)Gravatar kabeer272020-06-29
| | | | | | Renamed main.py to sync.py and test_sync.py to sync_test.py Co-authored-by: Kabeer Seth <kabeerseth@google.com>
* Cloud function for syncing OSS-Fuzz projects (#3538). (#4023)Gravatar kabeer272020-06-25
Integrating the first cloud function i implemented which syncs the project list from github and uploads the list to cloud datastore, which will be used by another cloud function to request builds. Co-authored-by: Kabeer Seth <kabeerseth@google.com>