summaryrefslogtreecommitdiffstats
path: root/.github
AgeCommit message (Collapse)Author
2024-02-27Add CI checks for Go code. (#17066)Austin S. Hemmelgarn
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-02-26Integrate Go plugin with build system. (#17005)Austin S. Hemmelgarn
* Integrate Go plugin with build system. * Fix Debian packaging rules. * Add FreeBSD support to Go toolchain handling. * Add Go ldflags handling. * Fix version detection when GCCGO is used. * Fix Go ldflags handling. * Correctly fix Go toolchain version detection. * Properly mark Go as a required dependency in CMake. * Disable VCS stamping as it does not work correctly on some platforms. * Autodetect minimum required Go version from go.mod files. This allows us to avoid needing to update the CMakeLists.txt file when the required version changes in a Go component’s go.mod file. * Prefix GoTools module name with Netdata to ensure we get our local module. * Update integrations code to use new Go plugin location. * Remove old go packaging files. * keep old logic for initial cleanup that is working * Re-sync Go plugin sources. * Fix search order for finding Go toolchain. * update module name * fix /usr/local/go overwrite condition --------- Co-authored-by: Fotis Voutsas <fotis@netdata.cloud> Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-02-26Fix a few minor bits of build-related infrastructure. (#17051)Austin S. Hemmelgarn
* Add vkalintiris as code owner for CMake related stuff. * Update GHA workflow file checks to properly flag CMake changes.
2024-02-14Assorted cleanup of CI/packaging related code. (#16938)Austin S. Hemmelgarn
* Drop unused Dockerfile.test. It’s not been used for years, and it doesn’t even work at this point for it’s intended purpose. * Remove CodeClimate configuration. We’re not using it anymore, so there is no point to keeping the configuration around. * Remove the build_external directory. This isn’t used by any of our code AFAICT, and if it _is_ needed, it should actually be in some sub-directory of `tests` instead of a top-level directory whose name doesn’t even describe what it does. * Remove .gitattributes If there's any objection we can reinstate it. * Move coverity-scan.sh under packaging/utils * Move cmake files under packaging/cmake * Remove devcontainer * Fix up coverity script to run correctly from new location. --------- Co-authored-by: vkalintiris <vasilis@netdata.cloud>
2024-02-13Include Go plugin sources in main repository. (#16997)Austin S. Hemmelgarn
* Include Go plugin sources in main repository. * Fix CI issues. * Rename source tree.
2024-02-12Move diagrams/ under docs/ (#16998)vkalintiris
2024-02-12Remove historical changelog and cppcheck (#16995)vkalintiris
* Remove historical changelog. * Remove cppcheck.
2024-02-12Move web/ under src/ (#16992)vkalintiris
2024-02-12Use changed files in check-files workflow (#16993)Tasos Katsoulas
We hit a limit when too many files were changing. Most commonly the case will be moving too many files that's why we amend this. --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-02-10Update input skip patterns (#16984)Tasos Katsoulas
* Fix minor typo: - job name will be file-check in any workflow - file-check job has a step which is check-file * Print any modified files * Change glob patterns for all source files (*.c, *.h etc). With the previous approach they only matched the root folder --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-02-10Update input paths for tj-actions/changed-files (#16982)Tasos Katsoulas
* Dir input pattern dont require globstar Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Make sure that the ignored_files are honored first Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-02-08Move collectors/ under src/ (#16965)vkalintiris
2024-02-07Move health/ under src/ (#16954)vkalintiris
* Move health/ under src/ * Update references to health paths. ``` find . -type f -exec sed -i 's:master/exporting:master/src/exporting:g' {} \; ``` * Update .git{,hub} refs to health.
2024-02-06Update codeowners and cleanup .gitignore (#16946)vkalintiris
2024-02-06Update CODEOWNERS (#16907)Tasos Katsoulas
Co-authored-by: ilyam8 <ilya@netdata.cloud>
2024-02-05Drop ESLint CI jobs and config. (#16935)Austin S. Hemmelgarn
We don’t actually use it for anything, as all of the JS code is being developed outside of the repo.
2024-02-05Bump peter-evans/create-pull-request from 5 to 6 (#16926)dependabot[bot]
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 5 to 6. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v5...v6) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05Exporting moved, so changes needed for integrations, + CODEOWNERS change ↵Fotis Voutsas
(#16932)
2024-02-05Move exporting/ under src/ (#16913)vkalintiris
2024-02-05Bump nick-invision/retry from 2 to 3 (#16928)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05Bump nick-fields/retry from 2 to 3 (#16927)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-02Update file match patterns in CI jobs. (#16917)Austin S. Hemmelgarn
They’ve not been accurate for some time.
2024-02-01fluent-bit & logsmanagement under src/ (#16903)vkalintiris
2024-02-01Remove markdown linter (#16905)vkalintiris
--------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-02-01Move aclk/ under src/ (#16899)vkalintiris
* Move aclk/ under src/ * Update labeler
2024-01-31Add a constant env var for Sentry's DSN when someone wants to build Agent ↵Tasos Katsoulas
and doesn't have access to GH secrets. (#16892) Create an interim env var of the sentry DSN, this will eventually overwrite the SENTRY_DSN which our code understands. Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-01-31Limit what we upload to GCS for nightlies. (#16870)Austin S. Hemmelgarn
2024-01-30Setup sentry-native SDK. (#16798)vkalintiris
* Setup sentry-native SDK. * Integrate Sentry into our CI Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * minor fix Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Include sentry field to the build matrix Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update the bundle_sentry flag for all the distros Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * more changes Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * NON mergeable change Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * . Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Enable fetch content. * Abort in profile plugin * Update plugin_profile.cc * NON MERGABLE COMMIT, just for testing purposes * NON MERGEABLE CHANGE, jsut for testing purposes * Bump * Use breakpad backend * Multiple changes - Make DSN variable that we read from the CI from the CI - Upload debug symbols - Fix packaging workflow; include new env vars & fix shecllchecks Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Modify sentry dif command * fix merge conf Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Fix merge conflict * Undo file prefix map. * Fix typo * Cleanup stuff. * Add 256-checksum * Renable ML for debs * Finalize CI changes Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update rules * final touches Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * merge the two if, no point to have them sep Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> * Update contrib/debian/rules Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> * Update contrib/debian/rules Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> * Add license * Enable sentry for debian 12. * Update .github/workflows/packaging.yml Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com> --------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <tasos@netdata.cloud> Co-authored-by: Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> Co-authored-by: Austin S. Hemmelgarn <ahferroin7@gmail.com>
2024-01-29Remove Ubuntu 23.04 from the CI (#16694)Tasos Katsoulas
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
2024-01-29Add ARMv6 static builds. (#16853)Austin S. Hemmelgarn
2024-01-22Bump actions/cache from 3 to 4 (#16824)dependabot[bot]
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22Bump tj-actions/changed-files from 41 to 42 (#16823)dependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 41 to 42. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v41...v42) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-17Update GHA steps that handle artifacts to use latest versions of ↵Austin S. Hemmelgarn
upload/download actions. (#16714) * Reapply "Update artifact-handling actions to latest version." (#16689) This reverts commit 18fd72e230a5f970f777a21298889dd795f1b279. * Auto-retry downloading artifacts if it fails. * Update .github/workflows/build.yml Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * List consolidated artifacts in CI checks. * Change handling of dist artifacts. --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-01-17CI runtime check cleanup (#16713)Austin S. Hemmelgarn
* Centralize runtime check code used throughout CI. * Add checks to confirm that each of the agent dashboards can be fetched.
2024-01-17Add check to avoid auto-installing new major versions of Netdata. (#15898)Austin S. Hemmelgarn
* Add check to avoid auto-installing new major versions of Netdata. With the specific intent of avoiding breaking user’s systems. * Add latest tag check override. * Fix local testing fallback case. * Fix version parsing code. * Allow major version updates in CI jobs. * Fix fetching latest tag. * Properly fix CI jobs. * Switch to using a list of accepted major versions. And pre-populate it with versions we think are fine. * Fix CI again. * Fix check logic.
2024-01-12Fix handling of hardening flags with Clang (#16731)Austin S. Hemmelgarn
* Use `-Werror` when checking compiler flags. This should ensure that Clang rejects unknown flags correctly instead of blindly eating some of them. * Explicitly check C and C++ flags separately. This should better handle the unusual case of mismatched compilers. * Properly use Clang for C++ in our CI checks that build using Clang. * Apply suggestions from code review Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> * Use functions and loops when possible. * Fix typos and broken loops. * Fix more typos. * Fix bogus commas. * Fix caching of compiler flag checks. * Fix flag variable names to make them behave correctly in checks. CMake adds a preprocessor define with the name of the variable being defined by a compiler flag check, so we need to ensure not only that the variable name is unique, but also that it is a valid name for a C preprocessor definition. * Fix scoping. * Fix botched merge during previous rebase. --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2024-01-10minor - fix/update codeowners (#16750)Timotej S
minor - update codeowners
2024-01-08Fix (and improve) Coverity scanning. (#16605)Austin S. Hemmelgarn
* Split feature detection code to functions. This lets us reuse it in places like the coverity scan script. * Add ninja to the coverity build environment. * Restructure coverity scan script to use cmake. * Fix incorrect function name. * Add extra plugin deps for coverity scan environment. * Fix new issues introduced in coverity script. * Fix things broken by previous fix. * Fix Docker image builds. * Assorted fixes. * Correctly handle common case of set but empty prefix.
2024-01-04Add GHA workflow to upload kickstart script to our repo server. (#16724)Austin S. Hemmelgarn
This will be used for hosting of the script going forwards. Further changes will need to happen on the system itself to put the script in the right place and ensure it gets served properly.
2024-01-04Add Netdata Mobile App to issue template config (#16723)Ilya Mashchenko
2024-01-03Add info to distros.yml for handling of legacy platforms. (#16718)Austin S. Hemmelgarn
Specifically, record the information required for them to be handled correctly by our native package repositories.
2024-01-02Bump tj-actions/changed-files from 40 to 41 (#16668)dependabot[bot]
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 40 to 41. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](https://github.com/tj-actions/changed-files/compare/v40...v41) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-29Revert "Update artifact-handling actions to latest version." (#16689)Tasos Katsoulas
Revert "Update artifact-handling actions to latest version. (#16639)" This reverts commit d32b2760a0f1014df0828b6f5051995819e7eec0.
2023-12-27remove unused github scripts (#16661)Ilya Mashchenko
* remove build-artifacts.sh * remove build-dist.sh * remove run_install_with_dist_file.sh
2023-12-25Bump google-github-actions/setup-gcloud from 2.0.0 to 2.0.1 (#16667)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-21rename bundle dashboard scripts (#16648)Ilya Mashchenko
2023-12-21Update artifact-handling actions to latest version. (#16639)Austin S. Hemmelgarn
Done independently of dependabot because this requires special handling to make it work properly.
2023-12-20Remove code relying on autotools. (#16634)vkalintiris
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-12-20Bump google-github-actions/upload-cloud-storage from 1.0.3 to 2.0.0 (#16624)dependabot[bot]
Bumps [google-github-actions/upload-cloud-storage](https://github.com/google-github-actions/upload-cloud-storage) from 1.0.3 to 2.0.0. - [Release notes](https://github.com/google-github-actions/upload-cloud-storage/releases) - [Changelog](https://github.com/google-github-actions/upload-cloud-storage/blob/main/CHANGELOG.md) - [Commits](https://github.com/google-github-actions/upload-cloud-storage/compare/v1.0.3...v2.0.0) --- updated-dependencies: - dependency-name: google-github-actions/upload-cloud-storage dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-20Bump github/codeql-action from 2 to 3 (#16623)dependabot[bot]
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3. - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/github/codeql-action/compare/v2...v3) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>