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

fix provider type for git based plugins #761

Merged
merged 4 commits into from
Mar 24, 2025
Merged

Conversation

tgummerer
Copy link
Contributor

#734 made it so that packages are loaded correctly from disk, but at the same time it also used that name internally, making the provider type look strange (see also pulumi/pulumi#18877).

This fixes that (with the help of the pulumi/pulumi changes in pulumi/pulumi#18951), and also adds a regression test, both for the issue fixed in
#734, and for the new issue found. Note that #734 is reverted here, as it is no longer needed with the new way we're loading plugins, taking the download url into account correctly.

Depends on pulumi/pulumi#18951
Fixes pulumi/pulumi#18877
Fixes #737

@tgummerer tgummerer force-pushed the tg/fix-provider-type branch from 9641ffa to f71683d Compare March 21, 2025 16:34
@tgummerer tgummerer marked this pull request as ready for review March 21, 2025 16:34
@tgummerer tgummerer requested a review from a team as a code owner March 21, 2025 16:34
@tgummerer tgummerer force-pushed the tg/fix-provider-type branch 2 times, most recently from d27817d to 7b87f22 Compare March 21, 2025 16:56
Copy link
Member

@mikhailshilkov mikhailshilkov left a comment

Choose a reason for hiding this comment

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

LGTM

tgummerer added a commit that referenced this pull request Mar 24, 2025
We install some (very) outdated toolchains for the build.  The old
nodeJS version for example makes `pulumi package add` in
#761 not work properly.
Update all of these to the latest supported releases.
tgummerer added a commit that referenced this pull request Mar 24, 2025
We install some (very) outdated toolchains for the build. The old nodeJS
version for example makes `pulumi package add` in
#761 not work properly. Update
all of these to the latest supported releases.
#734 made it so that
packages are loaded correctly from disk, but at the same time it also
used that name internally, making the provider type look strange (see
also pulumi/pulumi#18877).

This fixes that (with the help of the pulumi/pulumi changes in
pulumi/pulumi#18951), and also adds a
regression test, both for the issue fixed in
#734, and for the new issue
found.  Note that #734 is
reverted here, as it is no longer needed with the new way we're
loading plugins, taking the download url into account correctly.
@tgummerer tgummerer force-pushed the tg/fix-provider-type branch from 7b87f22 to 077b47a Compare March 24, 2025 10:22
@tgummerer tgummerer enabled auto-merge (squash) March 24, 2025 10:22
@tgummerer tgummerer merged commit 577b13c into main Mar 24, 2025
6 checks passed
@tgummerer tgummerer deleted the tg/fix-provider-type branch March 24, 2025 10:33
@pulumi-bot
Copy link

This PR has been shipped in release v1.15.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants