[openstack-dev] [TripleO] Delorean fail blocks CI for stable branches

Alan Pevec apevec at redhat.com
Wed Jul 20 11:29:35 UTC 2016


> git clone https://git.openstack.org/openstack/tripleo-heat-templates
> cd tripleo-heat-templates/
> git checkout -b stable/mitaka origin/stable/mitaka

^ this is manually switching to the stable source branch

> sed -i -e "s%distro=.*%distro=rpm-mitaka%" projects.ini
> sed -i -e "s%source=.*%source=stable/mitaka%" projects.ini

^ this configures dlrn to the correct combination of distro and source
branches, but ...

> ./venv/bin/dlrn --config-file projects.ini --head-only --package-name
> openstack-tripleo-heat-templates --local

^ ... --local here keeps local checkout untouched, so you end up with
default rpm-master in distro git checkout.
If you remove --local it will reset local checkouts to the branches
specified in projects.ini

Alan



More information about the OpenStack-dev mailing list