summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-06-15 07:08:01 -0400
committerGitHub <noreply@github.com>2021-06-15 07:08:01 -0400
commitbde5fa0fc03211651766941f54820bf57192f1dd (patch)
tree7071e834f338837d5eb9d16facc20a7afcf8e0dd
parentd1ec82a8103cf72761a10a5fe1cd28e62f455aed (diff)
Disable telemetry in CI. (#11233)
It skews our data in (probably) strange ways.
-rw-r--r--.github/dockerfiles/Dockerfile.build_test1
-rwxr-xr-x.github/scripts/run_install_with_dist_file.sh1
-rw-r--r--.github/workflows/build-and-install.yml4
-rw-r--r--.github/workflows/checks.yml2
-rw-r--r--.github/workflows/coverity.yml2
-rw-r--r--.github/workflows/dashboard-pr.yml3
-rw-r--r--.github/workflows/docker.yml2
-rw-r--r--.github/workflows/docs.yml2
-rw-r--r--.github/workflows/labeler.yml2
-rw-r--r--.github/workflows/packaging.yml4
-rw-r--r--.github/workflows/review.yml1
-rw-r--r--.github/workflows/tests.yml2
-rw-r--r--.github/workflows/updater.yml5
-rw-r--r--packaging/Dockerfile.packager2
14 files changed, 30 insertions, 3 deletions
diff --git a/.github/dockerfiles/Dockerfile.build_test b/.github/dockerfiles/Dockerfile.build_test
index 1dc3e303d6..3e6ecd187c 100644
--- a/.github/dockerfiles/Dockerfile.build_test
+++ b/.github/dockerfiles/Dockerfile.build_test
@@ -4,6 +4,7 @@ FROM ${BASE}
ARG PRE
ENV PRE=${PRE}
+ENV DO_NOT_TRACK=1
COPY . /netdata
diff --git a/.github/scripts/run_install_with_dist_file.sh b/.github/scripts/run_install_with_dist_file.sh
index 9453dff359..a8a598522e 100755
--- a/.github/scripts/run_install_with_dist_file.sh
+++ b/.github/scripts/run_install_with_dist_file.sh
@@ -29,6 +29,7 @@ printf >&2 "Entering %s and starting docker run ..." "${distdir}"
pushd "${distdir}" || exit 1
docker run \
+ -e DO_NOT_TRACK=1 \
-v "${PWD}:/netdata" \
-w /netdata \
"ubuntu:latest" \
diff --git a/.github/workflows/build-and-install.yml b/.github/workflows/build-and-install.yml
index 86ce6f9af9..702be56a5e 100644
--- a/.github/workflows/build-and-install.yml
+++ b/.github/workflows/build-and-install.yml
@@ -5,6 +5,8 @@ on:
branches:
- master
pull_request:
+env:
+ DO_NOT_TRACK: 1
jobs:
static-build:
name: Build (x86_64)
@@ -207,5 +209,5 @@ jobs:
./build-kinesis.sh &&
./netdata-installer.sh --dont-wait --dont-start-it --enable-backend-kinesis
run: |
- docker run -w /netdata test \
+ docker run -e DO_NOT_TRACK=1 -w /netdata test \
/bin/sh -c "$RUNCMD"
diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml
index e4025dd207..5b5239218b 100644
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@ -5,6 +5,8 @@ on:
branches:
- master
pull_request:
+env:
+ DO_NOT_TRACK: 1
jobs:
checksum-checks:
name: Checksums
diff --git a/.github/workflows/coverity.yml b/.github/workflows/coverity.yml
index 766275ed96..ac99d918f0 100644
--- a/.github/workflows/coverity.yml
+++ b/.github/workflows/coverity.yml
@@ -8,6 +8,8 @@ on:
paths:
- .github/workflows/coverity.yml
- coverity-scan.sh
+env:
+ DO_NOT_TRACK: 1
jobs:
coverity:
if: github.repository == 'netdata/netdata'
diff --git a/.github/workflows/dashboard-pr.yml b/.github/workflows/dashboard-pr.yml
index 8f5a40f2be..a1e068285b 100644
--- a/.github/workflows/dashboard-pr.yml
+++ b/.github/workflows/dashboard-pr.yml
@@ -11,6 +11,9 @@ on:
name: Dashboard Version
required: true
+env:
+ DO_NOT_TRACK: 1
+
jobs:
dashboard-pr:
name: Generate Dashboard Version Bump PR
diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 4f18ce5b68..6a823ccc66 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -11,6 +11,8 @@ on:
name: Version Tag
default: nightly
required: true
+env:
+ DO_NOT_TRACK: 1
jobs:
docker-build:
name: Docker Build
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9f7234f92d..73bcc87734 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -9,6 +9,8 @@ on:
pull_request:
paths:
- '**.md'
+env:
+ DO_NOT_TRACK: 1
jobs:
markdown-link-check:
name: Broken Links
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 24842e73d3..582a104049 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -4,6 +4,8 @@ name: Pull Request Labeler
on:
schedule:
- cron: '*/5 * * * *'
+env:
+ DO_NOT_TRACK: 1
jobs:
labeler:
runs-on: ubuntu-latest
diff --git a/.github/workflows/packaging.yml b/.github/workflows/packaging.yml
index df3818cf2e..7b386e6cfa 100644
--- a/.github/workflows/packaging.yml
+++ b/.github/workflows/packaging.yml
@@ -15,6 +15,8 @@ on:
version:
name: Package version
required: false
+env:
+ DO_NOT_TRACK: 1
jobs:
build:
name: Build
@@ -112,7 +114,7 @@ jobs:
shell: bash
run: |
mkdir -p artifacts
- docker run --platform ${{ matrix.platform }} -v $PWD/artifacts:/artifacts local/package-builder:${{ matrix.distro }}${{ matrix.version }}
+ docker run -e DO_NOT_TRACK=1 --platform ${{ matrix.platform }} -v $PWD/artifacts:/artifacts local/package-builder:${{ matrix.distro }}${{ matrix.version }}
- name: Upload
if: github.event_name == 'workflow_dispatch'
shell: bash
diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml
index a267fea3f4..9b400aceb7 100644
--- a/.github/workflows/review.yml
+++ b/.github/workflows/review.yml
@@ -8,6 +8,7 @@ env:
run_hadolint: 0
run_shellcheck: 0
run_yamllint: 0
+ DO_NOT_TRACK: 1
jobs:
eslint:
name: eslint
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 72c789582a..7bcce25da9 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -14,6 +14,8 @@ on:
- 'CMakeLists.txt'
- '**.c'
- '**.h'
+env:
+ DO_NOT_TRACK: 1
jobs:
unit-tests-legacy:
name: Unit Tests (legacy)
diff --git a/.github/workflows/updater.yml b/.github/workflows/updater.yml
index 5f8d77c4a2..2da71de6cd 100644
--- a/.github/workflows/updater.yml
+++ b/.github/workflows/updater.yml
@@ -8,6 +8,9 @@ on:
branches:
- master
+env:
+ DO_NOT_TRACK: 1
+
jobs:
source-build:
name: Install, Build & Update
@@ -79,7 +82,7 @@ jobs:
run: |
echo $PRE > ./prep-cmd.sh
docker build . -f .github/dockerfiles/Dockerfile.build_test -t test --build-arg BASE=${{ matrix.distro }}
- docker run --network host -w /netdata test \
+ docker run -e DO_NOT_TRACK=1 --network host -w /netdata test \
/bin/sh -c '/netdata/packaging/installer/kickstart.sh --dont-wait \
&& /netdata/packaging/installer/netdata-updater.sh --not-running-from-cron --no-updater-self-update \
&& bash /netdata/.github/scripts/check-updater.sh'
diff --git a/packaging/Dockerfile.packager b/packaging/Dockerfile.packager
index 4c90f14fd8..c4e6c54c64 100644
--- a/packaging/Dockerfile.packager
+++ b/packaging/Dockerfile.packager
@@ -15,6 +15,7 @@ ENV ARCH=$ARCH
ENV DISTRO=$DISTRO
ENV DISTRO_VERSION=$DISTRO_VERSION
ENV VERSION=$PKG_VERSION
+ENV DO_NOT_TRACK=1
WORKDIR /netdata
COPY . .
@@ -32,6 +33,7 @@ ENV ARCH=$ARCH
ENV DISTRO=$DISTRO
ENV DISTRO_VERSION=$DISTRO_VERSION
ENV VERSION=$PKG_VERSION
+ENV DO_NOT_TRACK=1
COPY ./packaging/scripts/install.sh /install.sh
COPY ./packaging/scripts/test.sh /test.sh