diff options
author | Feng Pan <fpan@redhat.com> | 2016-08-23 15:57:25 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2016-08-24 16:54:37 +0000 |
commit | 0ffe9fd0563811a78041d8f982a0b9de2b6fc335 (patch) | |
tree | ade46dfa6f965a30be87174a3e81d7077491fa25 /build/Makefile | |
parent | 34d8b7adeca02e857ba0ba0f8db52d740b5b34f8 (diff) |
Add honeycomb to build process
JIRA: APEX-133
Change-Id: I96b278996edc6897408111d31b9effe472fb0d10
Signed-off-by: Feng Pan <fpan@redhat.com>
(cherry picked from commit 8e6b196e50b0528f3e58ae148293d6713c3f977b)
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 # |