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))).
87 lines
1.9 KiB
Python
Generated
87 lines
1.9 KiB
Python
Generated
# coding=utf-8
|
|
# *** 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 builtins
|
|
from enum import Enum
|
|
|
|
__all__ = [
|
|
'CacheMode',
|
|
'CompressionType',
|
|
'NetworkMode',
|
|
'Platform',
|
|
]
|
|
|
|
|
|
class CacheMode(builtins.str, Enum):
|
|
MIN = "min"
|
|
"""
|
|
Only layers that are exported into the resulting image are cached.
|
|
"""
|
|
MAX = "max"
|
|
"""
|
|
All layers are cached, even those of intermediate steps.
|
|
"""
|
|
|
|
|
|
class CompressionType(builtins.str, Enum):
|
|
GZIP = "gzip"
|
|
"""
|
|
Use `gzip` for compression.
|
|
"""
|
|
ESTARGZ = "estargz"
|
|
"""
|
|
Use `estargz` for compression.
|
|
"""
|
|
ZSTD = "zstd"
|
|
"""
|
|
Use `zstd` for compression.
|
|
"""
|
|
|
|
|
|
class NetworkMode(builtins.str, Enum):
|
|
DEFAULT = "default"
|
|
"""
|
|
The default sandbox network mode.
|
|
"""
|
|
HOST = "host"
|
|
"""
|
|
Host network mode.
|
|
"""
|
|
NONE = "none"
|
|
"""
|
|
Disable network access.
|
|
"""
|
|
|
|
|
|
class Platform(builtins.str, Enum):
|
|
DARWIN_386 = "darwin/386"
|
|
DARWIN_AMD64 = "darwin/amd64"
|
|
DARWIN_ARM = "darwin/arm"
|
|
DARWIN_ARM64 = "darwin/arm64"
|
|
DRAGONFLY_AMD64 = "dragonfly/amd64"
|
|
FREEBSD_386 = "freebsd/386"
|
|
FREEBSD_AMD64 = "freebsd/amd64"
|
|
FREEBSD_ARM = "freebsd/arm"
|
|
LINUX_386 = "linux/386"
|
|
LINUX_AMD64 = "linux/amd64"
|
|
LINUX_ARM = "linux/arm"
|
|
LINUX_ARM64 = "linux/arm64"
|
|
LINUX_MIPS64 = "linux/mips64"
|
|
LINUX_MIPS64LE = "linux/mips64le"
|
|
LINUX_PPC64LE = "linux/ppc64le"
|
|
LINUX_RISCV64 = "linux/riscv64"
|
|
LINUX_S390X = "linux/s390x"
|
|
NETBSD_386 = "netbsd/386"
|
|
NETBSD_AMD64 = "netbsd/amd64"
|
|
NETBSD_ARM = "netbsd/arm"
|
|
OPENBSD_386 = "openbsd/386"
|
|
OPENBSD_AMD64 = "openbsd/amd64"
|
|
OPENBSD_ARM = "openbsd/arm"
|
|
PLAN9_386 = "plan9/386"
|
|
PLAN9_AMD64 = "plan9/amd64"
|
|
SOLARIS_AMD64 = "solaris/amd64"
|
|
WINDOWS_386 = "windows/386"
|
|
WINDOWS_AMD64 = "windows/amd64"
|