thankful-match-46035
03/06/2025, 2:23 PMupgrade-provider --major ovh/pulumi-ovh
command, it fails.
We need to do an upgrade to a major version (1.6.0 to 2.0.0) and it seems that the .ci-mgmt.yaml
is missing.
What is this file? Do we need it? :)
Thanks πthankful-match-46035
03/06/2025, 2:38 PMthankful-match-46035
03/06/2025, 2:41 PMadorable-house-61348
03/07/2025, 12:03 PMupgrade-provider
doesn't handle.
Looks like we have a regression in upgrade-provider. It shouldn't require ci-mgmt, which is something we use for managing our providers.
Can you please try with an upgrade-provider commit from before the bug, say 773f438d82f96ad12a3f1e132fa8b08ae93366f4
?
Does that do the job?
Note that you also need to manually update the Go module references as well as the README files:
1. Change all version references to the new version in the codebase, e.g in
`provider/cmd/pulumi-resource-${PROVIDER}/main.go`:
```go
import (
"<http://github.com/pulumi/pulumi-${PROVIDER}/provider/v${NEXT_VERSION}|github.com/pulumi/pulumi-${PROVIDER}/provider/v${NEXT_VERSION}>"
"<http://github.com/pulumi/pulumi-${PROVIDER}/provider/v${NEXT_VERSION}/pkg/version|github.com/pulumi/pulumi-${PROVIDER}/provider/v${NEXT_VERSION}/pkg/version>"
)
```
adorable-house-61348
03/07/2025, 12:44 PMthankful-match-46035
03/10/2025, 8:17 AMgo install <http://github.com/pulumi/upgrade-provider@773f438d82f96ad12a3f1e132fa8b08ae93366f4|github.com/pulumi/upgrade-provider@773f438d82f96ad12a3f1e132fa8b08ae93366f4>
command, the script is running now.
Iβm trying to upgrade to the major version now π€thankful-match-46035
03/10/2025, 1:03 PMthankful-match-46035
03/11/2025, 7:52 AMthankful-match-46035
03/12/2025, 8:51 AMadorable-house-61348
03/17/2025, 12:08 PMthankful-match-46035
03/17/2025, 12:09 PMadorable-house-61348
03/17/2025, 12:09 PMthankful-match-46035
03/17/2025, 12:09 PMthankful-match-46035
03/17/2025, 12:10 PMadorable-house-61348
03/17/2025, 12:11 PMupgrade-provider
tool? It automates a few steps for you but isn't really necessarythankful-match-46035
03/17/2025, 12:11 PMthankful-match-46035
03/17/2025, 12:12 PMadorable-house-61348
03/17/2025, 12:13 PMgo
dependencies to /v2
adorable-house-61348
03/17/2025, 12:14 PMmake tfgen build_sdks
should do the right thing for the sdksthankful-match-46035
03/17/2025, 12:14 PMadorable-house-61348
03/17/2025, 12:16 PMTFProviderModuleVersion
field on the ProviderInfo
in resources.go
As well as in the provider/go.mod
:
module <http://github.com/pulumi/pulumi-${PROVIDER}/provider/v2|github.com/pulumi/pulumi-${PROVIDER}/provider/v2>
Should be update to point to v2
thankful-match-46035
03/17/2025, 12:17 PMthankful-match-46035
03/17/2025, 12:17 PMthankful-match-46035
03/17/2025, 12:19 PMadorable-house-61348
03/17/2025, 12:19 PMadorable-house-61348
03/17/2025, 12:20 PMthankful-match-46035
03/17/2025, 12:23 PMthankful-match-46035
03/17/2025, 1:20 PMthankful-match-46035
03/17/2025, 2:00 PMthankful-match-46035
03/18/2025, 2:14 PMadorable-house-61348
03/18/2025, 2:14 PM