Helping a partner with bridging their provider. They ended up with a compile error because of a version mismatch between some of the required Pulumi packages. I wanted to use upgrade-provider to get it back in sync, but it fails because the provider doesn't have a Github release/tag yet.
Example
$ $GOPATH/bin/upgrade-provider 1Password/pulumi-onepassword --kind bridge
--- Set Up Environment ---
- GOWORK=off
- PULUMI_MISSING_DOCS_ERROR=true
- PULUMI_EXTRA_MAPPING_ERROR=true
--- done ---
--- Discover Provider ---
- Ensure Upstream Repo
- Expected Location: /Users/ringods/Projects/pulumi-partners/pulumi-onepassword
- GetCwd: /Users/ringods/Projects/pulumi-partners/pulumi-onepassword
- Repo Exists
- Stat
- Validate Repository
- git: /opt/homebrew/bin/git status --short
- Pull Default Branch
- git: /opt/homebrew/bin/git ls-remote --heads origin
- Find default Branch: main
- git: /opt/homebrew/bin/git fetch
- git: /opt/homebrew/bin/git checkout main
- git: /opt/homebrew/bin/git pull origin
- Get Repo Kind
- /Users/ringods/Projects/pulumi-partners/pulumi-onepassword/provider/go.mod: 12545 bytes read
- Stat
- Stat
- Get UpstreamOrg from module version
--- done ---
--- Plan Upgrade ---
- Planning Bridge Upgrade: v3.69.0 -> v3.76.0
- git refs of
- git: /opt/homebrew/bin/git ls-remote --tags https://github.com/pulumi/pulumi-terraform-bridge.git
- Planning Plugin SDK Upgrade: Could not find head branch at ref e6d96b3b8f7e. Upgrading to latest branch at 2.33.0 instead.
- Original Go Version of
- git: /opt/homebrew/bin/git show main:provider/go.mod
- git refs of
- git: /opt/homebrew/bin/git ls-remote --heads https://github.com/pulumi/terraform-plugin-sdk.git
-> Check if we should release a maintenance patch
- gh: /opt/homebrew/bin/gh repo view 1Password/pulumi-onepassword --json=latestRelease
--- failed ---
error: parsing time "" as "2006-01-02T15:04:05Z07:00": cannot parse "" as "2006"
$ /opt/homebrew/bin/gh repo view 1Password/pulumi-onepassword --json=latestRelease
{
"latestRelease": null
}
Output of pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).
What happened?
Helping a partner with bridging their provider. They ended up with a compile error because of a version mismatch between some of the required Pulumi packages. I wanted to use
upgrade-provider
to get it back in sync, but it fails because the provider doesn't have a Github release/tag yet.Example
Output of
pulumi about
N/A
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).