Run a command when a gerrit patchset is created
Project description
gerritexec
gerritexec is a command line tool listening to gerrit on a designated project. On each new patchset, (or when a comment contains recheck no bug ) it will:
git clone the project
git pull the patchset
cd in the git tree and run a script
positively review the patchset ( +1 ) if the program exit(0)
negatively review the patchset ( -1 ) otherwise
Examples
Positively review all patchsets in the stackforge/puppet-ceph project:
gerritexec --hostname review.openstack.org \
--username puppetceph \
--script 'true' \
--project stackforge/puppet-ceph
Run the integration tests found in the git tree of the stackforge/puppet-ceph project:
gerritexec --hostname review.openstack.org \
--username puppetceph \
--script 'bundle exec rake spec:system' \
--project stackforge/puppet-ceph
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for gerritexec-1.1.0.a14.ga357098.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16596fca5c2b56d1119d1d8daea765a76c746bfe8adc31e0cca79249e26fc133 |
|
MD5 | 13e36d1f7ca1da7119bc957f5ec820dd |
|
BLAKE2b-256 | 2b29fcaedc44bd302113956a94b9a6e47a58e9db420a11d07e4ee19518615c04 |