Bridge what Dokploy v0.30 added, and let the docs through
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:
Generated
+43
@@ -10,6 +10,13 @@ using Pulumi;
|
||||
|
||||
namespace Maxvojtkov.Dokploy
|
||||
{
|
||||
/// <summary>
|
||||
/// A Dokploy application: a single service built from a Git repository, a Docker image, or an uploaded artifact.
|
||||
///
|
||||
/// Dokploy's `application.create` endpoint accepts only a handful of fields, so this resource creates the application and then applies the rest of the configuration through `application.update`.
|
||||
///
|
||||
/// > Creating this resource does **not** deploy the application. Trigger a deployment from the Dokploy UI, the CLI, or a `TerraformData` provisioner calling `application.deploy`.
|
||||
/// </summary>
|
||||
[DokployResourceType("dokploy:index/application:Application")]
|
||||
public partial class Application : global::Pulumi.CustomResource
|
||||
{
|
||||
@@ -331,6 +338,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Output("herokuVersion")]
|
||||
public Output<string> HerokuVersion { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the service in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Output("icon")]
|
||||
public Output<string?> Icon { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Build a preview deployment for each pull request.
|
||||
/// </summary>
|
||||
@@ -463,6 +476,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Output("previewPort")]
|
||||
public Output<int> PreviewPort { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Only build previews for pull requests opened by users with repository collaborator permissions.
|
||||
/// </summary>
|
||||
[Output("previewRequireCollaboratorPermissions")]
|
||||
public Output<bool> PreviewRequireCollaboratorPermissions { get; private set; } = null!;
|
||||
|
||||
/// <summary>
|
||||
/// Wildcard domain used to expose preview deployments.
|
||||
/// </summary>
|
||||
@@ -964,6 +983,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("herokuVersion")]
|
||||
public Input<string>? HerokuVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the service in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Input("icon")]
|
||||
public Input<string>? Icon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Build a preview deployment for each pull request.
|
||||
/// </summary>
|
||||
@@ -1128,6 +1153,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("previewPort")]
|
||||
public Input<int>? PreviewPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Only build previews for pull requests opened by users with repository collaborator permissions.
|
||||
/// </summary>
|
||||
[Input("previewRequireCollaboratorPermissions")]
|
||||
public Input<bool>? PreviewRequireCollaboratorPermissions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Wildcard domain used to expose preview deployments.
|
||||
/// </summary>
|
||||
@@ -1602,6 +1633,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("herokuVersion")]
|
||||
public Input<string>? HerokuVersion { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Icon shown next to the service in the Dokploy UI.
|
||||
/// </summary>
|
||||
[Input("icon")]
|
||||
public Input<string>? Icon { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Build a preview deployment for each pull request.
|
||||
/// </summary>
|
||||
@@ -1766,6 +1803,12 @@ namespace Maxvojtkov.Dokploy
|
||||
[Input("previewPort")]
|
||||
public Input<int>? PreviewPort { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Only build previews for pull requests opened by users with repository collaborator permissions.
|
||||
/// </summary>
|
||||
[Input("previewRequireCollaboratorPermissions")]
|
||||
public Input<bool>? PreviewRequireCollaboratorPermissions { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Wildcard domain used to expose preview deployments.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user