Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[internal] Add toolchain plugin (disabled). #11287

Merged
merged 1 commit into from
Dec 10, 2020
Merged

Conversation

asherf
Copy link
Member

@asherf asherf commented Dec 9, 2020

This PR adds the toolchain plugin that collects pants metrics into the toolchain SaaS platform.
The plugin just loads, it is not enabled/running.
This change will allow further testing before enabling it in CI.
It will always be optional for local/desktop pants runs

This PR also configures travis to send webhooks to the Toolchain platform, those webhooks are used to enrich pants data by associating travis jobs data with pants run data in the Toolchain SaaS platform.

@asherf asherf changed the title Add toolchain plugin (disabled). [internal] Add toolchain plugin (disabled). Dec 9, 2020
"toolchain.pants.buildsense.plugin==0.1.0",
]

streaming_workunits_report_interval = 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would probably make a better default than the current value. If you need to re-run this through CI, consider changing the default instead.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll have a follow up PR to change the default for this and for run tracker options so we can remove those from pants.toml


[auth]
from_env_var = "TOOLCHAIN_AUTH_TOKEN"
customer = "pantsbuild"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: renaming this to user or org would be more neutral.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this requires a new version of the plugin, I will be addressing that later on.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 0ac2867 on asherf:jerry into 07516b8 on pantsbuild:master.

@stuhood stuhood merged commit dfff814 into pantsbuild:master Dec 10, 2020
@asherf asherf deleted the jerry branch December 10, 2020 00:13
asherf added a commit to asherf/pants that referenced this pull request Dec 21, 2020
This change upgrades to the new version of the Toolchain pants plugin (which was also renamed).
There are a bunch of bug fixes and removed internal feature flags that are no longer needed.

See pantsbuild#11287 (comment) for more context
asherf added a commit to asherf/pants that referenced this pull request Dec 21, 2020
This change upgrades to the new version of the Toolchain pants plugin (which was also renamed).
There are a bunch of bug fixes and removed internal feature flags that are no longer needed.

See pantsbuild#11287 (comment) for more context
asherf added a commit to asherf/pants that referenced this pull request Dec 22, 2020
This change upgrades to the new version of the Toolchain pants plugin (which was also renamed).
There are a bunch of bug fixes and removed internal feature flags that are no longer needed.

See pantsbuild#11287 (comment) for more context
stuhood pushed a commit that referenced this pull request Dec 22, 2020
This change upgrades to the new version of the Toolchain pants plugin (which was also renamed).
There are a bunch of bug fixes and removed internal feature flags that are no longer needed.
https://pypi.org/project/toolchain.pants.plugin/0.1.0/
See #11287 (comment) for more context
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants