summaryrefslogtreecommitdiffstats
path: root/.github/workflows
AgeCommit message (Collapse)Author
2023-03-21Assorted improvements for our platform EOL check code. (#14768)Austin S. Hemmelgarn
* Fix typos in EOL check matrix generation. * Allow specifying a different name for distro for EOL check. If the `eol_check` property of a distro entry is a string, use that as the product name when querying https://endoflife.date/api * Add failure notifications for scheduled runs of EOL check workflow.
2023-03-20Bundle libyaml (#14704)Emmanuel Vasilakis
* bundle libyaml * remove comment * .github/workflows/coverity.yml * add to coverity and tests * add deps * add to netdata.spec.in * add to contrib/debia/control * remove extra gentoo libyaml
2023-03-14Auto-trigger MSI build on release. (#14721)Austin S. Hemmelgarn
Triggered by our Docker workflow as the MSI build uses our Docker image to produce the WSL image that gets used by the MSI install process.
2023-03-07Fix issue template formatting for platform EOL check.Austin S. Hemmelgarn
2023-03-07Fix platform EOL checks to properly return success. (#14681)Austin S. Hemmelgarn
2023-03-06Bump actions/add-to-project from 0.4.0 to 0.4.1 (#14669)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-03Add support for bypassing static build cache on PRs. (#14646)Austin S. Hemmelgarn
2023-02-28Fix handling of no data in platform EOL checks. (#14617)Austin S. Hemmelgarn
Also, re-enable EOL checking for Debian.
2023-02-27Bump actions/checkout from 2 to 3 (#14615)dependabot[bot]
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/checkout 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-02-24Add a scheduled CI job to flag supported platforms going EOL upstream. (#14581)Austin S. Hemmelgarn
* Add a scheduled CI job to flag supported platforms going EOL upstream. By default, it runs at 03:00 UTC every Monday and checks the upstream EOL date for each platform we support that needs such checking. If the platform will be EOL upstream within the next 30 days, an issue is opened flagging the platform for removal from CI and our support document and auto-assigned to the agent SRE team members. The workflow can also be manually triggered (mostly intended for testing). Data about upstream EOL dates is retrieved from https://endoflife.date via their new public API. Happily, our own definition of what constitutes EOL for our purposes matches up 1:1 with how they categorize platforms as EOL. * Fix logic issue in issue creation. * Explicitly enable error handling for issue checks.
2023-02-23Add flake8 to review CI to check Python files. (#14582)Austin S. Hemmelgarn
* Add flake8 to review CI to check Python files. We used to have this in our old Travis jobs, but it got removed at some point before the switch to GitHub Actions and we never re-added it. * Fix typo.
2023-02-15Add Debian 12 to our CI and platform support document. (#14529)Austin S. Hemmelgarn
* Fix handling of base images for CI jobs. This allows us to continue using properly descriptive names despite Debian not publishing docker images with version numbers. * Add Debian 12 to CI and platform support documentation. * Fix build matrix generation scripts.
2023-02-08Bump docker/build-push-action from 3 to 4 (#14437)dependabot[bot]
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 3 to 4. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v3...v4) --- updated-dependencies: - dependency-name: docker/build-push-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>
2023-02-08Bump google-github-actions/setup-gcloud from 1.0.1 to 1.1.0 (#14438)dependabot[bot]
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 1.0.1 to 1.1.0. - [Release notes](https://github.com/google-github-actions/setup-gcloud/releases) - [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md) - [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v1.0.1...v1.1.0) --- updated-dependencies: - dependency-name: google-github-actions/setup-gcloud dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-08Fix the concurrency group name for PR labeler workflow. (#14460)Austin S. Hemmelgarn
Instead of flagging on the git ref for the run, flag on the repository ID and PR number. This ensures that previous runs get cancelled only for the correct PR when a new run is triggered. This should fix the seemingly random cases of PR labeler runs being cancelled for no apparent reason on our PRs.
2023-02-01Fix typos in Docker debug image tags. (#14400)Austin S. Hemmelgarn
2023-01-31Fix publishing Docker Images to secondary registries. (#14389)Austin S. Hemmelgarn
2023-01-31Publish Docker images to GHCR.io and Quay.io (#14372)Austin S. Hemmelgarn
* Also publish official images to GHCR. This provides an alternative source for users to get our Docker images. * Add basic static labels to our Docker images. These provide slightly better behavior on GHCR, as well as providing useful metadata for users. * Also publish to Quay.io. * Fix typo. Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> --------- Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2023-01-20Fix build CI jobs. (#14302)Austin S. Hemmelgarn
Switch from OCI to Docker images for transferring containers between CI steps.
2023-01-16Switch nightlies to GitHub releases. (#14020)Austin S. Hemmelgarn
* Switch nightlies to GitHub releases. Instead of using GCS. * Fix CI handling. * Fix handling of download URLs for nightly builds. * Fix handling of redirects for consolidated artifact checks. * Avoid redirect issues with the test environment. * Add more info to logs for updater checks. * Ignore redirect issues for updater checks. * Fix base URL handling in updater. * Dump post-update info in CI before checking if the update worked. * Special-case a version of `latest` in updater. This is to allow CI to work correctly. * Update nightly release badge in README.md. * Fix updater check variable name. * Add a comment documenting the magic number in parse_version.
2023-01-14Skip cross-platform validation when preparing releases. (#14268)Austin S. Hemmelgarn
2023-01-13Always mark nightly build releases as latest. (#14261)Austin S. Hemmelgarn
This compensates for the fact that GitHub’s release sorting is based on a byte-wise sort of the associated tag name, which does not match up with the temporal sorting that we actually want for this.
2023-01-04Fix typos (#14194)Dimitris Apostolou
2023-01-04Finish renaming the `--install` option to `--install-prefix`. (#13881)Austin S. Hemmelgarn
* Finish renaming the `--install` option to `--install-prefix`. * Fix remaining references to `--install` option.
2023-01-04Switch to actions/labeler@v4 for labeling PRs. (#14203)Austin S. Hemmelgarn
This has a number of advantages: - It allows us to make PR labeling event-driven instead of polling. This, in turn, means that it only runs when a PR is modified, and only evaluates that specific PR, which results in spending far less time running PR labeler jobs. - This is the ‘official’ way to handle PR labels automatically as code, and thus Ilya will no longer need to maintain a custom labeling action for this purpose. - The matching syntax supported by this action is more expressive than what is supported by our existing infrastructure, allowing for things sucha s requring all of a group of files to be modified in a PR for it to have a specific label applied. We have no need right now for this, but it is useful to have it available long-term. - Because the labeling is PR-triggered, it shows up in the PR checks, so we can more easily see if auto-labeling has run for a given PR or not.
2022-12-14Correctly fix repoconfig package uploads.Austin S. Hemmelgarn
For real this time...
2022-12-13Fix incorrect matrix parameter names in repoconfig package upload workflow.Austin S. Hemmelgarn
2022-12-13Fix conditions for uploading repoconfig packages to new infra. (#14134)Austin S. Hemmelgarn
2022-12-09ci: fix cgroup-parent name in packaging (#14118)Ilya Mashchenko
* ci: fix cgroup-parent name * update cgroup-parent
2022-12-02Update workflows to use $GITHUB_OUTPUT instead of ::set-output:: (#13960)Austin S. Hemmelgarn
* Update workflows to use $GITHUB_OUTPUT instead of ::set-output:: * Fix python code. * Fix handling of python-based build matrix generation.
2022-12-01Add workflow dispatch trigger for parent/child with cloud integration smoke ↵Dimitris Koutsourelis
tests (#14070) * Add parent/child with cloud integration smoke tests - Update soon to be deprecated output variables to new format - Add an extra step to trigger agent smoke tests and wait for its completion before reporting workflow's status * Add new line at the end of file
2022-11-28Bump google-github-actions/upload-cloud-storage from 0.10.4 to 1.0.0 (#14049)dependabot[bot]
Bumps [google-github-actions/upload-cloud-storage](https://github.com/google-github-actions/upload-cloud-storage) from 0.10.4 to 1.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/v0.10.4...v1.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28Bump actions/add-to-project from 0.3.0 to 0.4.0 (#14048)dependabot[bot]
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.3.0 to 0.4.0. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v0.3.0...v0.4.0) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28remove cmocka tests from ci (#14054)Ilya Mashchenko
2022-11-18Fix typo in GHA workflow.Austin S. Hemmelgarn
2022-11-18Fix nightly build uploads. (#14017)Austin S. Hemmelgarn
2022-11-15Publish nightly builds to netdata/netdata-nightlies repository. (#13961)Austin S. Hemmelgarn
* Publish nightly builds to netdata/netdata-nightlies repository. The target repo is currently private, but will be made public when we have established that publishing to it is working correctly. * Fix typo. * Fix shellcheck warnings.
2022-11-14Bump google-github-actions/setup-gcloud from 0.6.2 to 1.0.1 (#13991)dependabot[bot]
Bumps [google-github-actions/setup-gcloud](https://github.com/google-github-actions/setup-gcloud) from 0.6.2 to 1.0.1. - [Release notes](https://github.com/google-github-actions/setup-gcloud/releases) - [Changelog](https://github.com/google-github-actions/setup-gcloud/blob/main/CHANGELOG.md) - [Commits](https://github.com/google-github-actions/setup-gcloud/compare/v0.6.2...v1.0.1) --- updated-dependencies: - dependency-name: google-github-actions/setup-gcloud dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-18Change CI trigger label prefix from `ci/` to `run-ci/`. (#13849)Austin S. Hemmelgarn
* Change CI trigger label prefix from `ci/` to `run-ci/`. This way it better describes what it’s doing * Update .github/workflows/packaging.yml Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud> Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-10-18Use PR label to trigger full packaging CI instead of PR body contents. (#13839)Austin S. Hemmelgarn
2022-10-17Add PR labels to force running Reviewdog checks. (#13818)Austin S. Hemmelgarn
2022-10-17Bump google-github-actions/upload-cloud-storage from 0.10.2 to 0.10.4 (#13837)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-17Bump google-github-actions/setup-gcloud from 0.6.0 to 0.6.2 (#13836)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-14Add a CodeQL analysis workflow. (#13812)Austin S. Hemmelgarn
* Add a CodeQL analysis workflow. This currently is limited to checking C/C++ code and Python code. Analysis is run on PRs, pushes to the master branch, and as a scheduled run every Monday morning. The PR checks auto-skip analysis for languages that have no code changes. * Use a label to force running CodeQL checks on PRs. * Add config to skip things we don’t need to scan for Python. * Linting fixes. * Add notice in workflow for finding label to run all checks. * Fix CodeQL warnings on PR. * Skip vendored Python modules in Python scanning.
2022-08-31Temporary fix for command injection vulnerability in GHA workflow. (#13600)Austin S. Hemmelgarn
Long term fix will require writing our own action to scan the PR body, because of environment variable size limits.
2022-08-13fix(ci): fix fetching tags in Build workflow (#13517)Ilya Mashchenko
2022-08-10Fix fix for versioning issues.Austin S. Hemmelgarn
2022-08-10Explicitly fetch git ref in build workflow. (#13508)Austin S. Hemmelgarn
This should fix the versioning issues we0ve been having with the release artifacts.
2022-07-25Bump actions/add-to-project from 0.1.0 to 0.3.0 (#13429)dependabot[bot]
Bumps [actions/add-to-project](https://github.com/actions/add-to-project) from 0.1.0 to 0.3.0. - [Release notes](https://github.com/actions/add-to-project/releases) - [Commits](https://github.com/actions/add-to-project/compare/v0.1.0...v0.3.0) --- updated-dependencies: - dependency-name: actions/add-to-project dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-25Skip repo-specific CI on forks. (#13410)Austin S. Hemmelgarn
This will avoid pestering users with failed workflow run messages for workflows that should not even be running in their repos.