[Gluster-Maintainers] Reducing the time to test patches which doesn't modify code
nigelb at redhat.com
Thu Jun 22 16:12:40 UTC 2017
On Wed, Jun 21, 2017 at 10:35:05AM +0530, Amar Tumballi wrote:
> Today, any changes to glusterfs code base (other than 'doc/') triggers the
> regression runs when +1 Verified is voted. But we noticed that patches
> which are changes in 'extras/' or just updating README file, need not run
> So, Nigel proposed the idea of a .testignore file (like .gitignore).
> Content in which are paths for files to ignore from testing. If a patch has
> all the files belonging to this file, then the tests wouldn't be triggered.
> Anyone sending patches in future, and the patch needs to add a new file,
> see if you need to update .testignore file too.
>  - https://review.gluster.org/17522
This feature is now in production on the regression machines. If you're only
touching files in .testignore, the centos-regression run will only take
1 minute. When you're adding a new script to the codebase that does not affect
gluster itself, please consider adding those files to .testignore
More information about the maintainers