summaryrefslogtreecommitdiffstats
path: root/netdata-installer.sh
diff options
context:
space:
mode:
authorMansour Behabadi <57921115+ncmans@users.noreply.github.com>2019-12-20 23:16:23 +1100
committerGitHub <noreply@github.com>2019-12-20 23:16:23 +1100
commitd0e424144749a9748c5de4f0888d8e8ec5647b78 (patch)
tree664323313c1325d6703ba3b9f660ee2c74fa57ac /netdata-installer.sh
parent91a8e3bb23b879e8312f848ffef560299bcbe43b (diff)
packaging: Set default release channel to stable for gh releases (#7399)
* packaging: Set default release channel to stable for gh releases * Leave kickstart files alone * Update .travis/create_artifacts.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Mansour Behabadi <mansour@oxplot.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Diffstat (limited to 'netdata-installer.sh')
-rwxr-xr-xnetdata-installer.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/netdata-installer.sh b/netdata-installer.sh
index 4e4f21cc6a..601549d049 100755
--- a/netdata-installer.sh
+++ b/netdata-installer.sh
@@ -155,6 +155,8 @@ USAGE: ${PROGRAM} [options]
--auto-update or -u Install netdata-updater in cron to update netdata automatically once per day
--stable-channel Use packages from GitHub release pages instead of GCS (nightly updates).
This results in less frequent updates.
+ --nightly-channel Use most recent nightly udpates instead of GitHub releases.
+ This results in more frequent updates.
--disable-go Disable installation of go.d.plugin.
--enable-plugin-freeipmi Enable the FreeIPMI plugin. Default: enable it when libipmimonitoring is available.
--disable-plugin-freeipmi
@@ -202,7 +204,7 @@ AUTOUPDATE=0
NETDATA_PREFIX=
LIBS_ARE_HERE=0
NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS-}"
-RELEASE_CHANNEL="nightly"
+RELEASE_CHANNEL="nightly" # check .travis/create_artifacts.sh before modifying
IS_NETDATA_STATIC_BINARY="${IS_NETDATA_STATIC_BINARY:-"no"}"
while [ -n "${1}" ]; do
case "${1}" in
@@ -212,6 +214,7 @@ while [ -n "${1}" ]; do
"--dont-wait") DONOTWAIT=1;;
"--auto-update"|"-u") AUTOUPDATE=1;;
"--stable-channel") RELEASE_CHANNEL="stable";;
+ "--nightly-channel") RELEASE_CHANNEL="nightly";;
"--enable-plugin-freeipmi") NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--enable-plugin-freeipmi/} --enable-plugin-freeipmi";;
"--disable-plugin-freeipmi") NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--disable-plugin-freeipmi/} --disable-plugin-freeipmi";;
"--disable-https") NETDATA_CONFIGURE_OPTIONS="${NETDATA_CONFIGURE_OPTIONS//--disable-https/} --disable-https";;