aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_odlpluginbuild
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-06-06 09:52:09 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-06 09:52:10 +0000
commitc4afb1da513ef3230432fff400ea231660b230c9 (patch)
tree42b339bac50d2f139127d8a30cf00eeb39c0ab8e /build/f_isoroot/f_odlpluginbuild
parent6c498c04a9843bcc99dc94650e5d0b31490dfa1b (diff)
parentb16f559a30ce28a6b528e4eab734cb5ea0ef23fc (diff)
Merge "Build odl plugin for mitaka"
Diffstat (limited to 'build/f_isoroot/f_odlpluginbuild')
-rw-r--r--build/f_isoroot/f_odlpluginbuild/Makefile9
-rw-r--r--build/f_isoroot/f_odlpluginbuild/config.mk14
2 files changed, 17 insertions, 6 deletions
diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile
index 9cb8fef69..efea0f521 100644
--- a/build/f_isoroot/f_odlpluginbuild/Makefile
+++ b/build/f_isoroot/f_odlpluginbuild/Makefile
@@ -29,7 +29,14 @@ release:.odlbuild
rm -rf fuel-plugin-opendaylight
sudo apt-get -y install build-essential ruby-dev rubygems-integration python-pip git rpm createrepo dpkg-dev
sudo gem install fpm
- sudo pip install fuel-plugin-builder
+ #Temporary fpb needs to be build from sources
+ git clone -b $(FPB_BRANCH) $(FPB_REPO)
+ cd fuel-plugins; \
+ if [ -n $(FPB_CHANGE) ]; then \
+ git checkout $(FPB_CHANGE); \
+ python setup.py sdist; \
+ sudo pip install ./dist/fuel-plugin-builder-*.tar.gz; \
+ fi
git clone -b $(ODL_BRANCH) $(ODL_REPO)
cd fuel-plugin-opendaylight; \
if [ -n $(ODL_CHANGE) ]; then \
diff --git a/build/f_isoroot/f_odlpluginbuild/config.mk b/build/f_isoroot/f_odlpluginbuild/config.mk
index a5e8a964d..c613af7ae 100644
--- a/build/f_isoroot/f_odlpluginbuild/config.mk
+++ b/build/f_isoroot/f_odlpluginbuild/config.mk
@@ -7,11 +7,15 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
-ODL_BRANCH=brahmaputra-sr2
-ODL_CHANGE=ec9474c1178e7451ec75f6e306ac84424a84a28a
-ODL_REPO="https://github.com/openstack/fuel-plugin-opendaylight.git"
+ODL_BRANCH ?= master
+ODL_CHANGE ?= 1c8443ffc64af120337740551307378d1c21535d
+ODL_REPO ?= https://github.com/openstack/fuel-plugin-opendaylight.git
+
+FPB_BRANCH ?= master
+FPB_CHANGE ?= 82191ca16b40021e445e854fad37c65cd8e70b0c
+FPB_REPO ?= https://github.com/openstack/fuel-plugins
export USE_JAVA8=true
export JAVA8_URL=https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa/+files/openjdk-8-jre-headless_8u72-b15-1~trusty1_amd64.deb
-export ODL_TARBALL_LOCATION=https://nexus.opendaylight.org/content/repositories/opendaylight.release/org/opendaylight/integration/distribution-karaf/0.4.1-Beryllium-SR1/distribution-karaf-0.4.1-Beryllium-SR1.tar.gz
-export ODL_VERSION_NUMBER=0.4.1
+export ODL_TARBALL_LOCATION=https://nexus.opendaylight.org/content/groups/public/org/opendaylight/integration/distribution-karaf/0.4.2-Beryllium-SR2/distribution-karaf-0.4.2-Beryllium-SR2.tar.gz
+export ODL_VERSION_NUMBER=0.4.2