diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2022-04-27 07:44:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-27 07:44:37 -0400 |
commit | 0fc101679dcd12f1cb8acdd07bb4c85d8e553e53 (patch) | |
tree | a917e066008f6d532ae4a02b081bbd53edb60e06 /.github | |
parent | 10bcf66593f40e730d958b61197a5e3eb12718a0 (diff) |
Correctly propagate errors and warnings up to the kickstart script from scripts it calls. (#12686)
* Overhaul deferred error handling in netdata-installer.sh
* Propagate errors from netdata-installer.sh properly to the kickstart script.
* Propagate errors from netdata-updater.sh properly to the kickstart script.
* Overhaul logging in uninstaller and integrate with error propagation in kickstart.sh.
* Fix name of variable used for propagating warnings.
* Fix handling of run_ok and run_failed with no arguments.
* Fix environment file validation in updater.
* Add debugging info to CI.
* Properly accept empty NETDATA_PREFIX in updater.
* Convert remaining unguarded unsuccessful exits in updater to use fatal.
* Fix usage of `env` in updater.
Diffstat (limited to '.github')
-rwxr-xr-x | .github/scripts/run-updater-check.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/scripts/run-updater-check.sh b/.github/scripts/run-updater-check.sh index 264ed616a7..d8961f8b4d 100755 --- a/.github/scripts/run-updater-check.sh +++ b/.github/scripts/run-updater-check.sh @@ -2,6 +2,9 @@ echo ">>> Installing Netdata..." /netdata/packaging/installer/kickstart.sh --dont-wait --build-only --disable-telemetry || exit 1 +echo "::group::Environment File Contents" +cat /etc/netdata/.environment +echo "::endgroup::" echo ">>> Updating Netdata..." export NETDATA_NIGHTLIES_BASEURL="http://localhost:8080/artifacts/" # Pull the tarball from the local web server. /netdata/packaging/installer/netdata-updater.sh --not-running-from-cron --no-updater-self-update || exit 1 |