Skip to content

CI: separate tools and plugin release steps#248

Merged
chrisnovakovic merged 2 commits intoplease-build:masterfrom
chrisnovakovic:reorg-gha-pipeline
Oct 13, 2025
Merged

CI: separate tools and plugin release steps#248
chrisnovakovic merged 2 commits intoplease-build:masterfrom
chrisnovakovic:reorg-gha-pipeline

Conversation

@chrisnovakovic
Copy link
Contributor

@chrisnovakovic chrisnovakovic commented Oct 13, 2025

Currently, tools releases (which include please_pex) are blocked if the tests fail when built by the stable please_pex release, which prevents new versions of please_pex from being released in the event that external factors (e.g. changes on the CI platform) cause please_pex to stop working.

Break this cyclic dependency by only making tools releases contingent on the tests passing when built by the in-repo version of please_pex, and only make plugin releases contingent on the tests passing when built by the version of please_pex downloaded by //tools:please_pex. This allows us to fix problems with please_pex, get a new version released, and use that version in the plugin without having to temporarily disable any tests in the workflow.

Currently, tools releases (which include please_pex) are blocked if the
tests fail when built by the stable please_pex release, which prevents
new versions of please_pex from being released in the event that
external factors (e.g. changes on the CI platform) cause please_pex to
stop working.

Break this cyclic dependency by only making tools releases contingent on
the tests passing when built by the in-repo version of please_pex, and
only make plugin releases contingent on the tests passing when built by
the version of please_pex downloaded by `//tools:please_pex`. This
allows us to fix problems with please_pex, get a new version released,
and use that version in the plugin without having to ignore CI test
failures at any stage.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This test is obsolete now that we're no longer relying on actions/setup-python to put python3 in our PATH - plugin.python.defaultinterpreter is now being set to the absolute path to the interpreter installed by the action, so we know for sure which interpreter we're using.

@chrisnovakovic chrisnovakovic merged commit fc898b2 into please-build:master Oct 13, 2025
12 checks passed
@chrisnovakovic chrisnovakovic deleted the reorg-gha-pipeline branch October 13, 2025 13:00
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.

2 participants