[CI] Change folder structure.
authorsewon.oh <sewon.oh@samsung.com>
Thu, 20 Sep 2018 07:50:21 +0000 (16:50 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Wed, 17 Oct 2018 06:31:57 +0000 (15:31 +0900)
change folder name to use config files by copying instead of linking.

Signed-off-by: Sewon Oh sewon.oh@samsung.com
.TAOS-CI/README.md [new file with mode: 0644]
.TAOS-CI/taos/config/config-environment.sh [moved from Documentation/ci-config/config-environment.sh with 96% similarity]
.TAOS-CI/taos/config/config-plugins-audit.sh [moved from Documentation/ci-config/config-plugins-audit.sh with 90% similarity]
.TAOS-CI/taos/config/config-plugins-format.sh [moved from Documentation/ci-config/config-plugins-format.sh with 89% similarity]
.TAOS-CI/taos/config/config-server-administrator.sh [moved from Documentation/ci-config/config-server-administrator.sh with 99% similarity]
.TAOS-CI/taos/config/config-webhook.json [moved from Documentation/ci-config/config-webhook.json with 100% similarity]
.TAOS-CI/taos/config/prohibited_words.txt [new file with mode: 0644]
Documentation/ci-config/README.md [deleted file]

diff --git a/.TAOS-CI/README.md b/.TAOS-CI/README.md
new file mode 100644 (file)
index 0000000..3ad59fc
--- /dev/null
@@ -0,0 +1,13 @@
+# How to use config files
+
+These are TAOS-CI files for nnstreamer.
+
+- http://github.com/nnsuite/TAOS-CI
+
+## How to use
+
+After adding TAOS-CI submodule in your project, copy and overwrite them.
+
+```bash
+$ yes | cp -rf $PWD/.TAOS-CI/taos/* $PWD/TAOS-CI/ci/taos/
+```
similarity index 96%
rename from Documentation/ci-config/config-environment.sh
rename to .TAOS-CI/taos/config/config-environment.sh
index 4cbb04a..12429cd 100644 (file)
@@ -80,6 +80,11 @@ pr_build_arch_type="x86_64 armv7l"
 # Advanced = 1 (Basic + "@author, @bug and functions with ctags")
 pr_doxygen_check_level=1
 
+### Check level of CPPCheck:
+# CPPCheck Level 0: The check level is 'err'.
+# CPPCheck Level 1: 'err' + 'warning,performance,unusedFunction'
+pr_cppcheck_check_level=0
+
 #### File size limit
 # unit of the file size is MB.
 filesize_limit=5
@@ -59,3 +59,9 @@ echo "[MODULE] plugins-staging: Plugin group that does not have evaluation and a
 # $module_name
 # echo "[DEBUG] $module_name is done."
 
+audit_plugins[++idx]="pr-audit-nnstreamer-ubuntu-apptest"
+echo "[DEBUG] TAOS/${audit_plugins[idx]}: Check nnstreamer sample app"
+echo "[DEBUG] ${audit_plugins[idx]} is started."
+echo "[DEBUG] Current path: $(pwd)."
+source ${REFERENCE_REPOSITORY}/ci/taos/plugins-staging/${audit_plugins[idx]}.sh
+
@@ -120,6 +120,21 @@ echo "[DEBUG] The current path: $(pwd)."
 echo "[DEBUG] source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh"
 source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh
 
+format_plugins[++idx]="pr-format-sloccount"
+echo "${format_plugins[idx]} is starting."
+echo "[MODULE] TAOS/${format_plugins[idx]}: Check physical Source Lines of Code (SLOC) in a source code"
+echo "[DEBUG] The current path: $(pwd)."
+echo "[DEBUG] source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh"
+source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh
+
+format_plugins[++idx]="pr-format-prohibited-words"
+echo "${format_plugins[idx]} is starting."
+echo "[MODULE] TAOS/${format_plugins[idx]}: Check physical Source Lines of Code (SLOC) in a source code"
+echo "[DEBUG] The current path: $(pwd)."
+echo "[DEBUG] source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh"
+source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh
+
+
 
 ##################################################################################################################
 echo "[MODULE] plugins-staging: Plugin group that does not have an evaluation and aging test enough"
@@ -1,6 +1,5 @@
 #!/usr/bin/env bash
 
-
 ##
 # @file config-server-administrator.sh
 # @brief configuration file to declare contents that a server administrator installed.
diff --git a/.TAOS-CI/taos/config/prohibited_words.txt b/.TAOS-CI/taos/config/prohibited_words.txt
new file mode 100644 (file)
index 0000000..9771f6a
--- /dev/null
@@ -0,0 +1,3 @@
+samsung.net
+FUCK
+file
diff --git a/Documentation/ci-config/README.md b/Documentation/ci-config/README.md
deleted file mode 100644 (file)
index 1ef835c..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-# How to use config files
-
-These are TAOS-CI config files for nnstreamer.
-
-- http://github.com/nnsuite/TAOS-CI
-
-## How to use
-
-After adding TAOS-CI submodule in your project, link them.
-
-```bash
-$ mv TAOS-CI/ci/standalone/config/ TAOS-CI/ci/standalone/config.backup
-$ ln -s $PWD/Documentation/ci-config $PWD/TAOS-CI/ci/standalone/config
-```