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
+39
View File
@@ -4,6 +4,9 @@
import * as pulumi from "@pulumi/pulumi";
import * as utilities from "./utilities";
/**
* Look up an existing application by ID.
*/
export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dokploy:index/getApplication:getApplication", {
@@ -15,6 +18,9 @@ export function getApplication(args: GetApplicationArgs, opts?: pulumi.InvokeOpt
* A collection of arguments for invoking getApplication.
*/
export interface GetApplicationArgs {
/**
* Application identifier.
*/
id: string;
}
@@ -22,16 +28,46 @@ export interface GetApplicationArgs {
* A collection of values returned by getApplication.
*/
export interface GetApplicationResult {
/**
* Docker service name.
*/
readonly appName: string;
/**
* Current status.
*/
readonly applicationStatus: string;
/**
* Build strategy.
*/
readonly buildType: string;
/**
* Creation timestamp.
*/
readonly createdAt: string;
/**
* Application description.
*/
readonly description: string;
/**
* Owning environment.
*/
readonly environmentId: string;
/**
* Application identifier.
*/
readonly id: string;
/**
* Application name.
*/
readonly name: string;
/**
* Source of the code or image.
*/
readonly sourceType: string;
}
/**
* Look up an existing application by ID.
*/
export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("dokploy:index/getApplication:getApplication", {
@@ -43,5 +79,8 @@ export function getApplicationOutput(args: GetApplicationOutputArgs, opts?: pulu
* A collection of arguments for invoking getApplication.
*/
export interface GetApplicationOutputArgs {
/**
* Application identifier.
*/
id: pulumi.Input<string>;
}