Age | Commit message (Collapse) | Author |
|
* Revert "Revert "Introduce a random sleep in the Netdata updater (#9079)" (#9161)"
This reverts commit e92d2ce7a155a33ee6b0acfd928f357251c02c69.
* Add option to updater to disable randomized delay.
Primarily intended for CI, also useful for automated deployment tools
like Ansible.
* Use correct paths in CI.
* Mke variable name match option name.
|
|
failing (#9165)
* Add tool to build the dist and static x864_64 artifacts
* Add support for overriding the URL for installing/updating from nightlies
* Refactor curl/wget usage into less places. Use curl -q and --output and -O options instead of redirecting stdout
* Update md5sum(s) of kickstart/kickstart-static64
|
|
This reverts commit cea8a3fcbb3b48fce545d19bce2b5cf920c6794d.
|
|
* Introduce a random sleep in the Netdata updater
* Only sleep if we're not a tty (e.g: cron) and use a random interval between 30m-60m
* Set lower bound to 1s
* Disable random sleep / netdata-updater splay in lifecycle tests
|
|
* Initial installer components for new dashboard.
* Add script to switch between react and classic dashboards.
* Update to newest version of react dashboard.
* Properly substitute webdir.
* Fix installation of dashboard switch script.
* Properly handle file ownership and permissions.
* Fix install of react dashboard.
* Add dashboard_info.js to the react dashboard tree.
* Update to version 0.3.2 of the React dashboard.
* Switch using file lists instead of nuking old directory.
* Properly handle updates.
* Fix variable naming in switching script.
* Fix copying of files in switching script.
* Fix switching script invocation in installer.
* update dashboard to v0.4.0
* v0.4.1
gauge & easypiechart width update
proper centering when clicking alarm in alarms-log
keep loader until react app is ready
fix top bar not showing when highlighting (few lines of code)
"check known URLs" issue
"reset" options is not hooked up
go to host node from streamed node (low priority, because that's removed on release)
* Persist user selection of dashboard across updates.
* update dashboard to v0.4.2 (temperature, units options fixed)
* v0.4.5
fixed print modal progress text
force reload on sync-selection option change
* fix memory leak on firefox
* fix active-alarms number in main.js header
fix "back to normal" notifications constantly throwing in loop
* fix active-alarms fetching
* support subpaths
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
|
|
|
|
* Fix lack of proper cleanup in netdata updater
* Use EXIT pseudo signal
|
|
|
|
|
|
* Fix proposal for #8027
This commit changes the check for updated releases when running in manual mode
* Default (current|latest)_version to 0 and invert the logic
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
|
|
* Re-formatted ./packaging/installer/netdata-updater.sh with shfmt -w -i 2 -ci -sr
* Fixed errors/warnings founds with shellcheck for ./packaging/installer/netdata-updater.sh
* Fixed logic for removing TMPDIR
* Fixed logic for removing TMPDIR proper
* Fixed another shellcheck warning that ReviewDog found
* Added support for only performing updates if there is a newer version
* Fixed exit 1 on bad cd
* Fixed expansion of pids in kill
* Trigger CI
|
|
./packaging/installer/netdata-updater.sh (#7938)
* Re-formatted ./packaging/installer/netdata-updater.sh with shfmt -w -i 2 -ci -sr
* Fixed errors/warnings founds with shellcheck for ./packaging/installer/netdata-updater.sh
* Fixed logic for removing TMPDIR
* Fixed logic for removing TMPDIR proper
* Fixed another shellcheck warning that ReviewDog found
* Fixed exit 1 on bad cd
* Fixed expansion of pids in kill
|
|
-sr (#7937)
|
|
|
|
This was left over from testing, and I forgot to remove it before
merging the changes needed to make the updater work for static installs.
|
|
* Store only the options for reinstall, not the full command.
This simplifies handling of updates with the static installer.
* Properly utilize the updater for static installs.
* Disable auto-updater when using local files.
If using local files, we can probably assume a system without a network
connection, so don't enable the auto-updater.
* Document support for auto-updates from kickstart-static64
* Fix infinite loop in auto-update option.
* Update kickstart-static64 checksum in docs.
* Remove unnecessary `sed` argument.
Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
|
|
install with ssl on MacOS (#6922)
* netdata/packaging: allow passing of LDFLAGS, together with CFLAGS
* netdata/packaging: add instructions for mac
* Update packaging/installer/README.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/installer/README.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* Update packaging/installer/README.md
Co-Authored-By: Joel Hans <joel.g.hans@gmail.com>
* netdata/docs: fix doc as per feedback
Co-authored-by: Joel Hans <joel.g.hans@gmail.com>
|
|
(#6555)
* netdata/packaging: Move tarball checksum information into lib dir of netdata
1) Introduce NETDATA_LIB_DIR within environment file, we are going to need to refer to it
2) move NETDATA_TARBALL_CHECKSUM to /netdata.tarball.checksum
3) Make sure you support transitional period, which means load and remove the variable from the old location then move it to the new one
* netdata/packaging: relocate netdata-updater.sh and netdata-uninstaller.sh
|
|
installations. (#6520)
* netdata/packaging: Start support for netdata-updater compatibility on static installation
1) Make netdata-installer.sh accept --static option, that simply passes variable IS_NETDATA_STATIC_BINARY=yes to the environment
2) Adjust the updater to check that variable and then is set to yes, make it download the static binary and run the static binary
In theory, this should give us the required info on the updater. Only thing missing is how to catch the extra arguments the user might have given on the initial install.
Will rework this after i test this first draft change
* netdata/packaging: dont forget to enter the temp dir and also return to the original one afterwards. Print some info too.
* netdata/packaging: reduce complexity on parameters for installer. Rather expect the variable to be set by the caller.
this way we wont let the users get confused by the existence of a flag that only has internal usage.
* netdata/packaging: dont forget to clean up the whole folder, its a temp
|
|
updater (not uninstaller). Also some style
|
|
|
|
* netdata: fix attempt for labels
* Revert "netdata: fix attempt for labels"
This reverts commit b61525925f5a6d752eac97e4a1cd7af915567ad2.
* netdata: fix attempt for labels (2)
* netdata/packaging/installer: Improvements over netdata installer process around go.d plugin
1) Align retries and timeouts between curl and wget scenarios, should take same time with either tool
2) Add more information when reaching the two error cases, to instruct the user on how to handle the errors
3) Make the download failure a soft error, just warn about skipping install
4) Rename download to download_go, we only run it for go so make this crystal clear
* netdata/packaging/installer: when download has not succeeded, warn the user abort the go.d install and continue
* netdata/packaging: Enforce usage of predefined start/stop commands for netdata. Add some verbosity too for visibility
* netdata/packaging/installer: FreeBSD install - add a note for rc setup, then during first start up use onestart to avoid confusing warnings
* netdata/packaging: Add newer debian supported versions, also a info print nit
* netdata/packaging: Attend first feedback - use separate variable for the command needed by installer
* netdata/packaging: make POSIX compliant equalities. The double equal sign is not working on all shells (dash for example)
* netdata/packaging: fix missed md5sum update in README.md
* netdata/packaging: revert debian selection - got misguided
I obviously didnt test correctly and i misread the release notes, i didnt check the introduction
of systemd during jessie release, i only looked for mentions in stretch.
So revert this change and retest both on droplet and container installations
* netdata/packaging: MacOS - silence a few unimportant errors, make initial detection friendlier
1) Silence failure of commands that are expected to fail on mac
2) add alternatives to uname, to match mac syntax for friendlier output
* netdata/packaging: Update README.md
* netdata/packaging: Adjustments from PR feedback
1) inform about disable-go when bailing out on download failure
2) Make sure you fail the download if the file is empty
3) Make sure you bail out if checksum fails
* netdata/packaging/ci: revert download timeout logic for wget -- seems that there was an exceptional case on wget requiring this differentiation as per cakrits comments -- will revise later, as this is not critical to change
|
|
* netdata/packaging/ci: stronger validations during install, add some comments, change validation of CWD
* netdata/packaging/ci: Add a lifecycle test to validate update from stable to latest works smooth
-> Add updater BATS script that does the trick for installing stable then migrating to latest using current code and not nightly
-> Integrate with travis
-> Rename /code to /netdata in travis, scripts will eventually expect the TLD of repo to be actually named netdata, so test will start failing later
-> Introduce a flag on the updater, so that it doesn't download the tarball, but it rather works with a local pre-defined directory. If a user wants
to override the update process, so that it runs with a different repository he just needs to export NETDATA_LOCAL_TARBAL_OVERRIDE with the desired repo directory
* netdata/packaging/ci: Add required packages for it to run
|
|
1)remove function keyword
2)update README.md
|
|
|
|
* netdata/packaging/installer: Introduce safe_sha256sum - a more flexible checsum function
Due to #5747 we discovered that our installer wasnt working properly on FreeBSD.
We created within our functions lib a safe_sha256sum that picks between sha256sum and shasum, with priority to the first method
* netdata/packaging/installer: Update checksums in README
|
|
|
|
[patch]
|
|
|
|
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
* Make curl silent and show errors only if it fails
|
|
|
|
[netdata patch release]
|
|
* gitignore rules for generated files matched packaging content
* follow http redirects when downloading via curl (#5411)
|
|
|
|
* add gating before using polyverse
* workaround for installations which doesn't use newer installer
* fix #5225; #5229; #5228; #5208
|
|
* updater using GCS
* new lifecycle test
* modify lifecycle test
* Update netdata-updater.sh
* simplify conditions in installer
* less quotes
|
|
* move installer dir under packaging
* fix docs creation
* uninstaller is broken and fix will be created in #5031
* fix links in docs
|