From 49ced72f3547d548a806312293b003202171dd56 Mon Sep 17 00:00:00 2001 From: "sewon.oh" Date: Fri, 23 Nov 2018 14:38:45 +0900 Subject: [PATCH] [CI] update config files. For ci server, update config files. Signed-off-by: sewon.oh --- .TAOS-CI/taos/config/config-environment.sh | 25 +++++++++++++--------- .TAOS-CI/taos/config/config-plugins-audit.sh | 2 ++ .TAOS-CI/taos/config/config-plugins-format.sh | 13 +++++++---- .../taos/config/config-server-administrator.sh | 2 ++ .TAOS-CI/taos/config/config-webhook.json | 17 +++++++++------ .TAOS-CI/taos/menu.html | 2 ++ 6 files changed, 41 insertions(+), 20 deletions(-) diff --git a/.TAOS-CI/taos/config/config-environment.sh b/.TAOS-CI/taos/config/config-environment.sh index 4d5beb1..fd19167 100644 --- a/.TAOS-CI/taos/config/config-environment.sh +++ b/.TAOS-CI/taos/config/config-environment.sh @@ -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 # -# 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 diff --git a/.TAOS-CI/taos/config/config-plugins-audit.sh b/.TAOS-CI/taos/config/config-plugins-audit.sh index de130a9..786db4c 100644 --- a/.TAOS-CI/taos/config/config-plugins-audit.sh +++ b/.TAOS-CI/taos/config/config-plugins-audit.sh @@ -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) diff --git a/.TAOS-CI/taos/config/config-plugins-format.sh b/.TAOS-CI/taos/config/config-plugins-format.sh index 4a9493c..1a9ea2f 100644 --- a/.TAOS-CI/taos/config/config-plugins-format.sh +++ b/.TAOS-CI/taos/config/config-plugins-format.sh @@ -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 ################################################################################################################## diff --git a/.TAOS-CI/taos/config/config-server-administrator.sh b/.TAOS-CI/taos/config/config-server-administrator.sh index 8832379..796d8d4 100644 --- a/.TAOS-CI/taos/config/config-server-administrator.sh +++ b/.TAOS-CI/taos/config/config-server-administrator.sh @@ -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. diff --git a/.TAOS-CI/taos/config/config-webhook.json b/.TAOS-CI/taos/config/config-webhook.json index 3917eed..dfa62ac 100644 --- a/.TAOS-CI/taos/config/config-webhook.json +++ b/.TAOS-CI/taos/config/config-webhook.json @@ -1,8 +1,13 @@ { - "github": { - "website": "github.com", - "id": "xxxxxx", - "email": "xxxxxx@github.io", - "secret": "xxxxxx" - } + "github": { + "website": "github.com", + "id": "", + "email": "@github.io", + "secret": "" + }, + "broken_arrow": { + "id": "", + "pass": "", + "ip": "" + } } diff --git a/.TAOS-CI/taos/menu.html b/.TAOS-CI/taos/menu.html index 54c017e..5212425 100644 --- a/.TAOS-CI/taos/menu.html +++ b/.TAOS-CI/taos/menu.html @@ -40,6 +40,8 @@ + +   -- 2.7.4