summaryrefslogtreecommitdiffstats
path: root/contrib/debian
AgeCommit message (Collapse)Author
2021-06-01Compile/Link with absolute paths for bundled/vendored deps. (#11129)vkalintiris
* 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.
2021-05-14Bundle the react dashboard code into the agent repo directly. (#11139)Austin S. Hemmelgarn
* 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.
2021-04-05Spelling build (#10428)Josh Soref
* spelling: alleviate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: available Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: berkeley Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: cannot Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: centos Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: context Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: continuously Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: correlate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: defaults Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dependencies Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dependency Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: different Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: doesn't Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: example Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: forbidden Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: necessary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: nightly Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: normally Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: notification Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: overridden Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: packet Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: program Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: prompted for Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: proxyadmin Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: red hat Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: relative Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: script Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: scriptlet Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: somewhere Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: spinning Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: substitution Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: success Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: successfully Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: sysadmin Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: tarball Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: telemetry Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: temporary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: timeout Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: unsupported Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: updates Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: useful Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: way Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * Update kickstart script checksums in documentation Co-authored-by: Vladimir Kobal <vlad@prokk.net>
2021-03-15Docker-based packaging workflow in GitHub Actions. (#9964)Austin S. Hemmelgarn
* 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.
2021-03-12Fixed handling of permissions for some plugins. (#10490)Austin S. Hemmelgarn
* Removed pointless capabilities in our RPM spec file. * Shifted slabinfo and perf plugins to use proper capabilties instead of being SUID root.
2021-01-11Fixed bundling of libwebsockets in binary packages. (#10460)Austin S. Hemmelgarn
Unintentionally broken by #9984. This re-enables cloud support in binary packages.
2020-10-16Removed redundant build dependencies from Debian control file (#10085)Alex Myczko
https://lintian.debian.org/tags/build-depends-on-build-essential-package-without-using-version.html
2020-09-28Fix missing libelf-dev dependency. (#9974)Sander Klein
2020-08-25Fix install if system does not have ebpf.plugin (#9809)Sander Klein
2020-08-19Debian packaging (#8982)Sander Klein
* Add protobuf-compiler This adds the package protobuf-compiler to the dependencies. Without it, prometheus support will not be included. * Remove libraries from dependencies There is no need to include the libraries since they will automaticaly be added by ${shlibs:Depends} * Remove various control files - control.buster - control.eoan - control.xenial Default control file can be used - control.jessie About to be unsupported - control.wheezy unsupported - control.trusty Since Netdata need libuv1-dev to build, it cannot be build on Trusty anymore because it doesn't have that library. * Fix sysv init scripts Set the location of the pidfile using $PIDFILE in the init script and in the defaults file. This way no changes are needed when compiling for systemd or sysv. * Update documentation to reflect the changes * Add note about updating the changelog * Update install instructions * Remove travis control file adjustments Since these control files have been removed, this code is now obsolete. * Remove unused control.focal file
2020-08-07Add support for DEB packages for Ubuntu 20.04 (focal) (#9592)James Mills
* Add support for Ubuntu 20.04 DEB packages * Add Travis config to also build the DEB packages for Ubuntu 20.04 (focal)
2020-08-06Remove obsoleted libraries from install/uninstall scripts (#9661)Vladimir Kobal
2020-07-30Added eBPF collector support to DEB and RPM packages. (#9628)Austin S. Hemmelgarn
* 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.
2020-07-16Revert the eBPF package bundling that breaks the release and DEB packages. ↵James Mills
(#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.
2020-07-13Properly include eBPF collector in binary packages. (#9450)Austin S. Hemmelgarn
2020-05-22Fixes enable/start of netdata service in debian package (#9005)Arthur Outhenin-Chalandre
Also cleanup unused templating in postint Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
2020-05-21Fix suid bits on plugin for debian packaging (#8996)Arthur Outhenin-Chalandre
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
2020-04-24Use a prefix for the old dashboard. (#8752)Austin S. Hemmelgarn
* 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>
2020-03-30Fix our Debian/Ubuntu packages to actually package the SystemD Unit files we ↵James Mills
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>
2020-03-20Fix broken dependencies for Ubuntu 19.10 (eoan) (#8397)James Mills
* Fix broken dependencies for Ubuntu 19.10 (eoan) * Update Python-based configure LXC env to also handle Ubuntu 19.10 (eoan)
2020-03-09Added code to bundle LWS in binary packages. (#8255)Austin S. Hemmelgarn
* 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>
2020-03-06Fix dependencies for Debian Jessie. (#8290)Austin S. Hemmelgarn
Jessie only has json-c version 2.x, not 3.x. Update the dependencies appropriately so that users can install our packages on Jessie.
2020-03-06Fix missing folders in `/var/` (#8314)James Mills
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
2020-02-14Add handling of libmosquitto to binary packages. (#8085)Austin S. Hemmelgarn
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.
2020-01-24Don't remove groups/users in Debian postrm (#7817)James Mills
2020-01-22netdata/packaging: following the pattern from CUPS, separate freeIPMI (#6939)Paul Emm. Katsoulakis
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>
2020-01-17Fix the formatting of the trailer line in the Debian changelog template. (#7763)Austin S. Hemmelgarn
As per the Debian Policy Manual, section 4, sub-section 4, the trailer line containing the maintainer information and the date in the changelog file must have a single space preceding the two dashes that mark the start of the line. This fixes warnings in the package build process, as well as enabling the builds to work with older more pedantic versions of dpkg-buildpackage.
2019-11-21Fixed package dependencies on Debian Jessie (#7342)Andy Pfister
2019-11-11Ownership and permissions of /etc/netdata (#7244)Konstantinos Natsakis
* 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
2019-10-25contrib/debian: Fix typo in Description (#7154)Petr Vaněk
2019-10-18Fix upgrade path from v1.17.1 to v1.18.x for deb packages (#7118)Konstantinos Natsakis
2019-09-24netdata/packaging: fix broken links on web files, for deb (#6930)Paul Emm. Katsoulakis
2019-09-18Collector slabinfo (#6800)Adrien Mahieux
### 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.
2019-09-17/var/lib/netdata/registry was being left behind after purge (#6867)davent
When removing/purging the Debian package ``` root netdata 775 /var/lib/netdata/registry ``` was being left behind in the `/var/lib/dpkg/statoverride` file. This causes subsequent installations to fail with: ``` dpkg: unrecoverable fatal error, aborting: unknown group 'netdata' in statoverride file ```
2019-09-16netdata/packaging: Introduce separate CUPS package for debian distributions ↵Paul Emm. Katsoulakis
(#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
2019-09-11netdata/packaging: fix ubuntu/xenial runtime dependencies (#6825)Paul Emm. Katsoulakis
2019-09-05netdata/packaging: override control file for debian/buster, different ↵Paul Emm. Katsoulakis
library available for protoc runtime (#6777)
2019-08-28netdata/packaging: [ci skip] Update dependency versions for ubuntu/trusty distroPavlos Emm. Katsoulakis
2019-08-16netdata/packaging: Align libdir in all configure commands (#6682)Paul Emm. Katsoulakis
* 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
2019-08-16netdata/packaging: [ci skip] Correlate configure command (#6678)Paul Emm. Katsoulakis
Overriding as i will be closely monitoring the results
2019-08-12netdata/packaging: put go.d version in one place (#6557)Paul Emm. Katsoulakis
* 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
2019-08-09netdata/packaging: Documentation on distribution support matrix and ↵Paul Emm. Katsoulakis
functionality availability (#6552) * netdata/packaging: [ci skip] Add trusty and xenial * netdata/packaging: [ci skip] check directly for the flag existence * netdata/packaging: Append table for functionality-related support matrix * netdata/packaging: add line ending * [ci skip] revert this - will get help from joel * netdata/packaging/doc: [ci skip] experiment * netdata/packaging: [ci skip] fix * netdata/packaging: [ci skip] Add more info needed for the rest to check the style * netdata/packaging: [ci skip] different icon * netdata/packaging: [ci skip] split per arch * netdata/packaging:[ci skip] More adjustments * netdata/packaging:[ci skip] more adjustments * netdata/packaging:[ci skip] style * netdata/packaging: update status * netdata/packaging: [ci skip] update rpm/deb state * netdata/packaging:[ci skip] different icon for unchecked * Revert "netdata/packaging:[ci skip] different icon for unchecked" This reverts commit 6ed2a46859f0bb1dd3c1a266280074b023028382. oops, the other one, not this * netdata/packaging: [ci skip] change symbol for unchecked * netdata/packaging: we dont know source state for all other linux, so make it questionmark * netdata/packaging:[ci skip] fix suse leap state * netdata/packaging: [ci skip] fix deb state * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * netdata/pkg: [ci skip]Update DISTRIBUTIONS.md Sync x86 table with amd64 table. They are not 1 on 1 but close enough, so syncing and then will adjust to the differences at another pass * netdata/packaging: [ci skip] code health doesnt make sense, rename to ci smoke testing which makes more sense * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * netdata/packaging:[ci skip] Stricter check on protobuf, plus separate config for trusty because no libuv1 available there * netdata/packaging: add functionality-related details * netdata/packaging/docs: add skeleton sections * netdata/packaging/docs: remove that * netdata/packaging: fix header * Update DISTRIBUTIONS.md * netdata/packaging/docs:[ci skip] fix indent * netdata/packaging/docs: [ci skip] change wording * netdata/packaging/docs: kickstart-static64 everywhere * netdata/packaging/docs: [ci skip] Add legend and update some fields * netdata/packaging/docs: add disable flags * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update DISTRIBUTIONS.md * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * netdata/packaging/docs: feedback * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * Update packaging/DISTRIBUTIONS.md Co-Authored-By: Joel Hans <joel.g.hans@gmail.com> * netdata/packaging: more feedback
2019-08-08netdata/packaging: Expect .tar.gz version of go.d plugin (#6590)Paul Emm. Katsoulakis
* netdata/packaging: Expect .tar.gz version of go.d plugin, after go.d PR248 * netdata/packaging: Checksum comes on the tarball * netdata/packaging: dont mv the file after extraction, just directly extract to destination, its cleaner. Also, make sure you remove the tmp folder * netdata/packaging: bump go.d to v0.8.0 * netdata/packaging: actually fix * netdata/packaging: change the way we extract it, wasnt right after all * netdata/packaging: update go.d checksums
2019-07-21netdata/packaging: [ci skip] hot fix -- changelog file requires two spaces ↵Pavlos Emm. Katsoulakis
after email and before date
2019-07-17netdata/packaging: Enable built-in support for prometheus remote write in ↵Paul Emm. Katsoulakis
packaging (#6480) * netdata/packaging: [ci skip] Add prometheus remote write plugin deps * netdata/packaging: [ci skip] adjust for the tests * netdata/packaging: [ci skip] Apparently we need proto-c too * netdata/packaging: [ci skip] Add dependencies also * netdata/packaging: [ci skip] fix suse dependency * netdata/packaging: [ci skip] epel-release should always go first dumdum * netdata/packaging: [ci skip] g++ needed for prometheus * netdata/packaging: First prepare the repo, then start throwing in packages * netdata/packaging: [ci skip] fix attempt for missing snappy on some debian-based packages * netdata/packaging: [ci skip] protobuf compiler dep * netdata/packaging: [ci skip] Add the generic maintainer info and the new website. Also stop pushing snappy to Debian/Stretch, doesnt have it * netdata/packaging: [ci skip] Remove branch dev setup * Empty commit to re-trigger Travis
2019-07-15netdata/packaging: Binary distributions - clean up .DEB package generation ↵Paul Emm. Katsoulakis
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
2018-11-15Fix changelog path, add all README.md files to Debian package doc (#4657)Rune Juhl Jacobsen
2018-09-22replaced referenced to firehol github org with netdata github org (#4249)Costa Tsaousis
* replaced referenced to firehol github org with netdata github org * increased versions of js files * added new docker hub badge netdata/netdata and restored firehol/netdata
2016-12-08Ensure netdata owns /var/lib/netdata/.Facetoe
Netdata needs to be able to create the health and registry directories on launch. The inability to do this prevents the daemon from starting.
2016-11-04removed excess fiCosta Tsaousis (ktsaou)