Age | Commit message (Collapse) | Author |
|
* bundle libyaml
* remove comment
* .github/workflows/coverity.yml
* add to coverity and tests
* add deps
* add to netdata.spec.in
* add to contrib/debia/control
* remove extra gentoo libyaml
|
|
Find issue with x86_64 mock build
```bash
+ /builddir/build/BUILD/netdata-v1.38.1/packaging/bundle-libbpf.sh /builddir/build/BUILD/netdata-v1.38.1 centos8
cp: cannot stat '/builddir/build/BUILD/netdata-v1.38.1/packaging/current_libbpf.checksums': No such file or directory
cp: cannot stat '/builddir/build/BUILD/netdata-v1.38.1/packaging/current_libbpf.version': No such file or directory
v1.1_netdata.tar.gz: OK
make: Entering directory '/builddir/build/BUILD/netdata-v1.38.1/externaldeps/libbpf/libbpf-1.1_netdata/src'
Package libelf was not found in the pkg-config search path.
Perhaps you should add the directory containing `libelf.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libelf', required by 'virtual:world', not found
MKDIR build//staticobjs
CC build//staticobjs/bpf.o
CC build//staticobjs/btf.o
btf.c:18:10: fatal error: gelf.h: No such file or directory
#include <gelf.h>
^~~~~~~~
compilation terminated.
make: *** [Makefile:131: build//staticobjs/btf .o] Error 1
make: Leaving directory '/builddir/build/BUILD/netdata-v1.38.1/externaldeps/libbpf/libbpf-1.1_netdata/src'
error: Bad exit status from /var/tmp/rpm-tmp.2itZZI (%prep)
RPM build errors:
bogus date in %changelog: Wed Feb 03 2022 Austin Hemmelgarn <austin@netdata.cloud> 0.0.0-16
Bad exit status from /var/tmp/rpm-tmp.2itZZI (%prep)
Child return code was: 1
```
The conditional BuildDeps fixed this issue
|
|
for. (#14544)
* Move systemd-specific system files to their own directory.
* Move non-systemd init scripts to individual subdirectories.
* Move cron files to their own directory.
* Move logrotate config to it’s own directory.
* Fix typos in Makefile.am.
* Fix Debian package builds.
* Fixed issues reported by @andrewm4894.
|
|
Fixes https://github.com/netdata/netdata/issues/14132
fix https://github.com/netdata/netdata/issues/14132
|
|
|
|
|
|
|
|
|
|
* Added Alma Linux 9 and RHEL 9 support to CI and packaging.
* Fix RPM deps for Alma 9.
* Fix package testing code for Alma 9.
|
|
* Remove node.d.plugin and relevant files
* fix build packages
* remove node.d related words/phrases from docs and tests
|
|
* Disable automake dependency tracking in our various one-time builds.
* Also disable dependency tracking code in package builds.
|
|
|
|
|
|
* Add support to the updater to toggle auto-updates on and off.
This also adds the updater script to our native packages.
* Move argument handling logic to updater enabler function.
* Properly handle crontab case.
|
|
* Bundle protobuf on CentOS 7 and earlier.
* Fix protobuf dep list in spec file.
|
|
(#12182)
This reverts commit da7f215ad6c98cbf54ab93dbc1d2457ac01dbb08.
|
|
* Bundle updater script in native packages.
* Move code for enabling/disabling auto-updates to netdata-updater.sh
This lets us handle the logic sanely from the kickstart script
regardless of the install method, and allows users to more reliably
toggle auto-updates themselves without having to understand what is
being done.
* Add proper case-agnosticism to auto-update type selection.
* Move auto-updater handling code to kickstart script.
* Properly handle running against an older source tree.
* First part of updater docmentation updates.
* Fixed handling of updater in DEB packages.
* Further documentation updates.
* Minor typo fixes.
|
|
* remove legacy from makefiles
* remove ACLK Legacy from installer
* remove ACLK Legacy from configure.ac
* remove legacy from cmake
* aclk api cleanup
* remove legacy files from packaging
* changes for CI from Austin
|
|
|
|
We are intentionally not using LTO by default in almost every case
because it provides little to no performance improement for us and has a
_huge_ impact on build times, which in turn results in our CI taking an
unreasonably long time to run.
|
|
* Added ARM binary package builds to CI.
* Tidy-up workflow so it runs faster.
* Update cmake options for LWS.
* Package build process tweaks.
* Add Fedora 34 32-bit ARM package build.
* Disable eBPF in ARM package builds.
* Fix conditional in DEB package build.
* Fix RPM architecture handling.
* Really fix conditional in DEB package build.
* Fix handling of eBPF in DEB packages.
* Fix RPM libbpf bundling.
* Differentiate uploaded artifacts by architecture.
* Add CentOS 8 ARMv8 package build.
|
|
* Remove EPEL and OKay repo dependencies for CentOS 8.
We don’t actually need anything from EPEL in a vast majority of cases,
and the only stuff we needed from OKay is now provided by PowerTools.
This makes us a lot more portable overall.
* Bundle LWS in CentOS 8 RPMs.
This eliminates a need to use EPEL during the package building process,
which in turn removes the strict coupling with CentOS as the build
platform (most notably, this lets us use Rocky Linux for the build).
* Also try using DNF on CentOS systems.
|
|
|
|
* Do not accept a path when using --with-bundled-lws.
The bundled library is always placed under externaldeps/libwebsockets,
when using the netdata-installer.sh script. When this option is missing,
we look for the system-wide installed version.
* Do not accept a path when using --with-bundled-libJudy.
The bundled library is always placed under externaldeps/libJudy. When
the option is not given, we look for the system-wide installed version.
* Use absolute header paths for repo-internal deps.
* Use absolute library paths for repo-internal deps.
|
|
* Remove code for bundling the dashoard on install.
* Bundle the dashboard code directly into the agent repo.
This diffstat looks huge, but it’s actually relatively simple. The only
_actual_ changes are in the Makefiles, `configure.ac`, and the addition of
`generate_dashboard_makefile.py`. Everything else consists of removing
files that are included in the dashboard tarball, and extracting the
contents of the tarball into `web/gui/dashboard`.
* CI cleanup.
* Automate bundling of the dashboard code.
This replaces the makefile generator script with one that handles
bundling of the dashboard code in it’s entirety, and updates the GHA
workflow used for generating dashboard PRs to use that instead of the
existing shell commands.
It also removes the packaging/dashboard.* files, as they are no longer
needed.
|
|
|
|
* Add a new GHA workflow for building and publishing binary packages.
This greatly simplifies the package handling code, significantly reduces
the amount of things we are running in Travis, adds better CI for package
builds for PRs, finally eliminates LXC from any of our CI, and enables
us to make further major improvements much easier.
* Migrate repo cleanup to GHA and remove dead code.
* Fix RPM package builds.
* Fix DEB installation.
|
|
* Removed pointless capabilities in our RPM spec file.
* Shifted slabinfo and perf plugins to use proper capabilties instead of
being SUID root.
|
|
The original intent was to only use a static copy of LWS if we couldn’t
use a system copy. Due to two incorrect conditionals in the spec file
though, what was actually happening was that we were using a static
build of LWS on systems where we could use a system copy, and not
linking against LWS at all on other systems.
This fixes those conditionals so that we use a system copy if available,
and provide a static copy if a system copy is not available.
|
|
|
|
* Switched to using system libwebsockets for RPM builds.
Also cleans up the configure statement in the RPM spec file.
* Add version requirement for LWS dep and only use native on platforms that meet it.
|
|
Unintentionally broken by #9984. This re-enables cloud support in binary
packages.
|
|
|
|
Our current RPM spec file includes _all_ of our library dependencies as
statically listed `Requires:` lines. This, in turn, requires a very
large number of conditionals in the dependencies to account for package
naming differences between RPM distros, and also makes it a pain in the
arse to port the spec file to work with new releases of existing
distros.
This changes the spec file to just use the automatic `Requires:`
generation functionality that's already included in the RPM build
process. The net effect is that the spec file ends up much cleaner, and
it works just about anywhere with minimal modification., as well as us
not having to track anything but build dependencies manually.
|
|
|
|
|
|
|
|
|
|
|
|
* Add DEB/RPM package build tests to Travis.
* Add working support for bundling eBPF in binary packages.
* Show stdout and stderr from commands run in LXC.
* Add proper bundling code for libbpf.
* Use AC_CHECK_FILE for libbpf.a external dep.
This way it gets properly logged in both configure output and the
configure log.
|
|
(#9552)
* Revert "Fix SHA256 handling in eBPF bundling code. (#9546)"
This reverts commit 7ff315810e1d2c5871c4e87049687852b2cee7ee.
* Revert "Add eBPF bundling script to `make dist`. (#9539)"
This reverts commit 3a7961d4176aee63f24c4cbc96dabaa13010d6f1.
* Revert "Properly include eBPF collector in binary packages. (#9450)"
This reverts commit 690fbcefd3ae0cbc858870ad64d320f6f251e5fc.
|
|
|
|
|
|
We renamed eBPF collector for a more meaningful name.
|
|
* Use a prefix for the old dashboard.
This switches the code for handling of the new React dashboard to use a
prefix for accessing the old dashboard instead of relying on a switching
script to handle selecting the desired dashboard implementation.
It also adds proper support to the packaging code to bundle the React
dashboard.
* Fixed typos in web/gui/Makefile.am.
* Tidy up prefixed dashboard.
This is based on discussion with cakrit about how to handle this more
sanely.
* use /old suffix for streamed nodes links in dropdown menu
* fix fetching dynamic vendor files with /old suffix
Co-authored-by: Jacek Kolasa <jacek.kolasa@gmail.com>
|
|
* Add JSON-C dependency handling to instlal and packaging.
* Update build failure message.
|
|
* Revert "Fix broken Fedora 30/31 RPM builds (#8572)"
This reverts commit 71290d9cb904e8ea08456e5c4ab24bc274e593bf.
It didn't actually fix things and caused a different set of issues.
* Build LWS and mosquitto with -fPIC in RPM builds.
This fixeslinking errors that are currently causing RPM package build
failures for Fedora 30/31.
|
|
* Added code to bundle LWS in binary packages.
This adds the required tode to bundle a custom build of libwebsockets as
required by Netdata Cloud functionality into the binary packages.
* Update packaging/bundle-lws.sh
Co-Authored-By: James Mills <prologic@shortcircuit.net.au>
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
|
|
This reverts commit 1477784048319e84127e466add6eb4a092c235e1.
Fixes #8283
|
|
(#7216)
Co-authored-by: James Mills <prologic@shortcircuit.net.au>
|