aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rw-r--r--INFO14
-rw-r--r--INFO.yaml28
-rwxr-xr-xci/build-auto.sh129
4 files changed, 167 insertions, 7 deletions
diff --git a/.gitignore b/.gitignore
index acb5d9d..70a5649 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,6 @@
/lib/auto.egg-info
/build
/dist
+/docs_build
+/docs_output
+/opnfvdocs
diff --git a/INFO b/INFO
index 10020fd..b266f87 100644
--- a/INFO
+++ b/INFO
@@ -1,3 +1,5 @@
+(obsolete: use only INFO.yaml)
+
Project: ONAP-Automated OPNFV (Auto)
Project Creation Date: August 15, 2017
Project Category:
@@ -13,15 +15,21 @@ Repository: auto
Committers:
Tina Tsou (tina.tsou@arm.com)
Harry Huang (huangxiangyu5@huawei.com)
+Mohankumar Navaneethan (mnavaneethan@mvista.com)
Song Zhu (song.zhu@arm.com)
-Prasad Gorja (prasad.gorja@nxp.com)
Liang Ou (oul.gd@chinatelecom.cn)
+Gerard Damm (gerard.damm@wipro.com)
+Joe Kidder (joe.kidder@5thlayer.com)
+Cristina Pauna (cristina.pauna@enea.com)
+Paul Vaduva (paul.vaduva@enea.com)
+Martin Klozik (martin.klozik@tieto.com)
+Richard Elias (richard.elias@tieto.com)
+
+Prasad Gorja (prasad.gorja@nxp.com)
Lei Chen (chenlei@caict.ac.cn)
Xiaoyu Wang (wxy_cttl@126.com)
Xu Lu (luxu_hd@163.com)
Eric Maye (eric.dmaye@wipro.com)
Chen Zhang (zhangchen.bri@chinatelecom.cn)
-Mohankumar Navaneethan (mnavaneethan@mvista.com)
-Gerard Damm (gerard.damm@wipro.com)
Link to TSC approval of the project: http://meetbot.opnfv.org/meetings/opnfv-meeting/2017/opnfv-meeting.2017-08-15-12.59.html
diff --git a/INFO.yaml b/INFO.yaml
index aee9a7b..00dbfda 100644
--- a/INFO.yaml
+++ b/INFO.yaml
@@ -38,10 +38,10 @@ committers:
email: 'huangxiangyu5@huawei.com'
company: 'huawei.com'
id: 'huangxiangyu'
- - name: 'Madhukesh Sambashivaiah'
- email: 'madhukeshs@gmail.com'
- company: 'gmail.com'
- id: 'madhukeshs'
+ - name: 'Mohankumar Navaneethan'
+ email: 'mnavaneethan@mvista.com'
+ company: 'Cavium'
+ id: 'nmohankumar'
- name: 'Song Zhu'
email: 'song.zhu@arm.com'
company: 'arm.com'
@@ -54,6 +54,26 @@ committers:
email: 'gerard.damm@wipro.com'
company: 'Wipro'
id: 'gerard_damm'
+ - name: 'Joe Kidder'
+ email: 'joe.kidder@5thlayer.com'
+ company: '5thlayer.com'
+ id: 'joe.kidder'
+ - name: 'Cristina Pauna'
+ email: 'cristina.pauna@enea.com'
+ company: 'enea.com'
+ id: 'cristinapauna'
+ - name: 'Paul Vaduva'
+ email: 'paul.vaduva@enea.com'
+ company: 'enea.com'
+ id: 'pvaduva'
+ - name: 'Martin Klozik'
+ email: 'martin.klozik@tieto.com'
+ company: 'tieto.com'
+ id: 'mklozik'
+ - name: 'Richard Elias'
+ email: 'richard.elias@tieto.com'
+ company: 'tieto.com'
+ id: 'richardxelias'
tsc:
# yamllint disable rule:line-length
approval: 'http//meetbot.opnfv.org/meetings/opnfv-meeting/2017/opnfv-meeting.2017-08-15-12.59.html'
diff --git a/ci/build-auto.sh b/ci/build-auto.sh
new file mode 100755
index 0000000..611d83a
--- /dev/null
+++ b/ci/build-auto.sh
@@ -0,0 +1,129 @@
+#!/bin/bash
+#
+# Copyright 2015-2018 Intel Corporation., Tieto
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# CI helper script for execution of AUTO project jenkins jobs.
+# This script is based on the file ci/build-vsperf.sh from OPNFV vswitchperf
+# project.
+
+# Usage:
+# build-auto.sh job_type
+# where job_type is one of "verify", "merge", "daily"
+#
+# Example:
+# ./ci/build-auto.sh daily
+
+#
+# exit codes
+#
+EXIT=0
+EXIT_UNKNOWN_JOB_TYPE=1
+
+#
+# configuration
+#
+AUTOENV_DIR="$HOME/autoenv"
+
+#
+# main
+#
+echo
+
+# enter workspace dir
+cd $WORKSPACE
+
+# create virtualenv if needed
+if [ ! -e $AUTOENV_DIR ] ; then
+ echo "Create AUTO environment"
+ echo "======================="
+ virtualenv "$AUTOENV_DIR"
+ echo
+fi
+
+# activate and update virtualenv
+echo "Update AUTO environment"
+echo "======================="
+source "$AUTOENV_DIR"/bin/activate
+pip install -r ./requirements.txt
+echo
+
+# execute job based on passed parameter
+case $1 in
+ "verify")
+ echo "==============="
+ echo "AUTO verify job"
+ echo "==============="
+
+ # Example of verify job body. Functions can call
+ # external scripts, etc.
+
+ #execute_auto_pylint_check
+ #execute_auto_doc_check
+ #install_opnfv MCP
+ #install_onap
+ #execute_sanity_check
+ #execute_tests $1
+
+ # Everything went well, so report SUCCESS to Jenkins
+ exit $EXIT
+ ;;
+ "merge")
+ echo "=============="
+ echo "AUTO merge job"
+ echo "=============="
+
+ # Example of merge job body. Functions can call
+ # external scripts, etc.
+
+ #execute_auto_pylint_check
+ #execute_auto_doc_check
+ #install_opnfv MCP
+ #install_onap
+ #execute_sanity_check
+ #execute_tests $1
+
+ # Everything went well, so report SUCCESS to Jenkins
+ exit $EXIT
+ ;;
+ "daily")
+ echo "=============="
+ echo "AUTO daily job"
+ echo "=============="
+
+ # Example of daily job body. Functions can call
+ # external scripts, etc.
+
+ #install_opnfv MCP
+ #install_onap
+ #execute_sanity_check
+ #execute_tests $1
+ #push_results_and_logs_to_artifactory
+
+ # Everything went well, so report SUCCESS to Jenkins
+ exit $EXIT
+ ;;
+ *)
+ echo
+ echo "ERRROR: Unknown job type \"$1\""
+ echo
+ exit $EXIT_UNKNOWN_JOB_TYPE
+ ;;
+esac
+
+exit $EXIT_UNKNOWN_JOB_TYPE
+
+#
+# end
+#