More completely disable our own telemetry in CI. (#20009)
Austin S. Hemmelgarn committed
Apr 1, 2025 at 16:00 UTC
3e85df06b9e9533912b62fc3fbb1741f85b3c666
3 files changed
+5
.github/scripts/docker-test.sh
+1
@@ -20,6 +20,7 @@ docker run -d --name=netdata \
20
-v /etc/os-release:/host/etc/os-release:ro \
21
--cap-add SYS_PTRACE \
22
--security-opt apparmor=unconfined \
23
+ -e DISABLE_TELEMETRY=1 \
24
netdata/netdata:test
25
26
if ! "${SCRIPT_DIR}/../../packaging/runtime-check.sh"; then
.github/scripts/pkg-test.sh
+2
@@ -2,6 +2,8 @@
2
3
SCRIPT_DIR="$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)"
4
5
+export DISABLE_TELEMETRY=1
6
+
7
install_debian_like() {
8
# This is needed to ensure package installs don't prompt for any user input.
9
export DEBIAN_FRONTEND=noninteractive
.github/workflows/build.yml
+2
@@ -19,6 +19,8 @@ on:
19
concurrency: # This keeps multiple instances of the job from running concurrently for the same ref and event type.
20
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }}
21
cancel-in-progress: true
22
+env:
23
+ DISABLE_TELEMETRY: 1 # Disable telemetry reporting from the agent in our CI.
24
jobs:
25
file-check: # Check what files changed if we’re being run in a PR or on a push.
26
name: Check Modified Files