#!/bin/bash
# This is temporary, but needed to checki out the needed patches for the new image build role.
# We need it to happen before we get a node from cico so that the correct changes end up in
# the quickstart venv
set -eux

# TODO(trown): Actually merge needed patches for new image building role.
pushd tripleo-quickstart
popd

pushd tripleo-quickstart-extras
git fetch https://git.openstack.org/openstack/tripleo-quickstart-extras refs/changes/36/414336/23 && git checkout FETCH_HEAD
popd

cp $WORKSPACE/tripleo-quickstart/requirements.txt $WORKSPACE/local-requires.txt
echo "file://$WORKSPACE/tripleo-quickstart-extras/#egg=tripleo-quickstart-extras" >> local-requires.txt

bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
    --working-dir $WORKSPACE/.quickstart \
    --no-clone \
    --clean \
    --bootstrap \
    --requirements $WORKSPACE/local-requires.txt \
    --playbook noop.yml \
    localhost


#!/bin/bash
# This is temporary, but needed to checki out the needed patches for the new image build role.
# We need it to happen before we get a node from cico so that the correct changes end up in
# the quickstart venv
set -eux

# TODO(trown): Actually merge needed patches for new image building role.
pushd tripleo-quickstart
popd

pushd tripleo-quickstart-extras
git fetch https://git.openstack.org/openstack/tripleo-quickstart-extras refs/changes/36/414336/20 && git checkout FETCH_HEAD
popd

cp $WORKSPACE/tripleo-quickstart/requirements.txt $WORKSPACE/local-requires.txt
echo "file://$WORKSPACE/tripleo-quickstart-extras/#egg=tripleo-quickstart-extras" >> local-requires.txt

bash $WORKSPACE/tripleo-quickstart/quickstart.sh \
    --working-dir $WORKSPACE/.quickstart \
    --no-clone \
    --clean \
    --bootstrap \
    --requirements $WORKSPACE/local-requires.txt \
    --playbook noop.yml \
    localhost


Move back to last known good patch set
Move back to last known good patch set

Tests with patchset 22 and 23 have failed. See:

https://ci.centos.org/job/tripleo-quickstart-promote-ocata-cloudsig-testing-build-images/11/console
https://ci.centos.org/job/tripleo-quickstart-promote-ocata-cloudsig-testing-build-images/12/console

Change-Id: I676c58b0400bb8b8b347cf0756fd713aee2fcd05
