submodule: yardstick. 67/16067/2
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Tue, 28 Jun 2016 17:13:48 +0000 (19:13 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Wed, 29 Jun 2016 13:41:16 +0000 (15:41 +0200)
Fuel@OPNFV just added the Yardstick plugin.

This plugin is a little different, instead of breaking fuel plugin
code apart from the contents (i.e. fuel-plugin-yardstick separate
from yardstick itself), it holds both fuel plugin metadata and
actual yardstick code in the same repo.

So far, yardstick plugin code itself is arch-independant and should
not be touched.

TODO:
- add yardstick patches for arm64 until we can validate Yardstick;
- submit patches added locally in Armband to upstream
  (Yardstick@OPNFV);

Change-Id: I24bc8858b92c9bdd529a64de833d7b98c06a6ade
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
.gitmodules
Makefile
patches/opnfv-fuel/0012-yardstick-plugin-Allow-overriding-git-info.patch [new file with mode: 0644]
upstream/yardstick [new submodule]

index 85b4d3f..af8593d 100644 (file)
@@ -34,3 +34,7 @@
        path = upstream/vswitchperf
        url = https://gerrit.opnfv.org/gerrit/vswitchperf.git
        branch = master
+[submodule "yardstick"]
+       path = upstream/yardstick
+       url = https://gerrit.opnfv.org/gerrit/yardstick.git
+       branch = master
index 45c059a..e01517d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,6 +82,9 @@ build:
                        VSPERF_REPO=${root}/upstream/vswitchperf \
                        VSPERF_BRANCH=armband-workbench \
                        VSPERF_CHANGE= \
+                       YARDSTICK_REPO=${root}/upstream/yardstick \
+                       YARDSTICK_BRANCH=armband-workbench \
+                       YARDSTICK_CHANGE= \
                        EXTRA_RPM_REPOS="armband,http://linux.enea.com/mos-repos/centos/mos9.0-centos7/armband/x86_64,10" \
                        MIRROR_MOS_UBUNTU=linux.enea.com \
                        JAVA8_URL=https://launchpad.net/~openjdk-r/+archive/ubuntu/ppa/+files/openjdk-8-jre-headless_8u72-b15-1~trusty1_arm64.deb \
diff --git a/patches/opnfv-fuel/0012-yardstick-plugin-Allow-overriding-git-info.patch b/patches/opnfv-fuel/0012-yardstick-plugin-Allow-overriding-git-info.patch
new file mode 100644 (file)
index 0000000..7982512
--- /dev/null
@@ -0,0 +1,22 @@
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Tue, 28 Jun 2016 19:06:57 +0200
+Subject: [PATCH] yardstick plugin: Allow overriding git info.
+
+---
+ build/f_isoroot/f_yardstick-pluginbuild/config.mk | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/build/f_isoroot/f_yardstick-pluginbuild/config.mk b/build/f_isoroot/f_yardstick-pluginbuild/config.mk
+index 36df8f1..f671aa9 100644
+--- a/build/f_isoroot/f_yardstick-pluginbuild/config.mk
++++ b/build/f_isoroot/f_yardstick-pluginbuild/config.mk
+@@ -8,6 +8,6 @@
+ # http://www.apache.org/licenses/LICENSE-2.0
+ ##############################################################################
+-YARDSTICK_BRANCH=675eef731a098f83aa98c2021b151b7e5ba1da7d
+-YARDSTICK_REPO=https://gerrit.opnfv.org/gerrit/yardstick.git
+-YARDSTICK_CHANGE=
++YARDSTICK_BRANCH?=675eef731a098f83aa98c2021b151b7e5ba1da7d
++YARDSTICK_REPO?=https://gerrit.opnfv.org/gerrit/yardstick.git
++YARDSTICK_CHANGE?=
diff --git a/upstream/yardstick b/upstream/yardstick
new file mode 160000 (submodule)
index 0000000..8a4f8df
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 8a4f8df64b8897bf38e77399099099f92266048b