diff options
author | Feng Pan <fpan@redhat.com> | 2016-08-23 15:57:25 -0400 |
---|---|---|
committer | Feng Pan <fpan@redhat.com> | 2016-08-24 02:23:11 +0000 |
commit | 8e6b196e50b0528f3e58ae148293d6713c3f977b (patch) | |
tree | 4464535dbbfbe9fee6c7731362fc6f0393a23830 /build/Makefile | |
parent | 054eb0117602fe7b031a73d809965003ed9958d8 (diff) |
Add honeycomb to build process
JIRA: APEX-133
Change-Id: I96b278996edc6897408111d31b9effe472fb0d10
Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/Makefile')
-rw-r--r-- | build/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile index cefe4748..85f7f8df 100644 --- a/build/Makefile +++ b/build/Makefile @@ -156,27 +156,43 @@ openstack-congress-2016.1-1.noarch.rpm: ############### VPP_DIR = vpp +MAVEN = apache-maven-3.3.9 +MAVEN_FILE = $(MAVEN)-bin.tar.gz .PHONY: vpp-clean vpp-clean: @rm -f vpp-bin.tar.gz @rm -rf vpp-bin vpp + @rm -rf honeycomb $(MAVEN) $(MAVEN_FILE) honeycomb-1.0.0-99.noarch.rpm .PHONY: vpp-build vpp-build: vpp-bin.tar.gz -vpp-bin.tar.gz: vpp +vpp-bin.tar.gz: vpp honeycomb $(MAVEN) $(MAKE) -C $(VPP_DIR) UNATTENDED=yes install-dep bootstrap build pkg-rpm $(MAKE) -C $(VPP_DIR)/build-root PLATFORM=vpp TAG=vpp_debug vpp-api-install pushd vpp/vpp-api/python && python setup.py bdist + pushd honeycomb && ../$(MAVEN)/bin/mvn clean install -DskipTests + pushd honeycomb/packaging/rpm/ && BUILD_NUMBER=99 ./rpmbuild.sh mkdir vpp-bin mv vpp/build-root/*.rpm vpp-bin/ + mv honeycomb/packaging/rpm/RPMS/noarch/*.rpm . mv vpp/vpp-api/python/dist/*.tar.gz vpp-bin/ tar czf vpp-bin.tar.gz vpp-bin vpp: git clone https://gerrit.fd.io/r/vpp +honeycomb: + git clone https://gerrit.fd.io/r/p/honeycomb.git + +$(MAVEN): $(MAVEN_FILE) + tar zxvf apache-maven-3.3.9-bin.tar.gz + cp mvn_settings.xml $(MAVEN)/conf/settings.xml + +$(MAVEN_FILE): + wget http://www.webhostingjams.com/mirror/apache/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz + ############### # UNDERCLOUD # |