We'd love to accept your patches and contributions to this project. There are just a few small guidelines you need to follow.
Contributions to any Google project must be accompanied by a Contributor License Agreement. This is necessary because you own the copyright to your changes, even after your contribution becomes part of this project. So this agreement simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.developers.google.com/ to see your current agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.
All submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
./pants -V
to bootstrap Pants.- Run the tool's tests:
./pants test.pytest --coverage=1 tool:test
. - Run the ci's tests:
./pants test.pytest --coverage=1 ci/continuous_integration:test
. - Run the tool binary:
./pants run tool:clusterfuzz-ci -- reproduce -h
.
From the ci
directory, perform the below steps:
- Modify
image.yml
and increment the version ofimage_name
ingroup_vars/all
. - Create and merge the pull request.
- Run
ansible-playbook image.yml
to create an image. - Re-deploy all CI instances.
From the ci
directory, perform the below steps:
- Ensure all the latest binaries are present and symlinked in
/google/data/ro/teams/clusterfuzz-tools/releases
. - Run
ansible-playbook playbook.yml -e release=<release-type> -e machine=<machine-name>
whererelease-type
is one of[release, release-candidate, master]
andmachine-name
is the prefix of the machine you wish to update or deploy (for example,machine=release
corresponds to the boot diskrelease-ci-boot
and the machinerelease-ci
).
We publish our binary to 2 places: Cloud Storage (for public) and X20 (for Googlers).
- Increment the version number in
tool/clusterfuzz/resources/VERSION
. - Create and merge a pull request to increase the version number.
- Run
./pants run butler -- release
.
To see the usage from our users, please see the data in BigQuery. Here are useful links: