Merging upstream version 1.11.0+dfsg.

Signed-off-by: Daniel Baumann's avatarDaniel Baumann <daniel.baumann@progress-linux.org>
parent 94e97217
Pipeline #24369 failed with stage
in 3 minutes and 46 seconds

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

---
exclude_paths:
- python.d/python_modules/pyyaml2/**
- python.d/python_modules/pyyaml3/**
- python.d/python_modules/urllib3/**
- python.d/python_modules/lm_sensors.py
- collectors/python.d.plugin/python_modules/pyyaml2/**
- collectors/python.d.plugin/python_modules/pyyaml3/**
- collectors/python.d.plugin/python_modules/urllib3/**
- collectors/python.d.plugin/python_modules/third_party/**
- web/css/**
- web/lib/**
- web/old/**
- node.d/node_modules/lib/**
- node.d/node_modules/asn1-ber.js
- node.d/node_modules/net-snmp.js
- node.d/node_modules/pixl-xml.js
- node.d/node_modules/extend.js
- web/gui/src/**
- collectors/node.d.plugin/node_modules/**
- tests/**
......@@ -81,20 +81,19 @@ plugins:
enabled: false
exclude_patterns:
- ".gitignore"
- "conf.d/"
- "hooks/"
- ".githooks/"
- "tests/"
- "m4/"
- "web/css/"
- "web/lib/"
- "web/fonts/"
- "web/old/"
- "python.d/python_modules/pyyaml2/"
- "python.d/python_modules/pyyaml3/"
- "python.d/python_modules/urllib3/"
- "node.d/node_modules/lib/"
- "node.d/node_modules/asn1-ber.js"
- "node.d/node_modules/extend.js"
- "node.d/node_modules/pixl-xml.js"
- "node.d/node_modules/net-snmp.js"
- "collectors/python.d.plugin/python_modules/pyyaml2/"
- "collectors/python.d.plugin/python_modules/pyyaml3/"
- "collectors/python.d.plugin/python_modules/urllib3/"
- "collectors/node.d.plugin/node_modules/lib/"
- "collectors/node.d.plugin/node_modules/asn1-ber.js"
- "collectors/node.d.plugin/node_modules/extend.js"
- "collectors/node.d.plugin/node_modules/pixl-xml.js"
- "collectors/node.d.plugin/node_modules/net-snmp.js"
# Global (default) code owner
* @ktsaou
# Ownership by directory structure
.travis/ @paulfantom
# backends/
build/ @paulfantom
collectors/python.d.plugin/ @l2isbad @Ferroin
contrib/ @paulfantom
daemon/ @ktsaou
database/ @ktsaou
docker/ @paulfantom
# health/
# installer/
# libnetdata/
# makeself/
packaging/ @paulfantom
# registry/
# streaming/
# system/
# tests/
# web/
# Ownership of specific files
CHANGELOG.md @netdatabot
.travis.yml @paulfantom
.lgtm.yml @paulfantom
# Ownership by filetype (overwrites ownership by directory)
*.am @paulfantom @ktsaou
*.c *.h @ktsaou @vlvkobal
.deps
.libs
.dirstamp
.project
.pydevproject
*.o
*.a
config.h.in
Makefile.in
*~
.*.swp
*.old
*.log
*.pyc
......@@ -25,12 +30,20 @@ ltmain.sh
missing
stamp-h1
netdata.spec
sha256sums.txt
# netdata binaries
netdata
!netdata/
apps.plugin
!apps.plugin/
freeipmi.plugin
!freeipmi.plugin/
cgroup-network
!cgroup-network/
# netdata makeself archives
*.tar.*
......@@ -52,15 +65,15 @@ netdata-coverity-analysis.tgz
.settings/
README
TODO.md
conf.d/netdata.conf
src/TODO.txt
netdata.conf
TODO.txt
web/chart-info/
web/control.html
web/datasource.css
web/gadget.xml
web/index_new.html
web/version.txt
web/gui/chart-info/
web/gui/control.html
web/gui/datasource.css
web/gui/gadget.xml
web/gui/index_new.html
web/gui/version.txt
# related to karma/javascript/node
/node_modules/
......@@ -71,7 +84,17 @@ system/netdata-openrc
system/netdata-init-d
system/netdata.logrotate
system/netdata.service
system/netdata.plist
system/netdata-freebsd
system/edit-config
health/notifications/alarm-notify.sh
collectors/cgroups.plugin/cgroup-name.sh
collectors/tc.plugin/tc-qos-helper.sh
collectors/charts.d.plugin/charts.d.plugin
collectors/node.d.plugin/node.d.plugin
collectors/python.d.plugin/python.d.plugin
collectors/fping.plugin/fping.plugin
# installer generated files
netdata-uninstaller.sh
......@@ -79,6 +102,7 @@ netdata-updater.sh
# cmake files
cmake-build-debug/
cmake-build-release/
CMakeCache.txt
CMakeFiles/
cmake_install.cmake
......@@ -97,16 +121,19 @@ diagrams/*.atxt
diagrams/plantuml.jar
# cppcheck
src/cppcheck-build/
cppcheck-build/
venv/
# debugging / profiling
makeself/debug/
profile/benchmark-dictionary
profile/benchmark-registry
profile/test-eval
profile/benchmark-line-parsing
profile/benchmark-procfile-parser
profile/statsd-stress
tests/profile/benchmark-dictionary
tests/profile/benchmark-registry
tests/profile/test-eval
tests/profile/benchmark-line-parsing
tests/profile/benchmark-procfile-parser
tests/profile/benchmark-value-pairs
tests/profile/statsd-stress
oprofile_data/
vgcore.*
callgrind.out.*
......
---
# LGTM does a good job at classifying files, but sometimes it needs some help.
# To classify files which shouldn't be checked we need to define where such
# files are located and manually assign them one of possible categories:
# docs, generated, library, template, test
# More information can be found in lgtm documentation:
# https://help.semmle.com/lgtm-enterprise/user/help/file-classification.html#built-in-tags
# https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
path_classifiers:
library:
- collectors/python.d.plugin/python_modules/third_party/
- collectors/python.d.plugin/python_modules/urllib3/
- collectors/python.d.plugin/python_modules/pyyaml2/
- collectors/python.d.plugin/python_modules/pyyaml3/
- collectors/node.d.plugin/node_modules/lib/
- collectors/node.d.plugin/node_modules/asn1-ber.js
- collectors/node.d.plugin/node_modules/extend.js
- collectors/node.d.plugin/node_modules/net-snmp.js
- collectors/node.d.plugin/node_modules/pixl-xml.js
- web/gui/lib/
- web/gui/css/
test:
- tests/
# Description of CI build configuration
## Variables needed by travis
- GITHUB_TOKEN - GitHub token with push access to repository
- DOCKER_USERNAME - Username (netdatabot) with write access to docker hub repository
- DOCKER_PASSWORD - Password to docker hub
- encrypted_decb6f6387c4_key - Something to do with package releasing (soon to be deprecated)
- encrypted_decb6f6387c4_iv - Something to do with package releasing (soon to be deprecated)
- OLD_DOCKER_USERNAME - Username used to push images to firehol/netdata # TODO: remove after deprecating that repo
- OLD_DOCKER_PASSWORD - Password used to push images to firehol/netdata # TODO: remove after deprecating that repo
## Stages
### Test
Unit tests and coverage tests are executed here. Stage consists of 2 parallel jobs:
- C tests - executed every time
- coverity test - executed only when pipeline was triggered from cron
### Build
Stage is executed every time and consists of 5 parallel jobs which execute containerized and non-containerized
installations of netdata. Jobs are run on following operating systems:
- OSX
- ubuntu 14.04
- ubuntu 16.04 (containerized)
- CentOS 6 (containerized)
- CentOS 7 (containerized)
- alpine (containerized)
### Release
This stage is executed only on "master" brach and allows us to create a new tag just looking at git commit message.
It also has an option to automatically generate changelog based on GitHub labels and sync it with GitHub release.
For the sake of simplicity and to use travis features this stage cannot be integrated with next stage.
Releases are generated by searching for a keyword in last commit message. Keywords are:
- [patch] or [fix] to bump patch number
- [minor], [feature] or [feat] to bump minor number
- [major] or [breaking change] to bump major number
All keywords MUST be surrounded with square braces.
Alternative is to push a tag to master branch.
### Packaging
This stage is executed only on "master" branch and it is separated into 3 jobs:
- Update Changelog/Create release
- Nightly tarball and self-extractor build
- Nightly docker images
##### Update Changelog/Create release
This job is running one script called `releaser.sh`, which is responsible for a couple of things. First of all it
automatically updates our CHANGELOG.md file based on GitHub features (mostly labels and pull requests). Apart from
that it can also create a new git tag and a github draft release connected to that tag.
Releases are generated by searching for a keyword in last commit message. Keywords are:
- `[netdata patch release]` to bump patch number