Fix weekly pulumi/pulumi update (#501)

Fixes: #497 

This PR follows the `weekly-pulumi-update` CI workflow steps to update
our `pulumi/pulumi` dependency, with manual intervention to resolve
tooling update conflicts. Before generating the SDKs, it's necessary to
update the language tools and otel packages to ensure compatibility with
the latest changes.

Additional command executed for the manual updates:

```sh
TOOLS=(
    "github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3"
    "github.com/pulumi/pulumi/sdk/nodejs/cmd/pulumi-language-nodejs/v3"
    "github.com/pulumi/pulumi/sdk/python/cmd/pulumi-language-python/v3"
    "go.opentelemetry.io/otel/exporters/otlp/otlptrace"
)

for TOOL in "${TOOLS[@]}"; do
    go get -u $TOOL
    go mod tidy
done
```

---

Note: the Go directive is upgraded to v1.24 as
`github.com/pulumi/pulumi/sdk/go/pulumi-language-go/v3` requires Go
v1.24
([ref](5c96e4e6aa/sdk/go/pulumi-language-go/go.mod (L3))).
This commit is contained in:
Ramon Quitales
2025-04-21 11:26:37 -07:00
committed by GitHub
parent 4d858c52b9
commit 8c5a9ac033
76 changed files with 1306 additions and 1290 deletions

View File

@@ -2,6 +2,7 @@
# *** WARNING: this file was generated by pulumi-language-python. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import builtins
import copy
import warnings
import sys
@@ -21,15 +22,15 @@ __all__ = ['IndexArgs', 'Index']
@pulumi.input_type
class IndexArgs:
def __init__(__self__, *,
sources: pulumi.Input[Sequence[pulumi.Input[str]]],
tag: pulumi.Input[str],
push: Optional[pulumi.Input[bool]] = None,
sources: pulumi.Input[Sequence[pulumi.Input[builtins.str]]],
tag: pulumi.Input[builtins.str],
push: Optional[pulumi.Input[builtins.bool]] = None,
registry: Optional[pulumi.Input['RegistryArgs']] = None):
"""
The set of arguments for constructing a Index resource.
:param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
:param pulumi.Input[str] tag: The tag to apply to the index.
:param pulumi.Input[bool] push: If true, push the index to the target registry.
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] sources: Existing images to include in the index.
:param pulumi.Input[builtins.str] tag: The tag to apply to the index.
:param pulumi.Input[builtins.bool] push: If true, push the index to the target registry.
Defaults to `true`.
:param pulumi.Input['RegistryArgs'] registry: Authentication for the registry where the tagged index will be pushed.
@@ -47,31 +48,31 @@ class IndexArgs:
@property
@pulumi.getter
def sources(self) -> pulumi.Input[Sequence[pulumi.Input[str]]]:
def sources(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.str]]]:
"""
Existing images to include in the index.
"""
return pulumi.get(self, "sources")
@sources.setter
def sources(self, value: pulumi.Input[Sequence[pulumi.Input[str]]]):
def sources(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.str]]]):
pulumi.set(self, "sources", value)
@property
@pulumi.getter
def tag(self) -> pulumi.Input[str]:
def tag(self) -> pulumi.Input[builtins.str]:
"""
The tag to apply to the index.
"""
return pulumi.get(self, "tag")
@tag.setter
def tag(self, value: pulumi.Input[str]):
def tag(self, value: pulumi.Input[builtins.str]):
pulumi.set(self, "tag", value)
@property
@pulumi.getter
def push(self) -> Optional[pulumi.Input[bool]]:
def push(self) -> Optional[pulumi.Input[builtins.bool]]:
"""
If true, push the index to the target registry.
@@ -80,7 +81,7 @@ class IndexArgs:
return pulumi.get(self, "push")
@push.setter
def push(self, value: Optional[pulumi.Input[bool]]):
def push(self, value: Optional[pulumi.Input[builtins.bool]]):
pulumi.set(self, "push", value)
@property
@@ -99,14 +100,17 @@ class IndexArgs:
class Index(pulumi.CustomResource):
pulumi_type = "docker-build:index:Index"
@overload
def __init__(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
push: Optional[pulumi.Input[bool]] = None,
push: Optional[pulumi.Input[builtins.bool]] = None,
registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tag: Optional[pulumi.Input[str]] = None,
sources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
tag: Optional[pulumi.Input[builtins.str]] = None,
__props__=None):
"""
A wrapper around `docker buildx imagetools create` to create an index
@@ -180,14 +184,14 @@ class Index(pulumi.CustomResource):
:param str resource_name: The name of the resource.
:param pulumi.ResourceOptions opts: Options for the resource.
:param pulumi.Input[bool] push: If true, push the index to the target registry.
:param pulumi.Input[builtins.bool] push: If true, push the index to the target registry.
Defaults to `true`.
:param pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']] registry: Authentication for the registry where the tagged index will be pushed.
Credentials can also be included with the provider's configuration.
:param pulumi.Input[Sequence[pulumi.Input[str]]] sources: Existing images to include in the index.
:param pulumi.Input[str] tag: The tag to apply to the index.
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] sources: Existing images to include in the index.
:param pulumi.Input[builtins.str] tag: The tag to apply to the index.
"""
...
@overload
@@ -280,10 +284,10 @@ class Index(pulumi.CustomResource):
def _internal_init(__self__,
resource_name: str,
opts: Optional[pulumi.ResourceOptions] = None,
push: Optional[pulumi.Input[bool]] = None,
push: Optional[pulumi.Input[builtins.bool]] = None,
registry: Optional[pulumi.Input[Union['RegistryArgs', 'RegistryArgsDict']]] = None,
sources: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
tag: Optional[pulumi.Input[str]] = None,
sources: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
tag: Optional[pulumi.Input[builtins.str]] = None,
__props__=None):
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
if not isinstance(opts, pulumi.ResourceOptions):
@@ -335,7 +339,7 @@ class Index(pulumi.CustomResource):
@property
@pulumi.getter
def push(self) -> pulumi.Output[Optional[bool]]:
def push(self) -> pulumi.Output[Optional[builtins.bool]]:
"""
If true, push the index to the target registry.
@@ -345,7 +349,7 @@ class Index(pulumi.CustomResource):
@property
@pulumi.getter
def ref(self) -> pulumi.Output[str]:
def ref(self) -> pulumi.Output[builtins.str]:
"""
The pushed tag with digest.
@@ -365,7 +369,7 @@ class Index(pulumi.CustomResource):
@property
@pulumi.getter
def sources(self) -> pulumi.Output[Sequence[str]]:
def sources(self) -> pulumi.Output[Sequence[builtins.str]]:
"""
Existing images to include in the index.
"""
@@ -373,7 +377,7 @@ class Index(pulumi.CustomResource):
@property
@pulumi.getter
def tag(self) -> pulumi.Output[str]:
def tag(self) -> pulumi.Output[builtins.str]:
"""
The tag to apply to the index.
"""