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
@@ -6,6 +6,9 @@ import * as inputs from "./types/input";
import * as outputs from "./types/output";
import * as utilities from "./utilities";
/**
* Look up an existing Dokploy project by ID, including its environments.
*/
export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("dokploy:index/getProject:getProject", {
@@ -17,6 +20,9 @@ export function getProject(args: GetProjectArgs, opts?: pulumi.InvokeOptions): P
* A collection of arguments for invoking getProject.
*/
export interface GetProjectArgs {
/**
* Project identifier.
*/
id: string;
}
@@ -24,15 +30,42 @@ export interface GetProjectArgs {
* A collection of values returned by getProject.
*/
export interface GetProjectResult {
/**
* Creation timestamp.
*/
readonly createdAt: string;
/**
* ID of the project's default environment.
*/
readonly defaultEnvironmentId: string;
/**
* Project description.
*/
readonly description: string;
/**
* Project-wide environment variables.
*/
readonly env: string;
/**
* Every environment in the project.
*/
readonly environments: outputs.GetProjectEnvironment[];
/**
* Project identifier.
*/
readonly id: string;
/**
* Project name.
*/
readonly name: string;
/**
* Owning organization.
*/
readonly organizationId: string;
}
/**
* Look up an existing Dokploy project by ID, including its environments.
*/
export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProjectResult> {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invokeOutput("dokploy:index/getProject:getProject", {
@@ -44,5 +77,8 @@ export function getProjectOutput(args: GetProjectOutputArgs, opts?: pulumi.Invok
* A collection of arguments for invoking getProject.
*/
export interface GetProjectOutputArgs {
/**
* Project identifier.
*/
id: pulumi.Input<string>;
}