summaryrefslogtreecommitdiffstats
path: root/.travis
diff options
context:
space:
mode:
authorPaul Emm. Katsoulakis <34388743+paulkatsoulakis@users.noreply.github.com>2019-08-09 10:47:06 +0300
committerGitHub <noreply@github.com>2019-08-09 10:47:06 +0300
commitbf4d0f497c001b2174cdc8d7e447ff10206e46d2 (patch)
tree491bfc8d084186e1b16868e9de1f972c26c87ac7 /.travis
parent411cd11b57258ab98ac237a8770f0cca73003f8e (diff)
netdata/packaging: Documentation on distribution support matrix and 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
Diffstat (limited to '.travis')
-rw-r--r--.travis/package_management/build.sh3
-rwxr-xr-x.travis/package_management/configure_deb_lxc_environment.py3
2 files changed, 5 insertions, 1 deletions
diff --git a/.travis/package_management/build.sh b/.travis/package_management/build.sh
index beb522a35f..a5217715f8 100644
--- a/.travis/package_management/build.sh
+++ b/.travis/package_management/build.sh
@@ -22,7 +22,8 @@ echo "Linking debian -> contrib/debian"
ln -sf contrib/debian debian
echo "Executing dpkg-buildpackage"
-if dpkg-buildpackage --version 2> /dev/null | grep -q "1.18"; then
+# pre/post options are after 1.18.8, is simpler to just check help for their existence than parsing version
+if dpkg-buildpackage --help | grep "\-\-post\-clean" 2> /dev/null > /dev/null; then
dpkg-buildpackage --post-clean --pre-clean --build=binary
else
dpkg-buildpackage -b
diff --git a/.travis/package_management/configure_deb_lxc_environment.py b/.travis/package_management/configure_deb_lxc_environment.py
index 12328dde74..6d0b5ed1e0 100755
--- a/.travis/package_management/configure_deb_lxc_environment.py
+++ b/.travis/package_management/configure_deb_lxc_environment.py
@@ -84,6 +84,9 @@ if str(os.environ["BUILD_STRING"]).count("debian/jessie") == 1:
print("5.1 We are building for Jessie, adjusting control file")
common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control'])
common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.jessie', 'contrib/debian/control'])
+if str(os.environ["BUILD_STRING"]).count("ubuntu/trusty") == 1:
+ common.run_command_in_host(['sudo', 'rm', 'contrib/debian/control'])
+ common.run_command_in_host(['sudo', 'cp', 'contrib/debian/control.trusty', 'contrib/debian/control'])
common.prepare_version_source(dest_archive, friendly_version, tag=tag)