* allow users to install any version; stop netdata before installing the update
* fix compatibility with wix 4
* fix-msi: Remove conflict between options (https://docs.firegiant.com/wix3/xsd/wix/majorupgrade/)
* fix-msi: Comment not allowed code. We cannot have more than one primary key listed (FileInUse)
* fix-msi: Add Power Shell script to be called after installation
* fix-msi: Copy power shell script to installer.
* fix-msi: Add option to do download and move PS file
* fix-msi: First try run at the end
* iis_ad: Fix wrong execution order and call to powershell
* fix-msi: Add messages and test to Power Shell script
---------
Co-authored-by: thiagoftsm <thiagoftsm@gmail.com>
* Centralize cache path handling.
* Add better debugging support for static build infrastructure.
* Centralize handling of git repository fetching for static builds.
* Centralize build directory handling in the static build.
And quit using a sub-directory of packaging/makeself from the source
tree for it.
* Remove version numbers from static build jobs.
* Better organize static build jobs.
0x numbers for non-build prep-work
1x numbers for libraries that potentially impact multiple other things
we vendor.
2x numbers for libraries that are direct dependencies of Netdata
3x numbers for combined libraries and tooling used by Netdata
4x numbers for general tooling used by Netdata
5x numbers for tooling used by single specific components
6x numbers for non-build prep-work for the Netdata build
7x numbers for the actual build of Netdata
8x numbers for post-build checks
9x numbers for the actual packaging
* Clean up variable handling in Netdata build job.
* Split post-build handling steps to their own jobs.
This will make it easier to see what is actually going on in the build
process.
* Clean up CI messages.
* Split archive creation sub-steps into indivudal jobs.
* Disable shell tracing for archive creation job.
It’s not needed in 99.9% of cases, and should only be enabled locally if
it is needed.
* Assorted fixes for code restructuring.
* Tidy up paths for runtime check.
* Fix CI handling of artifacts.
Without this, the way our build works causes it to get updated and
rebuilt (and thus trigger relinking of multiple parts of the agent) when
`cmake --install` is called, which in turn makes installs take much
longer.
* Disable generation of debuginfo packages for DEB distros.
actually need to the debuginfo to work correctly, so split debug symbols don’t
Our automatic stacktrace logging and crash reporting functionality
really make sense for our use case.
* Only disable split debuginfo for core, not plugins.
We don’t do crash reporting or stack trace logging for plugins, so they
can still use the split debug info packages.
* Work around bugs in Debian 11 and Ubuntu 20.04.
* initial implementation of libbacktrace
* in buildinfo show the parameters of libbacktrace
* do not disable libbacktrace if threading is not supported
* Don’t install libbacktrace, only build it.
* Disable libbacktrace for 32-bit ARM builds.
* Make libunwind and libbacktrace mutually exclusive at configure time.
Instead of relying on it being mutually exclusive at build time. This
ensures we don’t waste time on libunwind when using libbacktrace.
* Only use libbacktrace on Linux and Windows
* Work around broken logic in openSUSE rpmbuild.
* Fix handling of libbacktrace for 32-bit ARM static builds.
---------
Co-authored-by: Austin S. Hemmelgarn <austin@netdata.cloud>
* disable UNW_LOCAL_ONLY on static builds
* disable stack traces with logs; get stack traces on deadly conditions only after saving status file
* signal handler safety only when UNW_LOCAL_ONLY is set
* removed warning
* Fix Go version requirement detection to not have external deps.
Instead of relying on a UNIX-like environment with the `grep` and `cut`
commands, perform the required data extraction using CMake code. This
makes it more portable, but also should speed things up a tiny bit
because it doesn’t require invoking external commands.
* Preliminary integration of the new otel-collector into the build.
Adding `-DENABLE_PLUGIN_OTEL=On` to CMake options will enable building
the plugin and installing it.
Currently disabled by default, and does not include packaging
integration yet.
The plugin itself can be built independently of the primary build system
but using the same build infrastructure that is used to build it as
part of the regular build by using CMake in the src/go/otel-collector
directory.
* Minor cleanup.
* Fix build prefix.
* Restructure to not use a sub-project.