Use old image build command for stable/newton
As part of the image build
command was updated to stop using deprecated options. However it
appears the old options are still needed when running the job on
stable/newton, as CI fails on the new one.
Closes-Bug:
else
CONFIG_FILES="--config-file $TRIPLEO_COMMON_PATH/image-yaml/overcloud-images.yaml --config-file $TRIPLEO_COMMON_PATH/image-yaml/overcloud-images-centos7.yaml"
fi
+ if [ "$ZUUL_BRANCH" == "stable/newton" ]; then
+ tox -evenv -- openstack overcloud image build --type {image-name} --elements-path="$ELEMENTS"
+ else
tox -evenv -- openstack overcloud image build --image-name {image-name} $CONFIG_FILES
+ fi
mkdir -p $WORKSPACE/logs
mv *.log $WORKSPACE/logs
