From 8e0c7007906730fe4547b0265a895ad8a322a7dc Mon Sep 17 00:00:00 2001 From: Maros Marsalek Date: Thu, 10 Nov 2016 12:22:28 +0100 Subject: Remove hc2vpp codebase Moved to a dedicated hc2vpp project in fd.io Change-Id: I03dc3b3029f21b127a00c69a86bcd8e467896241 Signed-off-by: Maros Marsalek --- .../install_guide/install_manual_build.adoc | 206 --------------------- 1 file changed, 206 deletions(-) delete mode 100644 release-notes/src/main/asciidoc/install_guide/install_manual_build.adoc (limited to 'release-notes/src/main/asciidoc/install_guide/install_manual_build.adoc') diff --git a/release-notes/src/main/asciidoc/install_guide/install_manual_build.adoc b/release-notes/src/main/asciidoc/install_guide/install_manual_build.adoc deleted file mode 100644 index 82ab84413..000000000 --- a/release-notes/src/main/asciidoc/install_guide/install_manual_build.adoc +++ /dev/null @@ -1,206 +0,0 @@ -= Manual build - -link:release_notes.html[< Home] - -== Prerequisites -Building Honeycomb project requires: - -* Java 8 -* Maven (version 3.2.5 and above should be fine) -* Properly set maven settings(displayed below) to access nexus.fd.io - -== Obtain the honeycomb source code -TIP: Make sure you have https://wiki.fd.io/view/DEV/Setting_up_Gerrit[registered your ssh key with gerrit]. - -[subs="+attributes"] - git clone ssh://[username]@gerrit.fd.io:29418/honeycomb - cd honeycomb - git checkout {project-branch} - -== Building the code -Make sure all the prerequisites are installed. - -NOTE: To make sure fresh Honeycomb build is compatible with VPP, building VPP is also required to make sure the same JVpp version is used preventing out-of-sync exceptions. In case only Honeycomb needs to be built, skip Building VPP section. - -=== Building VPP -Clone VPP according to: https://gerrit.fd.io/r/#/admin/projects/vpp and checkout {project-branch} branch - -Dive into VPP's build-root folder: - - cd vpp/build-root/ - -Build VPP: - - make distclean && ./bootstrap.sh && make V=0 PLATFORM=vpp TAG=vpp install-deb - -Install VPP: - - sudo dpkg -i *.deb - -Start VPP: - - sudo start vpp - -Install JVpp into local maven repository to make Honeycomb pick up the same JVpp version - -[subs="+attributes"] - cd build-vpp-native/vpp-api/java/ - mvn install:install-file -Dfile=jvpp-registry-{project-vpp-version}.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-registry -Dversion={project-vpp-snapshot-version} -Dpackaging=jar - mvn install:install-file -Dfile=jvpp-core-{project-vpp-version}.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-core -Dversion={project-vpp-snapshot-version}-Dpackaging=jar - cd ../../plugins/snat-plugin/ - mvn install:install-file -Dfile=jvpp-snat-{project-snat-version}.jar -DgroupId=io.fd.vpp -DartifactId=jvpp-snat -Dversion={project-snat-snapshot-version} -Dpackaging=jar - -Now current Vpp is up and running and prepared for integration with HC. - -=== Building Honeycomb -Now Honeycomb can be built and it will use latest JVpp produced during VPP build. - -==== Setup settings.xml -Put the following in your ~/.m2/settings.xml: - -[source,xml] ----- - - - - - - - fd.io-release - - - fd.io-mirror - fd.io-mirror - https://nexus.fd.io/content/groups/public/ - - true - never - - - false - - - - - - fd.io-mirror - fd.io-mirror - https://nexus.fd.io/content/repositories/public/ - - true - never - - - false - - - - - - - fd.io-snapshots - - - fd.io-snapshot - fd.io-snapshot - https://nexus.fd.io/content/repositories/fd.io.snapshot/ - - false - - - true - - - - - - fd.io-snapshot - fd.io-snapshot - https://nexus.fd.io/content/repositories/fd.io.snapshot/ - - false - - - true - - - - - - opendaylight-snapshots - - - opendaylight-snapshot - opendaylight-snapshot - https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - - false - - - true - - - - - - opendaylight-shapshot - opendaylight-snapshot - https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot/ - - false - - - true - - - - - - - - fd.io-release - fd.io-snapshots - opendaylight-snapshots - - ----- - -==== Building Honeycomb -cd honeycomb/ - - mvn clean install - -[NOTE] -===== -To perform quick build(no tests, no checks, no docs) run: - - mvn clean install -DskipTests -Dcheckstyle.skip -Dmaven.javadoc.skip=true -Djacoco.skip -===== - -Now Honeycomb can be run with: - -[subs="+attributes"] - sudo sh vpp-integration/minimal-distribution/target/vpp-integration-distribution-{project-version}-hc/vpp-integration-distribution-{project-version}/honeycomb - -=== Building packages -After the code has been built, you can build an RPM or DEB package for honeycomb. - -==== RPM -Export build number variable: - - export BUILD_NUMBER=33 - -Run package building script from: - - packaging/rpm/rpmbuild.sh - -==== DEB -Export build number variable: - - export BUILD_NUMBER=33 - -Run package building script from: - - packaging/deb/debuild.sh \ No newline at end of file -- cgit 1.2.3-korg