summaryrefslogtreecommitdiffstats
path: root/.travis
AgeCommit message (Collapse)Author
2021-01-22Fixed argument handling in `.travis/trigger_docker_build.sh`. (#10546)Austin S. Hemmelgarn
This should have gone in with #10545 but I forgot to commit it after testing before opening the PR.
2021-01-22Properly handle arguments and responses for triggering Docker builds. (#10545)Austin S. Hemmelgarn
This moves the actual cURL command to a script, which both properly handles the required parameters and also checks the results of the call so that it throws an error if triggering the Docker build fails.
2021-01-18Spelling md (#10508)Josh Soref
* spelling: activity Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: adding Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: addresses Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: administrators Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: alarm Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: alignment Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: analyzing Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: apcupsd Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: apply Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: around Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: associated Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: automatically Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: availability Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: background Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: bandwidth Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: berkeley Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: between Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: celsius Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: centos Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: certificate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: cockroach Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: collectors Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: concatenation Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: configuration Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: configured Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: continuous Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: correctly Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: corresponding Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: cyberpower Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: daemon Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dashboard Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: database Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: deactivating Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: dependencies Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: deployment Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: determine Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: downloading Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: either Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: electric Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: entity Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: entrant Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: enumerating Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: environment Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: equivalent Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: etsy Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: everything Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: examining Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: expectations Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: explicit Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: explicitly Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: finally Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: flexible Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: further Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: hddtemp Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: humidity Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: identify Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: importance Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: incoming Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: individual Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: initiate Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: installation Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: integration Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: integrity Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: involuntary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: issues Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: kernel Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: language Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: libwebsockets Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: lighttpd Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: maintained Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: meaningful Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: memory Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: metrics Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: miscellaneous Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: monitoring Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: monitors Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: monolithic Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: multi Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: multiplier Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: navigation Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: noisy Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: number Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: observing Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: omitted Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: orchestrator Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: overall Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: overridden Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: package Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: packages Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: packet Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: pages Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: parameter Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: parsable Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: percentage Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: perfect Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: phpfpm Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: platform Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: preferred Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: prioritize Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: probabilities Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: process Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: processes Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: program Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: qos Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: quick Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: raspberry Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: received Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: recvfile Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: red hat Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: relatively Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: reliability Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: repository Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: requested Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: requests Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: retrieved Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: scenarios Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: see all Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: supported Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: supports Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: temporary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: tsdb Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: tutorial Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: updates Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: utilization Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: value Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: variables Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: visualize Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: voluntary Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> * spelling: your Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
2021-01-15Switched to using system libwebsockets for RPM builds. (#10507)Austin S. Hemmelgarn
* Switched to using system libwebsockets for RPM builds. Also cleans up the configure statement in the RPM spec file. * Add version requirement for LWS dep and only use native on platforms that meet it.
2020-08-20Don't run packaging checks on Travis builds that build packages. (#9795)Austin S. Hemmelgarn
* Revert "Fix Travis CI builds and skip Fedora 31 i386 build/test cycles (#9781)" This reverts commit 07e67c4b62b100ab048070f1a0291fe904ff7513. This will be fixed differently. * Skip package build checks on builds that build packages. We don't need to check that package builds work if we're actually building packages.
2020-08-20Fix Travis CI builds and skip Fedora 31 i386 build/test cycles (#9781)James Mills
* Fix Travis CI builds and skip Fedora 31 i386 build/test cycles * Fix lint and address @Ferroin's feedback
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-10Fix print message when building for Ubuntu Focal (#9694)Devin Smith
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-06Fix Static Netdata to correctly build with Netdata Cloud support. (#9381)James Mills
* Revert "Revert "Override linker and include paths for static builds. (#9311)" (#9343)" This reverts commit 36d5e40dca91a93963e4d96f07af3e38803615d0. * Run git clean before building anything * Fix checking out openssl and skip if bind-mounted sources already exist at the given path * Add --require-cloud flag to the static build scripts * Add CMAKEFLAGS support to the installer to customize how to build libwebsockets for static builds * Update packaging/makeself/jobs/50-bash-4.4.18.install.sh Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com> * Fix remaining other two tyos Co-authored-by: Andrew Moss <1043609+amoss@users.noreply.github.com>
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-04-16packaging/docker/publish.sh: Wait for tag to appear in hub.docker.com (#8713)Konstantinos Natsakis
* packaging/docker/publish.sh: Wait for tag to be really published * Fix typo * .travis/utils.sh: Export defined functions too * packaging/docker/publish.sh: Keep shellcheck happy * packaging/docker/publish.sh: Fix typo
2020-04-03Correctly fixed RPM package builds on Fedora. (#8595)Austin S. Hemmelgarn
* Revert "Fix broken Fedora 30/31 RPM builds (#8572)" This reverts commit 71290d9cb904e8ea08456e5c4ab24bc274e593bf. It didn't actually fix things and caused a different set of issues. * Build LWS and mosquitto with -fPIC in RPM builds. This fixeslinking errors that are currently causing RPM package build failures for Fedora 30/31.
2020-04-02Fix broken Fedora 30/31 RPM builds (#8572)James Mills
2020-04-01Add missing override for Ubuntu eoan (#8547)James Mills
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-14Migrate Tests from Travis CI to Github Workflows (#8331)James Mills
* Migrate Tests from Travis CI to Github Workflows * Use GHA path filters * Make a unit test fail * Run new cmocka based unit tests * Revert "Make a unit test fail" This reverts commit 15500c59e4d49cb478ef27289de0366a543815c5. * Make a cmocka unit test fail * Work around a bug in libbson-1.0 on Ubuntu 18.04 * Add DCMAKE_BUILD_TYPE=Debug to make dbengine tests pass * Upload LastTest.log to GHA Artifact storage * Revert "Make a cmocka unit test fail" This reverts commit 920f56a03d0479bec1a67dc8c242df189f702177. * Remove Artifacts Validation stage
2020-03-13Correct a typo in .travis/README.md (#8333)Felix Yan
2020-03-13Migrate make dist validation to GHA Workflows (#8373)James Mills
* Migrate make dist validation to GHA Workflows * Refactor run_install_with_dist_file.sh
2020-03-10Bulk add frontmatter to all documentation (#8354)Joel Hans
* Bulk add frontmatter * A few extra edge cases
2020-03-06Remvoed the use of clang-format that does not actually block PRs or surface ↵James Mills
anything to developers #8188 (#8196) * Remvoed the use of clang-format that does not actually block PRs or surface anything to developers * Reopen PR
2020-03-02Fix misspelling of openSUSE and SUSE (#8233)Martin Rey
2020-02-23Revert "Revert "Revert "Added hack to sha256sums.txt to force users of ↵James Mills
NetData on v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076)" (#8141)" (#8158) This reverts commit fd64a54e244f4380cc4e4e694126ca2b68f7d6f8.
2020-02-22Revert "Revert "Added hack to sha256sums.txt to force users of NetData on ↵James Mills
v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076)" (#8141) This reverts commit bf62726bc632d1c65e8f2960af0052523f420266.
2020-02-12Revert "Added hack to sha256sums.txt to force users of NetData on ↵James Mills
v1.19.0-483 with a broken updater to update to latest (#8057)" (#8076) This reverts commit 53390e634001be49e9b67c4ea71232dc028033ec.
2020-02-13Added hack to sha256sums.txt to force users of NetData on v1.19.0-483 with a ↵James Mills
broken updater to update to latest (#8057)
2020-02-07Don't push a commit for i386 RPM builds. (#7989)Austin S. Hemmelgarn
We're not actually building any i386 RPM packages, and it maes essentially no sense to do so as the various major RPM-based distros don't even really support 32-bit x86 installs anymore. This will actually speed up the builds for the other package types because they won't be competing for CI resources. It will also make the commit history tidier in the repo.
2020-01-16Move the script for installing required packages into the main repo. (#7563)Austin S. Hemmelgarn
* Move the script for installing required packages into the main repo. Based on discussion with Costa. Most of what this script is actually used for directly is in the main repo anyway, so it makes more sense to have it there so that any changes get reviewed properly. * Fix typo in RPM package build setup.
2020-01-15multiple files: fix typos (#7752)Lucas Gabriel Schneider
2020-01-08Switch PR labeling to use GitHub Actions. (#7630)Austin S. Hemmelgarn
This decouples the PR labeling process from the main CI process, allowing them to run completely independenly of each other. The new labeling configuration is based on copying, extending, and correcting the existing labeling rules in the `labeler.sh` script which the commit is removing. Labeling is configured through `.github/labeler.yml` file. Check there for info on the exact format. The exact configuration being used will update labels on PR's whenever one is opened, updated, reopened, or marked ready for review. It will not remove existing labels from the PR, only add new ones.
2019-12-20packaging: Set default release channel to stable for gh releases (#7399)Mansour Behabadi
* packaging: Set default release channel to stable for gh releases * Leave kickstart files alone * Update .travis/create_artifacts.sh Co-Authored-By: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com> Co-authored-by: Mansour Behabadi <mansour@oxplot.com> Co-authored-by: Konstantinos Natsakis <5933427+knatsakis@users.noreply.github.com>
2019-12-19Skip unit testing during CI when it's not needed. (#7559)Austin S. Hemmelgarn
* Skip unit testing during CI when it's not needed. Our current unit testing takes almost 20 minutes on average during the CI process, which is almost twice as long as any other step, and it's only going to get longer as we get better test coverage. This commit slightly alters how we handle unit testing during CI so that only those unit tests which are actually needed get run. This is achieved by using the `$TRAVIS_COMMIT_RANGE` environment variable provided by Travis to determine which commits we're actually testing, and then using that information to query Git for what files actually changed. As of right now, the only unit testing we're doing is in the dbengine code, so we check to see if any of those files or the C unit testing files are modified by the PR and only runs the unit tests for those if they were modified. The checks are a bit more wide-ranging than they probably need to be so that we make sure to avoid any false negatives. This should speed up CI checks for PR's (as well as not monopolizing the master branch after every PR that gets merged). * Restructure to better handle PR's. The previous code did not work correctly with PR's because it ignored the fact that Travis does not appear to report the full list of commits for a PR in `TRAVIS_COMMIT_RANGE`, instead only reporting the most recent set of commits that were pushed. * Add listing of commits being checked. This will allow for verification of what is being tested, making it easier to spot issues with the detection logic. * Don't assume PR's are targeting the master branch.
2019-12-13Inject archived backports repository on Debian Jessie for CI package builds. ↵Austin S. Hemmelgarn
(#7495) * Inject archived backports repository on Debian Jessie. Debian Jessie only ever had libuv1 as a backport, not part of the base release. This means that we need the backports repository on Jessie for the build to work, which has been archived. This updates the environment prep script for building Debian packages for Jessie to inject a file into `/etc/apt/sources.list.d` to add in the archived repository so that everything works correctly. * Change how the archived backports are injected for jessie. This shifts to just appending to the main sources.list file, which should be more reliable. It also explicitly updates caches after changing the sources. * Switch back to using a separate sources file. * Moved Jessie archived backports handling to repo setup function. This makes the code a bit cleaner overall. Also, we need to disable validity checking for the archives during the call to `apt-get update` otherwise things will just refuse to work. * Fix syntax error.
2019-12-10ci: remove ubuntu trusty 14.04 from build (#7481)Mansour
* ci: remove ubuntu trusty 14.04 from build * Update packaging matrix with ubuntu 14.04 changes
2019-12-07Indicate we no longer build packages for CentOS 6 (#7430)Mansour
* Indicate we no longer build packages for CentOS 6 * Remove CentOS 6 from travis pipeline description * Use x instead of asterisks to denote version wildcard in docs
2019-11-14Updating the Travis pipeline (issue 7189) (#7312)Andrew Moss
Added a linting pass. This is non-blocking but will output a measure of how much each .c and .h file deviates from our current .clang format. Changed the standard build to include all of the warning that we are using in dev. Added the dependencies for dbengine and confirmed that the standard build enables dbengine. Fixed the original warnings.
2019-11-01.travis.yml: Prevent nightly jobs from timing out (again) (#7238)Konstantinos Natsakis
* .travis.yml: Add tick() and retry() functions * .travis.yml: Remove superfluous 'docker info' commands The docker info command is ran during the install phase. There is no need to run it again * .travis.yml: Use the tick() function instead of travis_wait()
2019-09-23netdata/ci: nits and fixes around package release workflow (#6914)Paul Emm. Katsoulakis
* netdata/packaging: bring el/6 first, because this appears on all cases. Otherwise travis craps out the steps * netdata/ci: Attempt to sanitise workflow for master branch commits 1) Rename Packaging for release, now named: Support activities on main branch 2) Adjust instruction messages to reflect more realistically the activities 3) Put labeler first on the stage, since this will always run 4) Make changelog and tag for release conditionally run, so that it does not confuse people * netdata/ci: Sanitise workflow for release more (explained below) We need to clean up tagging logic more and in order to do this we need to bring tagger logic to travis.yml Then we have the complete control of tagging and triggering for changelog generation in travis. To mitigate this, we need to: 1) make tagger script a lirbary. Keep the tagging logic in a method and remove the things needed when it was an executable (checks, executions etc) 2) make travis handle GIT_TAG checking and setting at the beginning. We need this outside of any conditionals so that we have GIT_TAG result available inside the steps 3) COMMIT_TAG_POINTS_AT can now become GIT_TAG, since this is what we actually wanted. We just named differently before to avoid any weird conflicts 4) make changelog generation for release to NOT source tagger any more. Also make it fail in case GIT_TAG is not there, we wont run the script if git tag not in place so that should be error if it happens 5) Rename .travis/generate_changelog_for_release.sh -> .travis/create_changelog_for_release.sh 6) Rename .travis/generate_changelog_and_tag_release.sh -> .travis/generate_changelog_for_release.sh * netdata/ci: reinstate filename here. we basically do the git tag operation here still * netdata/ci: simplify more the changelog generation process 1) Rename create_changelog_for_release.sh -> create_changelog.sh 2) Add comments and the standard path checks in create_changelog.sh 3) Do some minor changes to help diff with nightlies changelog (no functional change though, primarily messages and move flags lower) 4) Inside generate_changelog_for_nightlies.sh, use create_changelog.sh and remove code related to create changelog process 5) in nightlies.sh, use standard shebang adn fix some messages Note: might follow up with more changes, this is just a first batch * netdata/packaging: reinstate accidentally removed OPTS from other iterationns (different engineer)
2019-09-20Improve changelog generation and add it back to the pipeline (#6900)Chris Akritidis
#### Summary Preparation for #6899 Make changelog generation faster and ensure it won't crash. Put it back to the pipeline. ##### Component Name CI/CD ##### Additional Information - Added correct max-issues specification. Note that the number of issues affects the number of displayed PRs. There's no way to ensure that all the PRs in a tag will be displayed, but with a limit of 500 we know that the most recent releases will be complete. - Let the CHANGELOG show links to diffs - Put an invalid Bug tag, to ensure that fixed bugs are not listed (the result with the defaults was incorrect) - Enable running the changelog generation again
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-15netdata/packaging: Bring on board two scripts that build libuv and judy from ↵Paul Emm. Katsoulakis
source (#6850) * netdata/packaging: Script to build judy from source * netdata/packaging: Add script to build libuv from source
2019-09-13netdata/packaging: nits and fixes for packaging (#6842)Paul Emm. Katsoulakis
* netdata/packaging:[ci skip] Bring over netdata.spec before removing the temp directory. We need it to resume RPM workflow * [Package amd64 DEB] Package build stable test * netdata/packaging:[ci skip] add branch for testing * [Package amd64 DEB] Package build stable test * [Package i386 DEB] Package build stable test * [Package i386 DEB] Package build stable test * [Package amd64 DEB] Package build stable test * [Package i386 DEB] Package build stable test * [Package amd64 RPM] Package build stable test * [Package i386 RPM] Package build stable test * netdata/doc: update distro support, due to lxc limitations we dont have those yet * [Package i386 RPM] Package build stable test * [Package i386 RPM Enterprise Linux] Package build stable test * netdata/ci:[ci skip] yes, we must test rpm too * [Package i386 RPM] Package build stable test * [Package amd64 RPM] Package build stable test * netdata/packaging:[ci skip] Add i386 RPM and DEB distro triggers * netdata/packaging: [ci skip] remove the test branch info * netdata/doc: [ci skip] fix doc * netdata/doc: [ci skip] update doc more
2019-09-13netdata/packaging: nit - missed trailing slash (#6840)Paul Emm. Katsoulakis
2019-09-13netdata/packaging: Ensure that we do not mess with CI tooling, when building ↵Paul Emm. Katsoulakis
stable (#6838) * netdata/packaging: Dont mess with the CI code when playing with the repo Sadly, we need to run consistently the same code for the CI side. When doing checkouts to build stable code, we move the whole repo thus resulting on changing the ci code too. This is usually fine when building nightlies, on stable though is a completely different story. To mitigate this, copy the repo into a temporary folder. Then do whatever you need to prepare and copy the tarball. Once you are done, just go back to the original repo folder and remove the temp. That should work fine for both nightlies and stable, with a little overhead of copying over the repository, but we have to. We want to be able to run with latest CI code, when trying to build a stable release. * [Package amd64 DEB] Package build stable test * netdata/packaging: allow me to test on my repo the build process (dont care for deploy) * [Package amd64 DEB] Package build stable test * netdata/packaging: [ci skip] copy under tmp * [Package amd64 DEB] Package build stable test * netdata/packaging:[ci skip] play with CWD of the command, thats cleaner and well, the right thing * [Package amd64 DEB] Package build stable test * netdata/packaging: [ci skip] cd did not fall for cwd, provide full path and move on * netdata/packaging: a few nits like dont use cwd for some commands, import sys, simplify some variable usage * netdata/packaging: [ci skip] focus, missed a reference to the tarballen * netdata/packaging: [ci skip] remove test branch * netdata/packaging: Thanks for taking note Codacy, here's a better temp file for the job
2019-09-12netdata/packaging: we didnt fix changelog handling, fixes and nits now (#6837)Paul Emm. Katsoulakis
1) We missed a dot when reconstructing since_version 2) When we are on a patch release, just step back to fetch history from the previous patch release (or last minor release, respectively)
2019-09-11netdata/packaging: fix ubuntu/xenial runtime dependencies (#6825)Paul Emm. Katsoulakis
2019-09-11netdata/ci: use the right packaging user for the commits to trigger ↵Paul Emm. Katsoulakis
packaging (#6813)
2019-09-05netdata/packaging: fix changelog generation failing the build (#6778)Paul Emm. Katsoulakis
We bumped into an error that caused debian/jessie package generation to fail. When building stable release, we don't properly detect the change from previous stable to this one. So the changelog generation fails and only on some distros causes the process to fail. With this change we attempt to detect this peculiarity and just try fo decrease latest release version, to properly fetch the full changes
2019-09-05netdata/packaging: override control file for debian/buster, different ↵Paul Emm. Katsoulakis
library available for protoc runtime (#6777)
2019-09-03Remove changelog generation from release, as it keeps breaking (#6761)Chris Akritidis