Skip to content

Commit

Permalink
Update build ganglia and nagios github configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaoming Wang committed Jun 18, 2015
1 parent 52e423d commit 2077c87
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Linux-Builds/bin/build_hpcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ usage() {
8: Graphcontrol (deb only)
9: Ganglia-monitoring
10: Nagios-monitoring
11: Docs (Ubuntu 12.04 precise only)
11: Docs (Ubuntu 12.04 or 14.04 only)
-r|--release: HPCC release version. Example, 5.0.0-1
-u|--user: github user. Default is hpcc-systems
It can be multiple users for multiple branches separated by ','.
Expand Down
14 changes: 13 additions & 1 deletion Linux-Builds/bin/github/github_gm
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,19 @@ curDir=$(dirname $0)
. ${curDir}/github_common

[ -z "$1" ] && echo "Miss tag or branch name" && exit 1
TAG_BRANCH_NAME=$1

get_user_and_branch $1 ${github_user}

match_branch_suffix $branch2
if [ $? -eq 0 ]
then
TAG_BRANCH_NAME=ganglia-monitoring_$branch2
else
TAG_BRANCH_NAME=$branch2
fi

${curDir}/github_ce $1 OFF
[ $? -ne 0 ] && exit 1

GM_DIR=ganglia-monitoring

Expand Down
15 changes: 9 additions & 6 deletions Linux-Builds/bin/github/github_nm
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,21 @@
curDir=$(dirname $0)
. ${curDir}/github_common

[ -z "$1" ] && echo "Miss tag or branch name" && exit 1
match_branch_suffix $1
-z "$1" ] && echo "Miss tag or branch name" && exit 1

get_user_and_branch $1 ${github_user}

match_branch_suffix $branch2
if [ $? -eq 0 ]
then
TAG_BRANCH_NAME=nagios-monitoring_$1
TAG_BRANCH_NAME=nagios-monitoring_$branch2
else
TAG_BRANCH_NAME=$1
TAG_BRANCH_NAME=$branch2
fi



${curDir}/github_ce $TAG_BRANCH_NAME OFF
${curDir}/github_ce $1 OFF
[ $? -ne 0 ] && exit 1

NM_DIR=nagios-monitoring

Expand Down

0 comments on commit 2077c87

Please sign in to comment.