Fix requirements checkout on buildimage

The current zuul-git-prep-upper-constraints macro
was giving conflict with the pre-existing checkout one. As
both do the clone of the checked project, it was giving
an error on git, because the directory already existed.
Adding openstack/requirements to the clonemap instead

Change-Id: I36273f59c052dd2fd5c3e870ee7802a1bdcf47e7
This commit is contained in:
Yolanda Robla 2017-03-31 13:21:55 +02:00
parent ee4e6559bf
commit d166ff7612
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,8 @@
openstack/instack-undercloud \
openstack/python-tripleoclient \
openstack/tripleo-image-elements \
openstack/tripleo-puppet-elements
openstack/tripleo-puppet-elements \
openstack/requirements
- job-template:
name: '{pipeline}-tripleo-quickstart-{scenario}-{node}{suffix}'
@ -93,7 +94,6 @@
- link-logs
- net-info
- python-tripleoclient-buildimage-checkout
- zuul-git-prep-upper-constraints
- shell: |
#!/bin/bash -xe
cd python-tripleoclient
@ -124,7 +124,7 @@
if [ "$ZUUL_BRANCH" == "master" ]; then
tox -evenv -- pip install $WORKSPACE/diskimage-builder
else
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/upper-constraints.txt
export UPPER_CONSTRAINTS_FILE=$WORKSPACE/requirements/upper-constraints.txt
tox -evenv -- pip install diskimage-builder -c $UPPER_CONSTRAINTS_FILE
fi