Skip to content

Commit b493f10

Browse files
committed
explicitly disable anonymous-telemetry (but allow local override)
And enable for CI runs.
1 parent ec0a2db commit b493f10

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

pants.ci.toml

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# This config is for CI. It extends the config in pants.toml.
22
# See https://www.pantsbuild.org/docs/using-pants-in-ci
33

4+
[anonymous-telemetry]
5+
# enable telemetry for CI
6+
enabled = true
7+
48
[GLOBAL]
59
# Colors often work in CI, but the shell is usually not a TTY so Pants
610
# doesn't attempt to use them by default.

pants.toml

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
[anonymous-telemetry]
2+
# This is opt-in by default, but we explicitly disable here as well.
3+
enabled = false
4+
# repo_id here allows individuals to opt-in on their machine
5+
# To opt-in, use ~/.pants.rc or envrc to set [anonymous-telemetry].enabled=true
6+
repo_id = "de0dea7a-9f6a-4c6e-aa20-6ba5ad969b8a"
7+
18
[GLOBAL]
29
pants_version = "2.14.0rc1"
310
backend_packages = [

0 commit comments

Comments
 (0)