From cb89bb5354a597ae8a54cf5147495d9016775f47 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Wed, 1 Jul 2015 08:39:07 +0200 Subject: [PATCH] Fix Normalize projects.yaml proposal The proposals bot run on a tree that is in detached state. Current git review fails to push from this any changes. Create instead directly a branch and work on that. This is the same change as done for other proposal jobs in I487337cb1def5f5995d776c831ea61b658652677. Change-Id: I3ca3cbb0c21efde28a43164c518405c0dea87a86 --- tools/propose_projects_yaml_update.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/propose_projects_yaml_update.sh b/tools/propose_projects_yaml_update.sh index ce23e3f6f6..b0ea381d95 100755 --- a/tools/propose_projects_yaml_update.sh +++ b/tools/propose_projects_yaml_update.sh @@ -22,6 +22,10 @@ git config user.name "OpenStack Proposal Bot" git config user.email "openstack-infra@lists.openstack.org" git config gitreview.username "proposal-bot" +# Initial state of repository is detached, create a branch to work +# from. Otherwise git review will complain. +git checkout -B proposals + change_id="" # See if there is an open change in the openstack/requirements topic # If so, get the change id for the existing change for use in the