<div dir="ltr">Hi<div><br></div><div>As of just now (review 63021) the source-repositories element in diskimage-builder can fetch git repos from gerrit reviews.</div><div><br></div><div>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.</div>
<div><br></div><div>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:</div>
<div><br></div><div>export DIB_REPOLOCATION_nova=<a href="https://review.openstack.org/openstack/nova">https://review.openstack.org/openstack/nova</a> </div><div>export DIB_REPOREF_nova=refs/changes/56/53056/9<br clear="all">
<div>./scripts/devtest.sh</div><div><br></div><div>Bam!</div><div><br></div><div>(FWIW, the same env vars work if you're calling disk-image-create directly)</div><div><br></div>-- <br><div dir="ltr">Cheers,<div><br></div>
<div>Chris</div></div>
</div></div>