* Support installing extra packages in Docker images at runtime.
This enables users to pull in additional packages more easily if they
need to. It also allows us to drop optional runtime dependencies from
our base images without making life significantly more difficult for
users who actually need them.
* Reorganize code and fix issues brought up in review.
* Make new variable empty by default instead.
* Also publish official images to GHCR.
This provides an alternative source for users to get our Docker images.
* Add basic static labels to our Docker images.
These provide slightly better behavior on GHCR, as well as providing
useful metadata for users.
* Also publish to Quay.io.
* Fix typo.
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
---------
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* 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.
* Moving the cloud docs under /docs/cloud (previous location: netdata/learn/*)
* Added metadata on almost every document of the old learn site for the new ingest process of learn.
* Map old learn document to their best fit as topic related docs.
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
Co-authored-by: DShreve2 <david@netdata.cloud>
Co-authored-by: hugovalente-pm <hugo@netdata.cloud>
* Cleanly reimplement system/edit-config.in
- Added support for pulling config files from Docker containers.
- Added auto-detection for Docker containers.
- Use directory the script is in for target directory for config files
instead of templating it in at build time.
- Prefix error messages with `ERROR:`.
- Robustly check for a valid editor _before_ invoking it.
- Add support for actual command-line options, including a proper
`--help` option.
- Use prefix matching of absolute paths to determine file validity
instead of blindly excluding certain path types.
- If editing a non-existing file we do not provide a stock copy of,
create an empty file instead of throwing an error.
- Make the whole script properly modular.
* Improve robustness of container autodetection.
Instead of relying on the lack of certain directories on a host system,
use some relatively standard checks to determine if we appear to be
running in a container.
* Auto-detect stock config paths at runtinme instead of hard-coding them at build time.
THis will simplify testing of the script, as well as making it a bit
more resilient to users moving things around.
* Add an option to list known config files.
* Fix container environment check to not require root.
* Fix help output.
* Fix path prefix check.
* Fix file path handling.
* Use correct variable when editing files.
* Use correct path for `env`.
* Source profile before running `set -e`.
To prevent questionablly written profiles from causing the script to
exit.
* Produce columnar output when listing valid files.
* Fix copy check.
* Fix build issues.
* fix build issues
* formatting
Co-authored-by: ilyam8 <ilya@netdata.cloud>
* Add info for Docker containers about using hostname from host.
By directly mounting `/etc/hostname` into the container read-only.
* Update packaging/docker/README.md
Co-authored-by: DShreve2 <david@netdata.cloud>
* Update packaging/docker/README.md
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Co-authored-by: DShreve2 <david@netdata.cloud>
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
* Add `-pipe` to CFLAGS in most cases for builds.
This trades marginally higher memory usage at build time (on the order
of a few hundred kB in the worst case scenario) for improved build
times by avoiding using temporary files for passing data from the
compiler to commands it invokes.
* Suppress bogus shellcheck warnings.
* Fix handling of CFLAGS in netdata-installer.sh.
* Add warning about broken Docker hosts in container entrypoint.
Also adds a case to catch users trying to run the entrypoint as a a user
in the container other than root, which we very much do not support.
* Fix messages and remove invalid error case.
* Link to docs in message instead of giving full explanation.
* Add flag to mark containers as created from official images in analytics.
* Fix CI.
* process NETDATA_CONTAINER_IS_OFFICIAL_IMAGE variable from system info and export to anonymous-statistics script
Co-authored-by: Emmanuel Vasilakis <mrzammler@mm.st>
* Add POWER8+ support to our official Docker images.
* Update docs about lack of FreeIPMI in POWER8 docker images.
* Update packaging/docker/README.md
Co-authored-by: David Shreve, Jr. <david@netdata.cloud>
Co-authored-by: David Shreve, Jr. <david@netdata.cloud>
* Add support for runtime configuration of UID/GID for Netdata user.
* Consolidate layers in Docker image.
* Re-add proper username selection handling.
* Unconditionally handle the netdata group.
Instead of having it be dependent on the name of the user.
* Docs cleanup
* Only try to change accounts if daabases are writable.
* Store info about the installation type for later retrieval.
* Properly handle install type on updates.
* Restructure install type values for easier parsing.
* Fix checksums.
* Fix .gitignore check.
* Swapping out sentence about Google Analytics with a PostHog version of it.
* replace "Google Analytics" with "Netdata"
replace "sent to Google Analytics" with "sent to Netdata".
Since we are no using a self hosted Netdata PostHog instance i think "sent to Netdata" makes most sense.
* update opt-out paragraph based on posthog
* Replace references to Google Analytics with PostHog
@joelhans @cakrit i'm assuming with might need to have legal input on any changes to this doc so my changes may or may not be acceptable, at a minimum they need a review by someone from legal.
* update google analytics reference with posthog
* replace google analytics with posthog
* replace google analytics with netdata