[openstack-dev] [TripleO] Gerrit review refs now supported by diskimage-builder's source-repositories element

Roman Podoliaka rpodolyaka at mirantis.com
Fri Dec 20 20:40:02 UTC 2013


Hi Chris,

This is super useful for testing patches on review! Thank you!

Roman

On Fri, Dec 20, 2013 at 7:35 PM, Chris Jones <cmsj at tenshu.net> wrote:
> Hi
>
> As of just now (review 63021) the source-repositories element in
> diskimage-builder can fetch git repos from gerrit reviews.
>
> I figured it'd be worth mentioning here because it's super useful if you
> want to test the code from one or more gerrit reviews, in a TripleO
> environment.
>
> A quick example, let's say you're using our devtest.sh script to build your
> local environment and you want to try out patch set 9 of Yuiko Takada's
> latest nova bug fix, all you need to do is:
>
> export DIB_REPOLOCATION_nova=https://review.openstack.org/openstack/nova
> export DIB_REPOREF_nova=refs/changes/56/53056/9
> ./scripts/devtest.sh
>
> Bam!
>
> (FWIW, the same env vars work if you're calling disk-image-create directly)
>
> --
> Cheers,
>
> Chris
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



More information about the OpenStack-dev mailing list