mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 19:22:40 +00:00

* Centralize runtime check code used throughout CI. * Add checks to confirm that each of the agent dashboards can be fetched.
17 lines
375 B
Bash
Executable file
17 lines
375 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
# shellcheck source=./packaging/makeself/functions.sh
|
|
. "${NETDATA_MAKESELF_PATH}"/functions.sh "${@}" || exit 1
|
|
|
|
dump_log() {
|
|
cat ./netdata.log
|
|
}
|
|
|
|
trap dump_log EXIT
|
|
|
|
"${NETDATA_INSTALL_PATH}/bin/netdata" -D > ./netdata.log 2>&1 &
|
|
|
|
"${NETDATA_SOURCE_PATH}/packaging/runtime-check.sh" || exit 1
|
|
|
|
trap - EXIT
|