summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-03-03 16:02:12 -0500
committerDan Radez <dradez@redhat.com>2017-03-06 08:27:39 -0500
commit83eee4e2361e3b97abc93e0a8bb203f6ba42ffa2 (patch)
tree888bcb5f5968b0dce3744bd8939badd37513dbdf /build
parenta1cf3378fe98d1ecd4223908adbc8fa44fbbfc39 (diff)
Build cleanups
- moved patch files into patches dir - python-etcd is packaged upstream Change-Id: I2ad33460e1a8b3e57d30976d92c7423a30a68fc9 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/overcloud-full.sh8
-rw-r--r--build/patches/0001-Removes-doing-yum-update.patch (renamed from build/0001-Removes-doing-yum-update.patch)0
-rw-r--r--build/patches/neutron-patch-NSDriver.patch (renamed from build/neutron-patch-NSDriver.patch)0
-rw-r--r--build/patches/puppet-neutron-add-odl-settings.patch (renamed from build/puppet-neutron-add-odl-settings.patch)0
-rwxr-xr-xbuild/undercloud.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/build/overcloud-full.sh b/build/overcloud-full.sh
index 1e95b838..c4c31c8a 100755
--- a/build/overcloud-full.sh
+++ b/build/overcloud-full.sh
@@ -103,8 +103,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \
$dpdk_pkg_str \
--run-command "yum install --downloadonly --downloaddir=/root/fdio vpp vpp-devel vpp-lib vpp-api-python vpp-plugins" \
--upload ${BUILD_DIR}/noarch/$netvpp_pkg:/root/fdio \
+ --run-command "yum install -y /root/fdio/*.rpm" \
--run-command "yum install -y etcd" \
- --run-command "pip install python-etcd" \
+ --install python-etcd \
--run-command "puppet module install cristifalcas/etcd" \
--run-command "yum update -y puppet" \
--install "centos-release-qemu-ev" \
@@ -117,7 +118,6 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install "python2-congressclient" \
--upload ${BUILD_DIR}/puppet-congress.tar.gz:/etc/puppet/modules/ \
--run-command "cd /etc/puppet/modules/ && tar xzf puppet-congress.tar.gz" \
- --run-command "yum install -y /root/fdio/*.rpm" \
--run-command "rm -f /etc/sysctl.d/80-vpp.conf" \
--install unzip \
--upload ${BUILD_DIR}/puppet-fdio.tar.gz:/etc/puppet/modules \
@@ -132,9 +132,9 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install /root/$tackerclient_pkg \
--run-command "pip install python-senlinclient" \
--run-command "sed -i -E 's/timeout=[0-9]+/timeout=60/g' /usr/share/openstack-puppet/modules/rabbitmq/lib/puppet/provider/rabbitmqctl.rb" \
- --upload ${BUILD_ROOT}/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \
+ --upload ${BUILD_ROOT}/patches/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \
--run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < neutron-patch-NSDriver.patch" \
- --upload ${BUILD_ROOT}/puppet-neutron-add-odl-settings.patch:/usr/share/openstack-puppet/modules/neutron/ \
+ --upload ${BUILD_ROOT}/patches/puppet-neutron-add-odl-settings.patch:/usr/share/openstack-puppet/modules/neutron/ \
--run-command "cd /usr/share/openstack-puppet/modules/neutron && patch -p1 < puppet-neutron-add-odl-settings.patch" \
-a overcloud-full_build.qcow2
diff --git a/build/0001-Removes-doing-yum-update.patch b/build/patches/0001-Removes-doing-yum-update.patch
index 86e6ea3f..86e6ea3f 100644
--- a/build/0001-Removes-doing-yum-update.patch
+++ b/build/patches/0001-Removes-doing-yum-update.patch
diff --git a/build/neutron-patch-NSDriver.patch b/build/patches/neutron-patch-NSDriver.patch
index d5889e38..d5889e38 100644
--- a/build/neutron-patch-NSDriver.patch
+++ b/build/patches/neutron-patch-NSDriver.patch
diff --git a/build/puppet-neutron-add-odl-settings.patch b/build/patches/puppet-neutron-add-odl-settings.patch
index aa0b35a1..aa0b35a1 100644
--- a/build/puppet-neutron-add-odl-settings.patch
+++ b/build/patches/puppet-neutron-add-odl-settings.patch
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 9cfd936f..1101da87 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -59,7 +59,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install "openstack-heat-engine" \
--install "openstack-heat-api-cfn" \
--install "openstack-heat-api" \
- --upload ${BUILD_ROOT}/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \
+ --upload ${BUILD_ROOT}/patches/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \
--run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < 0001-Removes-doing-yum-update.patch" \
--root-password password:stack \
-a undercloud_build.qcow2