summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/ISSUE_TEMPLATE/BUG_REPORT.yml102
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md72
-rw-r--r--.github/PULL_REQUEST_TEMPLATE.md5
-rw-r--r--.github/data/build-matrix.json6
-rw-r--r--.github/dockerfiles/Dockerfile.build_test2
-rw-r--r--.github/labeler.yml3
-rwxr-xr-x.github/scripts/run-updater-check.sh2
-rw-r--r--.github/workflows/build.yml10
-rw-r--r--.github/workflows/packaging.yml3
-rw-r--r--.github/workflows/repoconfig-packages.yml1
-rw-r--r--.github/workflows/review.yml2
11 files changed, 112 insertions, 96 deletions
diff --git a/.github/ISSUE_TEMPLATE/BUG_REPORT.yml b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
new file mode 100644
index 000000000..10a131c4c
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/BUG_REPORT.yml
@@ -0,0 +1,102 @@
+name: "Bug report: Netdata"
+description: "Submit a report and help us improve our free and open-source Netdata Agent"
+title: "[Bug]: "
+labels: ["bug", "needs triage"]
+body:
+ - type: markdown
+ attributes:
+ value: "### Thank you for contributing to our project!"
+ - type: markdown
+ attributes:
+ value: |
+ <img src="https://img.shields.io/github/v/release/netdata/netdata.svg?label=latest%20stable"> <img src="https://img.shields.io/badge/dynamic/xml?url=https://storage.googleapis.com/netdata-nightlies/latest-version.txt&label=latest%20nightly&query=/text()">
+ - type: markdown
+ attributes:
+ value: |
+ Before submitting, we'd appreciate it if you:
+ - Verify that your issue is not already reported on GitHub.
+ - Check if your Netdata Agent is up to date. If not, we recommend that you [update](https://learn.netdata.cloud/docs/agent/packaging/installer/update) first.
+ - type: textarea
+ id: bug-description
+ attributes:
+ label: Bug description
+ description: Provide a description of the bug you're experiencing.
+ validations:
+ required: true
+ - type: textarea
+ id: expected-behavior
+ attributes:
+ label: Expected behavior
+ description: Describe what you expected to happen.
+ validations:
+ required: true
+ - type: textarea
+ id: reproduce
+ attributes:
+ label: Steps to reproduce
+ description: Describe the steps to reproduce the bug.
+ value: |
+ 1.
+ 2.
+ 3.
+ ...
+ validations:
+ required: true
+ - type: dropdown
+ id: install-method
+ attributes:
+ label: Installation method
+ description: |
+ Select [installation method](https://learn.netdata.cloud/docs/agent/packaging/installer#alternative-methods) you used.
+ Describe the method in the "Additional info" section if you chose "other".
+ options:
+ - "kickstart.sh"
+ - "kickstart-static64.sh"
+ - "native binary packages (.deb/.rpm)"
+ - "from git"
+ - "from source"
+ - "docker"
+ - "helmchart (kubernetes)"
+ - "other"
+ validations:
+ required: true
+ - type: textarea
+ id: system-info
+ attributes:
+ label: System info
+ description: |
+ Provide information about your system. To get this information, execute one of the following commands based on your OS:
+ ```shell
+ # Linux
+ uname -a; grep -HvE "^#|URL" /etc/*release
+ # BSD
+ uname -a; uname -K
+ # macOS
+ uname -a; sw_vers
+ ```
+ > NOTE: This will be automatically formatted into code, so no need for backticks.
+ render: shell
+ validations:
+ required: true
+ - type: textarea
+ id: netdata-buildfinfo
+ attributes:
+ label: Netdata build info
+ description: |
+ Provide Netdata Agent version and build info. To get this information, execute:
+ ```shell
+ netdata -W buildinfo
+ # If get "netdata: command not found", try (required running Netdata)
+ $(ps aux | grep -m1 -E -o "[a-zA-Z/]+netdata ") -W buildinfo
+ ```
+ > NOTE: This will be automatically formatted into code, so no need for backticks.
+ render: shell
+ validations:
+ required: true
+ - type: textarea
+ id: additional-info
+ attributes:
+ label: Additional info
+ description: Any additional information related to the issue (ex. logs).
+ validations:
+ required: false
diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
deleted file mode 100644
index 799fba7a0..000000000
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ /dev/null
@@ -1,72 +0,0 @@
----
-name: "Bug report: Netdata Agent"
-about: "Submit a report and help us improve our free and open-source Netdata Agent"
-labels: bug, needs triage
----
-
-<!--
-When creating a bug report please:
-- Verify first that your issue is not already reported on GitHub.
-- Test if the latest release and master branch are affected too.
--->
-
-##### Bug report summary
-
-<!-- Provide a clear and concise description of the bug you're experiencing. -->
-
-##### OS / Environment
-
-<!--
-Provide as much information about your environment (which operating system and distribution you're using, if Netdata is running in a container, etc.)
-as possible to allow us reproduce this bug faster.
-
-To get this information, execute the following commands based on your operating system:
-- uname -a; grep -Hv "^#" /etc/*release # Linux
-- uname -a; uname -K # BSD
-- uname -a; sw_vers # macOS
-
-Place the output from the command in the code section below.
- -->
-
-```
-
-```
-
-##### Netdata version
-
-<!--
-Provide output of `netdata -W buildinfo`.
-
-If your Netdata Agent is older, and doesn't support buildinfo, do the following:
-Provide output of `netdata -V`.
-
-If Netdata is running, execute: $(ps aux | grep -E -o "[a-zA-Z/]+netdata ") -V
- -->
-
-##### Installation method
-
-<!--
-Tell us which installation method you used (https://learn.netdata.cloud/docs/agent/packaging/installer#alternative-methods).
- -->
-
-##### Component Name
-
-<!--
-Let us know which component is affected by the bug. Our code is structured according to its component,
-so the component name is the same as the top level directory of the repository.
-For example, a bug in the dashboard would be under the web component.
--->
-
-##### Steps To Reproduce
-
-<!--
-Describe how you found this bug and how we can reproduce it, preferably with a minimal test-case scenario.
-If you'd like to attach larger files, use gist.github.com and paste in links.
--->
-
-1. ...
-2. ...
-
-##### Expected behavior
-
-<!-- Provide a clear and concise description of what you expected to happen. -->
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 33f773682..74f9918e2 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -2,9 +2,6 @@
Describe the change in summary section, including rationale and design decisions.
Include "Fixes #nnn" if you are fixing an existing issue.
-In "Component Name" section write which component is changed in this PR. This
-will help us review your PR quicker.
-
In "Test Plan" provide enough detail on how you plan to test this PR so that a reviewer can validate your tests. If our CI covers sufficient tests, then state which tests cover the change.
If you have more information you want to add, write them in "Additional
@@ -15,8 +12,6 @@ helpful if there is no related issue.
##### Summary
-##### Component Name
-
##### Test Plan
<!---
diff --git a/.github/data/build-matrix.json b/.github/data/build-matrix.json
index 3cd3df53d..c50ec0d22 100644
--- a/.github/data/build-matrix.json
+++ b/.github/data/build-matrix.json
@@ -83,12 +83,6 @@
"rmjsonc": "apt-get remove -y libjson-c-dev"
},
{
- "distro": "ubuntu:21.04",
- "artifact_key": "ubuntu21.04",
- "pre": "apt-get update",
- "rmjsonc": "apt-get remove -y libjson-c-dev"
- },
- {
"distro": "ubuntu:20.04",
"artifact_key": "ubuntu20.04",
"pre": "apt-get update",
diff --git a/.github/dockerfiles/Dockerfile.build_test b/.github/dockerfiles/Dockerfile.build_test
index aca89c09b..50cfdee06 100644
--- a/.github/dockerfiles/Dockerfile.build_test
+++ b/.github/dockerfiles/Dockerfile.build_test
@@ -15,4 +15,4 @@ RUN echo "${PRE}" > /prep-cmd.sh && \
COPY . /netdata
-RUN /netdata/packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata-all
+RUN /netdata/packaging/installer/install-required-packages.sh --dont-wait --non-interactive netdata
diff --git a/.github/labeler.yml b/.github/labeler.yml
index a1082a2a8..4c0d857de 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -19,6 +19,9 @@ area/backends:
- backends/*
- backends/**/*
+area/claim:
+ - claim/*
+
area/exporting:
- exporting/*
- exporting/**/*
diff --git a/.github/scripts/run-updater-check.sh b/.github/scripts/run-updater-check.sh
index e6969a2d1..264ed616a 100755
--- a/.github/scripts/run-updater-check.sh
+++ b/.github/scripts/run-updater-check.sh
@@ -1,7 +1,7 @@
#!/bin/sh
echo ">>> Installing Netdata..."
-/netdata/packaging/installer/kickstart.sh --dont-wait --disable-telemetry || exit 1
+/netdata/packaging/installer/kickstart.sh --dont-wait --build-only --disable-telemetry || exit 1
echo ">>> Updating Netdata..."
export NETDATA_NIGHTLIES_BASEURL="http://localhost:8080/artifacts/" # Pull the tarball from the local web server.
/netdata/packaging/installer/netdata-updater.sh --not-running-from-cron --no-updater-self-update || exit 1
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0e13b0e2c..61e086670 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -223,10 +223,6 @@ jobs:
run: |
docker run --security-opt seccomp=unconfined -w /netdata sha256:${{ steps.load.outputs.image }} \
/bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud'
- - name: netdata-installer on ${{ matrix.distro }}, require cloud, require ACLK-NG
- run: |
- docker run --security-opt seccomp=unconfined -w /netdata -e NETDATA_CONFIGURE_OPTIONS='--with-aclk-ng' \
- sha256:${{ steps.load.outputs.image }} /bin/sh -c './netdata-installer.sh --dont-wait --dont-start-it --require-cloud'
- name: netdata-installer on ${{ matrix.distro }}, require cloud, no JSON-C
if: matrix.rmjsonc != ''
run: |
@@ -390,7 +386,7 @@ jobs:
- name: Verify that artifacts work with installer
env:
NETDATA_TARBALL_BASEURL: http://localhost:8080/artifacts
- run: packaging/installer/kickstart.sh --dont-start-it --disable-telemetry --dont-wait
+ run: packaging/installer/kickstart.sh --build-only --dont-start-it --disable-telemetry --dont-wait
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env:
@@ -431,7 +427,7 @@ jobs:
- name: Verify that artifacts work with installer
env:
NETDATA_TARBALL_BASEURL: http://localhost:8080/artifacts
- run: packaging/installer/kickstart-static64.sh --dont-start-it --disable-telemetry --dont-wait
+ run: packaging/installer/kickstart.sh --static-only --dont-start-it --disable-telemetry
- name: Failure Notification
uses: rtCamp/action-slack-notify@v2
env:
@@ -465,7 +461,7 @@ jobs:
name: final-artifacts
path: final-artifacts
- name: Setup Gcloud
- uses: google-github-actions/setup-gcloud@v0.3
+ uses: google-github-actions/setup-gcloud@v0.4.0
with:
project_id: ${{ secrets.GCP_NIGHTLY_STORAGE_PROJECT }}
service_account_key: ${{ secrets.GCP_STORAGE_SERVICE_ACCOUNT_KEY }}
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index 3b8dfc88d..ca48f6ca2 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -48,9 +48,6 @@ jobs:
- {distro: ubuntu, version: "20.04", pkgclouddistro: ubuntu/focal, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- {distro: ubuntu, version: "20.04", pkgclouddistro: ubuntu/focal, format: deb, base_image: ubuntu, platform: linux/arm/v7, arch: armhf}
- {distro: ubuntu, version: "20.04", pkgclouddistro: ubuntu/focal, format: deb, base_image: ubuntu, platform: linux/arm64/v8, arch: arm64}
- - {distro: ubuntu, version: "21.04", pkgclouddistro: ubuntu/hirsute, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- - {distro: ubuntu, version: "21.04", pkgclouddistro: ubuntu/hirsute, format: deb, base_image: ubuntu, platform: linux/arm/v7, arch: armhf}
- - {distro: ubuntu, version: "21.04", pkgclouddistro: ubuntu/hirsute, format: deb, base_image: ubuntu, platform: linux/arm64/v8, arch: arm64}
- {distro: ubuntu, version: "21.10", pkgclouddistro: ubuntu/impish, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- {distro: ubuntu, version: "21.10", pkgclouddistro: ubuntu/impish, format: deb, base_image: ubuntu, platform: linux/arm/v7, arch: armhf}
- {distro: ubuntu, version: "21.10", pkgclouddistro: ubuntu/impish, format: deb, base_image: ubuntu, platform: linux/arm64/v8, arch: arm64}
diff --git a/.github/workflows/repoconfig-packages.yml b/.github/workflows/repoconfig-packages.yml
index 811750482..e5fee2f8a 100644
--- a/.github/workflows/repoconfig-packages.yml
+++ b/.github/workflows/repoconfig-packages.yml
@@ -21,7 +21,6 @@ jobs:
- {distro: debian, version: "11", pkgclouddistro: debian/bullseye, format: deb, base_image: debian, platform: linux/amd64, arch: amd64}
- {distro: ubuntu, version: "18.04", pkgclouddistro: ubuntu/bionic, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- {distro: ubuntu, version: "20.04", pkgclouddistro: ubuntu/focal, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- - {distro: ubuntu, version: "21.04", pkgclouddistro: ubuntu/hirsute, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- {distro: ubuntu, version: "21.10", pkgclouddistro: ubuntu/impish, format: deb, base_image: ubuntu, platform: linux/amd64, arch: amd64}
- {distro: centos, version: "7", pkgclouddistro: el/7, format: rpm, base_image: centos, platform: linux/amd64, arch: amd64}
- {distro: centos, version: "8", pkgclouddistro: el/8, format: rpm, base_image: centos, platform: linux/amd64, arch: amd64}
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index e9972303b..b6ee6fcf7 100644
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -98,6 +98,8 @@ jobs:
with:
submodules: recursive
fetch-depth: 0
+ - name: Install eslint
+ run: npm install eslint -D
- name: Run eslint
uses: reviewdog/action-eslint@v1
with: