forked from pantsbuild/pants
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pants.ci.toml
33 lines (28 loc) · 881 Bytes
/
pants.ci.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[GLOBAL]
colors = true
remote_cache_read = true
remote_cache_write = true
[pytest]
args = ["--no-header", "--noskip", "-vv"]
[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
org = "pantsbuild"
# CI runs occasionally hit the 30 minute mark.
token_expiration_threshold = 40
ci_env_variables = [
"GITHUB_ACTIONS", "GITHUB_RUN_ID", "GITHUB_REF", "GITHUB_EVENT_NAME", "GITHUB_SHA", "GITHUB_REPOSITORY",
"GITHUB_WORKFLOW","GITHUB_JOB", # temporary, for debugging issues w/ restricted tokens.
]
restricted_token_matches = """{
'GITHUB_REPOSITORY': 'pantsbuild/pants',
}"""
[buildsense]
enable = true
collect_platform_data = true
log_final_upload_latency = true
[subprocess-environment]
env_vars.add = [
# Works around bad `-arch arm64` flag embedded in Xcode 12.x Python interpreters on intel
# machines. See: https://github.com/giampaolo/psutil/issues/1832
"ARCHFLAGS",
]