Age | Commit message (Collapse) | Author |
|
|
|
automatically." (#14700)
Revert "Handle conffiles for DEB packages explicitly instead of automatically. (#14662)"
This reverts commit 95ccc9cd47510988c77c97b93308548efbc7d939.
|
|
|
|
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.
|
|
* Remove old documentation check related config files.
These are no longer used by any of our CI as far as I can tell.
* Purge LGTM configuration and references.
It has been fully shut down, so none of this works anymore.
* Purge Travis CI config, scripts, and references.
We are no longer using Travis CI, so all of this is useless.
* Pureg config for other CI tools we are no longer using.
* Remove old packaging related test scripts.
These haven’t been used in years, and are potentially confusing for new
contributors.
* Restore MLC configuration.
It is, in fact, still in use.
* Fix bogus CI config in dist files.
* Fix botched merge in CODEOWNERS.
|
|
* 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.
|
|
(#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
|
|
* 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.
|
|
* 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.
|
|
* Removed pointless capabilities in our RPM spec file.
* Shifted slabinfo and perf plugins to use proper capabilties instead of
being SUID root.
|
|
Unintentionally broken by #9984. This re-enables cloud support in binary
packages.
|
|
|
|
* 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.
|
|
|
|
Also cleanup unused templating in postint
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
|
|
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
|
|
* 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>
|
|
expect. (#8468)
* update netdata.conf for debian build
* Fix Debian Ubuntu SystemD Unit packaging
* avoid duplicate netdata.conf files
violates single source of truth principle, use schema from #8468 instead
* Fixed *DirectoryMode octets and bad ExecStart
* Fix dpkg-statoverride warnings
* Move the copy of debian/netdata.conf into the correct target (override_dh_install)
Co-authored-by: and0x000 <justanpc@gmail.com>
|
|
* 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 commit creates the following folders during the installation
of Debian packages:
- /var/log/netdata
- /var/cache/netdata
- /var/run/netdata
During the purge of the package, these folders are removed if empty.
Note that the permissions of `/var/log/netdata` allow the members of
the `adm` group to read the content.
Fixes #8173
|
|
This adds code to handle bundling our custom fork of libmosquitto into
our binary packages. It pulls down the required sources, builds them,
and copies the build artifacts into the right place so that the build of
Netdata actually uses them.
|
|
1) side fix: correction of wording in CUPS description
2) Create subpackage for free IPMI
3) Settle the rules for populating the new package and removing freeipmi from core package
Note: We use strict version matching, once this works fine we need to go back and fix this for CUPS as well
Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
|
|
* make install takes care of ownership and permissions of /etc/netdata
Instead of netdata-installer.sh
* Fix identation in Makefile.am files
* netdata-installer.sh: Clearer variable assignment
* netdata-installer.sh: Set /etc/netdata/netdata.conf ownership to root:root and permissions to 0644
* netdata-installer.sh: Set /etc/netdata/.environment permissions to 0644
* install-or-update.sh: Set permissions for /opt/netdata/etc/netdata.conf to 0644
* install-or-update.sh: Use ${NETDATA_PREFIX} more
* install-or-update.sh: Improve indentation
* install-or-update.sh: Do not create /opt/netdata/etc/netdata directories
* debian/rules: /etc/netdata files and directories are now installed by make install
* debian/rules: Properly copy files across directories
When destination directory exists
* netdata.spec.in: /etc/netdata ownership and permissions
* Revert "Fix identation in Makefile.am files"
This reverts commit 63fdb299b69152fda6984f81b0fef02f364c5efe.
* Remove uninstall-local recipes from Makefile.am files
* Removed superfluous whitespace and hash
|
|
|
|
### Summary
Provide new collector parsing `/proc/slabinfo` to provide details on kernel slab structures.
Asked by issue #13 (very happy for the oldest issue in backlog)
##### Component Name
collectors/slabinfo.plugin
##### Additional Information
This slabinfo details allows to have clues on actions done on your system.
In the following screenshot, you can clearly see a `find` done on a ext4 filesystem (the number of `ext4_inode_cache` & `dentry` are rising fast), and a few seconds later, an admin issued a `echo 3 > /proc/sys/vm/drop_cached` as their count dropped.
|
|
(#6724)
* netdata/packaging: baby steps, create the new package and introduce the install file
* netdata/packaging: [ci skip] change branch to be able to test
* netdata/packaging: we do define usrlib path to be /usr/lib
* netdata/packaging: silence sign errors for now
* netdata/packaging: Add rules for plugin-cups sub package
* netdata/packaging: [ci skip] That is libexec, not lib, duh
* netdata/packaging: [ci skip] explicitly arrange the other plugins also
* netdata/packaging: [ci skip] fix bug
* netdata/packaging: copy, dont move
* netdata/packaging: move all plugins around, also remove a slash
* netdata/packaging: [ci skip] align travis.yml changes with the ones we used on rpm cups pkg split
* netdata/packaging:[ci skip] add netdata dependency
* netdata/packaging:[ci skip] Update control files
* netdata/packaging: Add separate control file for buster, dependencies deviate (libprotoc17 instead of libprotoc10....)
* netdata/packaging: [ci skip] whoops
* netdata/packaging: [ci skip] Copy over files from temp dir, if destination non existent
* netdata/packaging:[ci skip] -d, not -f
* netdata/packaging: [ci skip] long shot
* netdata/packaging: [ci skip] revert this - need to retest
* netdata/packaging: [ci skip] remove the .install, as per an article input (https://askubuntu.com/questions/660373/dh-install-fails-with-missing-files) these files are for handling items not managed by the upstream build system, so bye bye
* netdata/packaging: Ok, lets ditch dh_auto_configure
* Revert "netdata/packaging: Ok, lets ditch dh_auto_configure"
This reverts commit 3b497cf5f6e157ce5429ffce38452515670a934a.
Well, that didn't affect anything
* netdata/packaging: [ci skip] here's a crazy thought
Okay, assuming that packager decided to use debian/tmp because we introduced multiple packages.
If that is the case, then move the custom stuff out first and then just move all debian/tmp to debian/netdata.
In theory, that should get me back on track for the rest of the package processing.
Lets see if i was right
* netdata/packaging: [ci skip] mv complains, forgot about that, fix
forgot about that, just copy for now to verify the use case and we will consider rsync approach for faster processing afterwards
* netdata/packaging: nope, that didn't work. rollback and remove also a suspicious backslash
* netdata/packaging: ok, trying this
* netdata/packaging: really?
* netdata/packaging: [ci skip] reinstate original setup, the bug probably was too obvious to spot
* netdata/packaging:[ci skip] now that you finally noted the www bug, try to copy over the rest of the stuff in
* netdata/packaging: [ci skip] long shot, etc is not properly created, lets see if it was already there and we messed it up
* netdata/packaging: [ci skip] fix perms, add placeholder folders in etc
* netdata/packaging: [ci skip] preserve ownership details when copying over
* netdata/packaging:[ci skip] reinstate branch condition
* netdata/packaging: redudant
* netdata/packaging: xenial - add cups subpackage
* netdata/packaging: remove cups dependency from those distros, missed to update the control file
* netdata/packaging: dont use personal account info
|
|
* netdata/packaging: Align libdir with the one we expect our installation to use, following the rest of the directory correllations
* netdata/packaging:[ci skip] One more
|
|
Overriding as i will be closely monitoring the results
|
|
* netdata/packaging: [ci skip] Add go.d version to a single place
* netdata/packaging: [ci skip] Things are a bit different in debian build, we need to define the path in a different way so pass it from the upper layer
* netdata/packaging: [ci skip] Missed to add on the makefile
* netdata/packaging: bump go.d version
|
|
process (#6465)
* netdata/packaging: [ci skip] reinstate dev branch to help testing
* netdata/packaging: [ci skip] Yes, make the right package choice on json-c for debian based distros..
* netdata/packaging: [ci skip] two more packages that differentiate on debian/ubuntu...............
* netdata/packaging: [ci skip] Add more package dependencies around building
* netdata/packaging: [ci skip] Introduce changelog generation technique for .DEB
1) Remove contrib/debian/changelog from gitignore, we want it in
2) Add variables to monitor latest release version and latest release date from git
3) Add a templated contrib/debian/changelog, that will be the starting point for our changelog generation.
Either on stable release or nightly releases, we will be generating the logs since the previous release, to manage the content.
Note: We might eventually take the effort to produce one large changelog and append each time the extra stuff
4) Add the steps to prepare the source and the changelog for building and execute the build
At this stage things should still be broken, but we should have come closer to a ready-to-build-the-package environment per distro
* netdata/packaging: [ci skip] Extract to specified directory, otherwise we dump it on a privileged folder using an unprivileged user (builder)
Also, a fix on sed command, missed the s keyword on the string
replacement
* netdata/packaging: [ci skip] Should be in-place replacement, use -i instead of -e
* netdata/packaging: [ci skip] wrong parameter usage
* netdata/packaging: [ci skip] factor out the two build commands to run as a single bundle. refactor trigger deb build script respectively
* netdata/packaging: [ci skip] Be sure to copy over the build script to the build path
* netdata/packaging: [ci skip] OCD - unnecessary s added
* netdata/packaging: [ci skip] Changelog generation should take place on the repo side, then copy it over to the destination (If that doesnt work well, will just provide a static link for changelog
* netdata/packaging: [ci skip] missed the ignore branch option
Also, a nit on the gbp command
* netdata/packaging: [ci skip] link to the original path, then create symlink on build folder
Also, fix --since option
* netdata/packaging: [ci skip] Run replacement of changelog fields on the host, not on the container
* netdata/packaging: [ci skip] fix contrib path, you are no longer reading from container path
* netdata/packaging: [ci skip] fix version
* netdata/packaging: [ci skip] add dep
* netdata/packaging: [ci skip] fix changelog template
* netdata/packaging: [ci skip] Fix debian package build, we were looping through forever. Exclude contrib all together
* netdata/packaging: [ci skip] Add logic to gather all package related content from the container folder and push it for publishing
* netdata/packaging: [ci skip] fixes and nits
1) use the branch for the beta deployment
2) change the cp pattern
* netdata/packaging:[ci skip] add more debug info
* netdata/packaging: [ci skip] Adjust LXC directory permissions, so that the rest of the workflow can pull through
* netdata/packaging: [ci skip] Using expressions within double quotes doesnt work, use quotes only on the variable to avoid syntax warnings from shellchecking
* netdata/packaging: [ci skip] Update build deps
* netdata/packaging: Add runtime deps (hopefully)
* netdata/packaging: [ci skip] remove old distro
* netdata/packaging: [ci skip] dont let that space there, breaks the syntax
* netdata/packaging: [ci skip] missed one
* netdata/packaging: [ci skip] yank yank yank
* netdata/packaging: [ci skip] You missed www over there
* netdata/packaging: [ci skip] Remove broken distros (no container images). We will revisit the way to support multiple distros in a different way, lxc failed us
* netdata/packaging: Pull in go.d plugin, also fix chmod command to just pass the folder since with the -R doesnt require anything else
* netdata/packaging: [ci skip] Get cups, freeipmi and nfacct on
* netdata/packaging: [ci skip] pull different package in
* netdata/packaging: [ci skip] Install dependencies on the build machine
* netdata/packaging: [ci skip] dont do post-clean, not on all versions
* netdata/packaging: [ci skip] move go install seperately
* netdata/packaging: [ci skip] Towards a more appropriate go.d plugin install
* netdata/packaging: [ci skip] fix permissions setting
* netdata/packaging: [ci skip] fix freeipmi package install
* netdata/packaging: [ci skip] Fix build arch setting on the build command, also remove pre-clean, it breaks on debian/jessie
* netdata/packaging: [ci skip] fix postinst actions, we use libexec
* netdata/packaging: adjust www and go.d permissions
* netdata/packaging: [ci skip] Handle the different build tool version cases, also take care some dependency issues on older version jessie
* netdata/packaging: [ci skip] adjust the control file based on the distro
* netdata/packaging: [ci skip] Move control file preparation prior to packaging the source
* netdata/packaging: [ci skip] Adjust versioning scheme for the nightlies
* netdata/packaging: [ci skip] Let RPM be built too for testing
* netdata/packaging: [ci skip] Factor out version calculation
* netdata/packaging: [ci skip] Attempt to modify version properly
* netdata/packaging: [ci skip] Update documentationg regarding .DEB files
* netdata/packaging: [ci skip] autogen not available everywhere, also fix json-c deps
* netdata/packaging: Remove development settings, also remove beta deployment as its not needed
|
|
|
|
|