summaryrefslogtreecommitdiffstats
path: root/.travis.yml
AgeCommit message (Collapse)Author
2022-07-22include Judy into our source tree (#13362)Timotej S
2022-03-09Final migration of release code off of Travis CI. (#12239)Austin S. Hemmelgarn
* Initial version of release workflow. * Remove release code from Travis config. Final removal of the Travis CI code will be handled separately. * Do not push changes if not running in GHA. This simplifies testing the core logic locally. * Remove remote branch existence checking. It is not strictly nesescary for the expected execution context, and it makes it harder to test locally safely. * Fixed some minor oversights. * Make git config repo local to make testing easier.
2022-02-18Finish pushing handling of kickstart checksums to netdata/learn. (#12176)Austin S. Hemmelgarn
* Finish pushing handling of kickstart checksums to netdata/learn. * Replace the checksum in the file here with a placeholder (it will get replaced by the documentation processing code in the learn repo anyway, this just makes it obvious that that will be happening). * Remove the CI jobs that validate the checksum against what it ‘should be’. * Add a new workflow to explicitly trigger the documentation update workflow in netdata/learn when documentation changes here _or_ the kickstart script gets updated. Additionall automation will be added internally to ensure the checksum update automation stays working. * Fix file matches.
2022-01-24Fix passing of version to GHA release workflow. (#11909)Austin S. Hemmelgarn
2021-11-22specify pip3 when installing git-semver package (#11817)maneamarius
Co-authored-by: Marius Manea <marius@netdata.com>
2021-10-16Fix file name typos in Travis config from #11055 (#11667)Austin S. Hemmelgarn
2021-10-15Migrated release build process from Travis CI to GitHub Actions. (#11055)Austin S. Hemmelgarn
* Initial version of release build workflow. * Consolidate static and dist build CI. * Typo fixes. * Ensure dependencies are present for dist tarball build. * Further typo fixes. * Convert Travis CI to trigger newrelease build workflow. * Fix actionlint errors. * Fix distfile name handling. * Fix handling of dist directory.
2021-04-15Assorted fixes for Travis CI code. (#10981)Austin S. Hemmelgarn
2021-04-02Fixed bundling of ACLK-NG components in dist tarballs. (#10894)Austin S. Hemmelgarn
2021-03-26Remove corss-platform builds on Travis. (#10865)Austin S. Hemmelgarn
We’re already doing the same thing in GitHub Actions, and they apparently can break on Travis due to infrastructure issues in such a way that we can’t restart the build at all.
2021-03-17Properly prepare version for binary package builds. (#10790)Austin S. Hemmelgarn
2021-03-16Fixed Travis config issues related to new packaging workflows. (#10774)Austin S. Hemmelgarn
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-02-08Fixed handling of Docker image tags for release builds. (#10615)Austin S. Hemmelgarn
2021-02-03Bump version of `git-semver` to one that should actually work.Austin S. Hemmelgarn
2021-02-02Fixed docker image tagging for nightly builds. (#10584)Austin S. Hemmelgarn
They were being incorrectly tagged using the stable build tags.
2021-02-01Remove OpenSUSE Leap 15.1 from CI. (#10543)Austin S. Hemmelgarn
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-21Fixed triggering of Docker image builds from Travis. (#10541)Austin S. Hemmelgarn
The cURL command was missing an authorization header and one component in the URL.
2021-01-15Switch to using GitHub Actions for publishing Docker images. (#10365)Austin S. Hemmelgarn
* Switch to using GitHub Actions for publishing Docker images. This simplifies handling of multiarch images and publishing to multiple registries, and unifies testing with the code actually being used to build and publish the images. This also removes a handful of scripts that are no longer needed due to this change, and switches our Dockerfile to not needing an architecture to be specified in a build argument, instead relying on proper multiarch docker image support. * Fix YAML syntax. * Add separate tagging for nightly and stable builds. * Correct YAML syntax errors.
2020-12-18Bump Fedora version for RPM packaging to 32. (#10404)Austin S. Hemmelgarn
This prevents it from failing due to missing LXC containers.
2020-12-09Explicitly set platform for Docker builds. (#10357)Austin S. Hemmelgarn
Needed to accomodate our new handling of our base and builder images.
2020-12-02Removed lifecycle checks from Travis CI. (#10305)Austin S. Hemmelgarn
They consistently do not catch any issues in our own code except for syntax errors, which are already caught by shellcheck. However, they account for a vast majority of the runtime of our Travis CI jobs for the agent and thus are a major contributing factor to how long it takes for checks to finish in Travis. Remove them so they stop causing us problems.
2020-10-26Updated distros for CI checks and package builds. (#10123)Austin S. Hemmelgarn
* Alpine 3.12 has been out for multiple months. * Fedora 33 is slated for release on 2020-10-27, the current beta is functionally a release preview. * Fedora 31 will be EOL as of 2020-11-27, any existing users should have updated by then. * Ubuntu 20.10 is slated for release on 2020-10-22, the currently available system images are functionally a release preview. * Ubuntu 19.10 went EOL on 2020-07-17. * Our packaging code was missing a number of distros we technically support which we appear to build packages correctly for.
2020-10-12Skip all build checks on packaging builds. (#10058)Austin S. Hemmelgarn
Package build runs on Travis only happen as part of release builds. Because they happen _after_ the rest of the release, the build checks have already run at least once because they're run as part of the initial release build. As such, there’s no point in running them again on the packaging builds, especially since they are the primary reason that the packaging builds experience transient errors.
2020-09-10Correctly fix handling of CI Slack notifications. (#9902)Austin S. Hemmelgarn
2020-09-08Make internal Travis CI notifications behave better. (#9897)Austin S. Hemmelgarn
* Add failure messages for package build checks. * Make notifications only happen for master branch.
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-13Removed Ubuntu 20.04 32-bit x86 package builds. (#9718)Austin S. Hemmelgarn
Our current infrastructure depends on availability of appropriate architecture LXC containers for the distros we're building for, and there are no 32-bit x86 LXC images for Ubuntu 20.04, so we cannot build these packages.
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-04Fix Travis config (#9655)James Mills
2020-08-03Fix Travis CI and remove deprecated/removed builds that have no upstream LXC ↵James Mills
image (#9630)
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-14Remove Fedora 30 from CI. (#9274)Austin S. Hemmelgarn
It went EOL on 2020-05-26.
2020-04-23packaging/docker/{build,publish}.sh: Simplify scripts. Support only single ↵Konstantinos Natsakis
ARCH (#8747) * packaging/docker/{build,publish}.sh: Simplify scripts. Support only single ARCH * packaging/docker/build.sh: Remove eval
2020-04-14packaging/docker/{build,publish}.sh: Remove DEVEL support (#8702)Konstantinos Natsakis
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-03-26Fix openSUSE 15.1 RPM Package Buidls (#8494)James Mills
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-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-12Fix Travis configuration for nightly builds. (#8376)Austin S. Hemmelgarn
2020-03-10Remove possible erroneous blank line causing Travis to fail possibly and ↵James Mills
default to magical behaviour (#8355)
2020-03-10Migrate coverity-scan to Github Actions (#8321)James Mills
* Migrate coverity-scan to Github Actions * Move to job conditional and use local install-required-pacakges.sh * Add COVERITY_* secrets and add them to the Github secrets store with values from Travis copied over
2020-03-10Consolidate and clean up artifact validation. (#8352)Austin S. Hemmelgarn
* Consolidate and clean up artifact validation. This consolidates the two separate 'Artifacts Validation' stages we have in Travis into a single stage,a s well as fixing an error in the handling of the lifecycle checks. Overall, this should improve build times for Travis CI checks due to a deduplication of certain lifecycle checks and an overall increase in the parallelizability of the jobs within the stage. * Fix lifecycle check retry logic.
2020-03-09Migrate Travis based checks to Github Actions (#8329)James Mills
* Migrate Travis based checks to Github Actions * Remove Gitlab CI config * Remove ./build/build.sh and use simple shell to do consistency checks on Dashbaord JS * Install prereq deps * Rename job * Fix brain fart momemt * Split Dashboard checks into a separate job
2020-03-07Add retries for more Travis transient failures (#8327)James Mills
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-04Add yamllint to reviewdog PR checks. (#8291)Austin S. Hemmelgarn
2020-03-04Fixed Travis CI build handling. (#8288)Austin S. Hemmelgarn
* Fixed Travis CI build handling. We need to properly quote YAML metacharacters. * Update pre-generated dashboard.js.