Skip to content

Commit

Permalink
Remove toolchain plugin & disable anonymous telemetry (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherf authored May 22, 2023
1 parent db432c3 commit f0ff8dd
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 67 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ jobs:
- name: Set env vars
run: |
echo 'PANTS_CONFIG_FILES=+["${{ github.workspace }}/pants.ci.toml"]' >> ${GITHUB_ENV}
echo 'TOOLCHAIN_AUTH_TOKEN=${{ secrets.TOOLCHAIN_AUTH_TOKEN }}' >> ${GITHUB_ENV}
- name: Pants Bootstrap
run: ./pants version
- name: show toolchain token
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/check-toolchain-token.yml

This file was deleted.

5 changes: 0 additions & 5 deletions pants.ci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,3 @@
[GLOBAL]
dynamic_ui = false
colors = true
remote_cache_read = true
remote_cache_write = true

[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
14 changes: 2 additions & 12 deletions pants.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
[GLOBAL]
pants_version = "2.15.0"
pants_version = "2.15.1"
backend_packages.add = [
"pants.backend.build_files.fmt.black",
"pants.backend.experimental.go",
"pants.backend.docker",
]
plugins = [
"toolchain.pants.plugin==0.27.0",
]
# Caching is disabled by default so that desktop builds are not cached. CI caching is enabled in pants.ci.toml.
remote_cache_read = false
remote_cache_write = false
Expand All @@ -18,19 +15,12 @@ remote_cache_warnings = "backoff"
root_patterns = ["/"]

[anonymous-telemetry]
enabled = true
repo_id = "E6C010FF-E41B-4AFE-9B6C-05F85B219046"
enabled = false # anonymous-telemetry is being deprecated from pants

[toolchain-setup]
org = "toolchainlabs"
repo = "remote-api-tools"

[golang]
minimum_expected_version = "1.19"

[buildsense]
collect_platform_data = true

[docker.registries.dockerhub]
address = "registry.hub.docker.com"
default = true
Expand Down

0 comments on commit f0ff8dd

Please sign in to comment.