Bridge what Dokploy v0.30 added, and let the docs through
build / build (push) Failing after 11m22s
release / plugin (push) Failing after 31m35s
release / sdks (push) Has been skipped

Six new resources from terraform-provider-dokploy v0.2.0 -- Network,
DnsProvider, VaultProvider, Schedule, VolumeBackup and Libsql -- plus the new
properties on Domain (`enabled`), Compose (`serviceNetworks`, `createEnvFile`,
`icon`) and Application. Verified with `pulumi up` against a live v0.30.2
instance: create, preview-clean, and destroy.

The upstream provider also now refuses a volume Mount with no `volumeName`,
which Dokploy would otherwise turn into an anonymous Docker volume recreated
on every deploy. That surfaces here at preview time, before anything exists.

Two things made that fix nearly invisible to Pulumi users, so this commit
fixes the second one: the bridge resolves the upstream `docs/` through the Go
module cache, where a locally `replace`d dependency never lands, so tfgen was
emitting every resource with no description at all. UpstreamRepoPath now
points at the checkout and all 445 inputs carry documentation -- with names
rendered per language, so Python readers see `volume_name` where TypeScript
readers see `volumeName`.
This commit is contained in:
max-voitcov
2026-08-26 00:46:32 +03:00
parent ad3e908c98
commit 73386ba0ff
137 changed files with 19660 additions and 5183 deletions
+36
View File
@@ -12,12 +12,21 @@ namespace Maxvojtkov.Dokploy
{
public static class GetEnvironment
{
/// <summary>
/// Look up an existing environment by ID.
/// </summary>
public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentArgs(), options.WithDefaults());
/// <summary>
/// Look up an existing environment by ID.
/// </summary>
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentInvokeArgs(), options.WithDefaults());
/// <summary>
/// Look up an existing environment by ID.
/// </summary>
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOutputOptions options)
=> global::Pulumi.Deployment.Instance.Invoke<GetEnvironmentResult>("dokploy:index/getEnvironment:getEnvironment", args ?? new GetEnvironmentInvokeArgs(), options.WithDefaults());
}
@@ -25,6 +34,9 @@ namespace Maxvojtkov.Dokploy
public sealed class GetEnvironmentArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Environment identifier.
/// </summary>
[Input("id", required: true)]
public string Id { get; set; } = null!;
@@ -36,6 +48,9 @@ namespace Maxvojtkov.Dokploy
public sealed class GetEnvironmentInvokeArgs : global::Pulumi.InvokeArgs
{
/// <summary>
/// Environment identifier.
/// </summary>
[Input("id", required: true)]
public Input<string> Id { get; set; } = null!;
@@ -49,12 +64,33 @@ namespace Maxvojtkov.Dokploy
[OutputType]
public sealed class GetEnvironmentResult
{
/// <summary>
/// Creation timestamp.
/// </summary>
public readonly string CreatedAt;
/// <summary>
/// Environment description.
/// </summary>
public readonly string Description;
/// <summary>
/// Environment-wide variables.
/// </summary>
public readonly string Env;
/// <summary>
/// Environment identifier.
/// </summary>
public readonly string Id;
/// <summary>
/// Whether this is the project's default environment.
/// </summary>
public readonly bool IsDefault;
/// <summary>
/// Environment name.
/// </summary>
public readonly string Name;
/// <summary>
/// Owning project.
/// </summary>
public readonly string ProjectId;
[OutputConstructor]