summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorJo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-20 13:33:42 +0100
committerJörgen Karlsson <jorgen.w.karlsson@ericsson.com>2016-01-20 13:06:14 +0000
commitf877996a1263b53388955cf6d0dd84da6210c8b5 (patch)
tree2014cb11c4d920f7725ac081f73ab2bcfb2c8954 /ci
parenteba320a8bd061677983efca3b9668171b2d29a64 (diff)
Add apexlake CI script
Signed-off-by: Jo¶rgen Karlsson <jorgen.w.karlsson@ericsson.com> Change-Id: I5dcd45692938afddadbf17650c96fddf1f99dce7 (cherry picked from commit 9a3fa8bde1e8a82796fd05c8a40b1fbb8eca60c6)
Diffstat (limited to 'ci')
-rwxr-xr-xci/apexlake-verify22
1 files changed, 22 insertions, 0 deletions
diff --git a/ci/apexlake-verify b/ci/apexlake-verify
new file mode 100755
index 000000000..81c532bab
--- /dev/null
+++ b/ci/apexlake-verify
@@ -0,0 +1,22 @@
+#!/bin/bash
+##############################################################################
+# Copyright (c) 2015 Ericsson AB and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+DPDK_HOST=10.118.36.130
+
+YARDSTICK=/home/user/yardstick
+TESTSUITE=$YARDSTICK/tests/opnfv/test_suites/opnfv_vTC_daily.yaml
+
+commands="
+cd $YARDSTICK
+source /home/user/openrc.dasm
+sudo -E yardstick task start --suite $TESTSUITE"
+
+echo "$commands" | ssh -l user $DPDK_HOST 'bash -s'
+exit $?