[CI] update config files.
authorsewon.oh <sewon.oh@samsung.com>
Fri, 23 Nov 2018 05:38:45 +0000 (14:38 +0900)
committerGeunsik Lim <leemgs@users.noreply.github.com>
Fri, 23 Nov 2018 07:11:32 +0000 (16:11 +0900)
For ci server, update config files.

Signed-off-by: sewon.oh <sewon.oh@samsung.com>
.TAOS-CI/taos/config/config-environment.sh
.TAOS-CI/taos/config/config-plugins-audit.sh
.TAOS-CI/taos/config/config-plugins-format.sh
.TAOS-CI/taos/config/config-server-administrator.sh
.TAOS-CI/taos/config/config-webhook.json
.TAOS-CI/taos/menu.html

index 4d5beb1..fd19167 100644 (file)
@@ -1,27 +1,29 @@
 #!/usr/bin/env bash
 
+# Do not append a license statement in the configuration file for a differnet license-based repository.
+
 ##
-# @file config-environment.sh
-# @brief Environment file to control all scripts commonly for CI bot
+# @file     config-environment.sh
+# @brief    The configuration file to maintain all scripts
 # @see      https://github.com/nnsuite/TAOS-CI
 # @author   Geunsik Lim <geunsik.lim@samsung.com>
 #
-# This script to maintain consistently all scripts files via this file. 
-# In the near future, all configuration variables will be integrated into this file. 
+# This script is to maintain consistently all scripts files.
 #
-# In case that you have to run this CI script at the below environment, Please change
+# If you have to run this CI script at the below environment, Please change
 # the contents appropriately.
 # a. In case that you want to apply this CI script to another repository
 # b. In case that you have to install CI in a new CI server for more high-performance
 # c. In case that you need to create new project
 #
 
-################# Default: Modify the below statements for your server  #######################
+################# Modify the below statements for your server  #######################
 
 
 #### Repository setting
-# Connecting to a repository using token id instead of your-gitbot-id@github.io id
-# because of two-authentification. Refer to https://github.com/settings/tokens
+
+# Token ID: Connecting to a repository using token id instead of id-name@github.io
+# in case of two-authentification situation. Refer to https://github.com/settings/tokens
 TOKEN="xxxxxxxxxxxx558807ed7a0cdd02bfd6d431d7ca"
 
 # Name of account (or orgranzation)
@@ -73,7 +75,7 @@ pr_comment_many_commit=0
 pr_comment_pr_monitor=0
 
 #### Build test: Write build type to test ex) "x86_64 armv7l" 
-pr_build_arch_type="x86_64 armv7l aarch64"
+pr_build_arch_type="x86_64 i586 armv7l aarch64"
 
 ### Check level of doxygen tag:
 # Basic = 0 (@file + @brief)
@@ -104,8 +106,11 @@ BUILD_MODE_TIZEN=0
 BUILD_MODE_UBUNTU=0
 BUILD_MODE_YOCTO=99
 
+# Pull Request Scheduler: The number of jobs on Run-Queue to process PRs
+RUN_QUEUE_PR_JOBS=8
+
 # Version format: Major.Minor
-VERSION="1.20180820"
+VERSION="1.20181123"
 
 #### Location
 
index de130a9..786db4c 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+# Do not append a license statement in the configuration file for a differnet license-based repository.
+
 ##
 # @file     config-plugins-audit.sh
 # @brief    Configuraiton file to maintain audit modules (after completing a build procedure)
index 4a9493c..1a9ea2f 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+# Do not append a license statement in the configuration file for a differnet license-based repository.
+
 ##
 # @file     config-plugins-format.sh
 # @brief    Configuration file to maintain format modules (before doing a build procedure)
@@ -116,9 +118,6 @@ source ${REFERENCE_REPOSITORY}/ci/taos/plugins-good/${format_plugins[idx]}.sh
 format_plugins[++idx]="pr-format-doxygen-build"
 echo "${format_plugins[idx]} is starting."
 echo "[MODULE] TAOS/${format_plugins[idx]}: Check a doxygen grammar if a doxygen can normally generates 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-sloccount"
 echo "${format_plugins[idx]} is starting."
@@ -129,11 +128,17 @@ 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 "[MODULE] TAOS/${format_plugins[idx]}: Check if source codes have prohibited words."
 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-signed-off-by"
+echo "${format_plugins[idx]} is starting."
+echo "[MODULE] TAOS/${format_plugins[idx]}: Check 'Signed-off-by' in commit body"
+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
 
 
 ##################################################################################################################
index 8832379..796d8d4 100644 (file)
@@ -1,5 +1,7 @@
 #!/usr/bin/env bash
 
+# Do not append a license statement in the configuration file for a differnet license-based repository.
+
 ##
 # @file config-server-administrator.sh
 # @brief configuration file to declare contents that a server administrator installed.
index 3917eed..dfa62ac 100644 (file)
@@ -1,8 +1,13 @@
 {
-    "github": {
-        "website": "github.com",
-        "id": "xxxxxx",
-        "email": "xxxxxx@github.io",
-        "secret": "xxxxxx"
-    }
+  "github": {
+    "website": "github.com",
+    "id": "<your-github-id>",
+    "email": "<your-github-id>@github.io",
+    "secret": "<github-setting-secret-name>"
+  },
+  "broken_arrow": {
+    "id": "<id-for-broken-arrow>",
+    "pass": "<password-for-broken-arrow>",
+    "ip": "<ip-address-for-broken-arrow>"
+  }
 }
index 54c017e..5212425 100644 (file)
@@ -40,6 +40,8 @@
             <option value="../repo-workers/?C=M;O=D/">PR: Report Archive</option>
             <option value="../taos/webapp/monitor.php">PR: Running PRs</option>
             <option value="../taos/webapp/top.php">PR: Resource Usage</option>
+            <option value="../taos/webapp/pstree.php">PR: Resource Usage(pstree)</option>
+            <option value="../taos/webapp/broken-arrow.php">System: Broken Arrow</option>
         </select>
         &nbsp;
     </font>