Skip to content

Commit

Permalink
Disable Toolchain BuildSense (#11923)
Browse files Browse the repository at this point in the history
The plugin is failing, likely due to server changes: https://travis-ci.com/github/pantsbuild/pants/jobs/498920388#L210

Because this is an old branch, it's not worth the resources to upgrade the plugin.
  • Loading branch information
Eric-Arellano authored Apr 16, 2021
1 parent b08304e commit b2987fd
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 22 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,6 @@ jobs:
- mkdir -p dist/deploy/pex/
- mv dist/pants*.pex dist/deploy/pex/
stage: Deploy Pants Pex Unstable
notifications:
webhooks:
on_start: always
urls:
- https://webhooks.toolchain.com/travis/repo/pantsbuild/pants/
stages:
- if: type != cron
name: Bootstrap Pants
Expand Down
12 changes: 6 additions & 6 deletions build-support/bin/generate_travis_yml.py
Original file line number Diff line number Diff line change
Expand Up @@ -792,12 +792,12 @@ def main() -> None:
# Conditions are documented here: https://docs.travis-ci.com/user/conditions-v1
"conditions": "v1",
"env": {"global": GLOBAL_ENV_VARS},
"notifications": {
"webhooks": {
"on_start": "always",
"urls": ["https://webhooks.toolchain.com/travis/repo/pantsbuild/pants/"],
}
},
# "notifications": {
# "webhooks": {
# "on_start": "always",
# "urls": ["https://webhooks.toolchain.com/travis/repo/pantsbuild/pants/"],
# }
# },
"stages": Stage.all_entries(),
"deploy": DEPLOY_SETTINGS,
"jobs": {
Expand Down
12 changes: 6 additions & 6 deletions pants.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ backend_packages.add = [
"pants.backend.python.typecheck.mypy",
"pants.backend.python.mixed_interpreter_constraints",
"internal_plugins.releases",
"toolchain.pants.auth",
"toolchain.pants.buildsense",
"toolchain.pants.common",
# "toolchain.pants.auth",
# "toolchain.pants.buildsense",
# "toolchain.pants.common",
]

plugins = [
"toolchain.pants.plugin==0.1.0",
# "toolchain.pants.plugin==0.1.0",
]

build_file_prelude_globs = ["pants-plugins/python_integration_tests_macro.py"]
Expand Down Expand Up @@ -141,5 +141,5 @@ interpreter_constraints = [">=3.7,<3.9"]
[sourcefile-validation]
config = "@build-support/regexes/config.yaml"

[toolchain-setup]
repo = "pants"
# [toolchain-setup]
# repo = "pants"
10 changes: 5 additions & 5 deletions pants.travis-ci.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic_ui = false
# now in order to smooth off rough edges locally.
pantsd = false

streaming_workunits_handlers = ["toolchain.pants.buildsense.reporter.Reporter"]
#streaming_workunits_handlers = ["toolchain.pants.buildsense.reporter.Reporter"]

[test]
use_coverage = true
Expand All @@ -19,7 +19,7 @@ junit_xml_dir = "dist/test-results/"
[coverage-py]
report = ["raw", "xml"]

[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
org = "pantsbuild"
ci_env_variables = ["TRAVIS", "TRAVIS_JOB_ID", "TRAVIS_BUILD_ID", "TRAVIS_PULL_REQUEST", "TRAVIS_BUILD_WEB_URL"]
#[auth]
#from_env_var = "TOOLCHAIN_AUTH_TOKEN"
#org = "pantsbuild"
#ci_env_variables = ["TRAVIS", "TRAVIS_JOB_ID", "TRAVIS_BUILD_ID", "TRAVIS_PULL_REQUEST", "TRAVIS_BUILD_WEB_URL"]

0 comments on commit b2987fd

Please sign in to comment.