@pulumi/pulumiservice 0.20.1 → 0.20.2-alpha.1715626208

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
3
4
  /**
4
5
  * Deployment settings configure Pulumi Deployments for a stack.
5
6
  *
@@ -26,6 +27,22 @@ export declare class DeploymentSettings extends pulumi.CustomResource {
26
27
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
27
28
  */
28
29
  static isInstance(obj: any): obj is DeploymentSettings;
30
+ /**
31
+ * The agent pool identifier to use for the deployment.
32
+ */
33
+ readonly agentPoolId: pulumi.Output<string | undefined>;
34
+ /**
35
+ * Settings related to the deployment executor.
36
+ */
37
+ readonly executorContext: pulumi.Output<outputs.DeploymentSettingsExecutorContext | undefined>;
38
+ /**
39
+ * GitHub settings for the deployment.
40
+ */
41
+ readonly github: pulumi.Output<outputs.DeploymentSettingsGithub | undefined>;
42
+ /**
43
+ * Settings related to the Pulumi operation environment during the deployment.
44
+ */
45
+ readonly operationContext: pulumi.Output<outputs.DeploymentSettingsOperationContext | undefined>;
29
46
  /**
30
47
  * Organization name.
31
48
  */
@@ -34,6 +51,10 @@ export declare class DeploymentSettings extends pulumi.CustomResource {
34
51
  * Project name.
35
52
  */
36
53
  readonly project: pulumi.Output<string>;
54
+ /**
55
+ * Settings related to the source of the deployment.
56
+ */
57
+ readonly sourceContext: pulumi.Output<outputs.DeploymentSettingsSourceContext>;
37
58
  /**
38
59
  * Stack name.
39
60
  */
@@ -72,8 +72,13 @@ class DeploymentSettings extends pulumi.CustomResource {
72
72
  resourceInputs["stack"] = args ? args.stack : undefined;
73
73
  }
74
74
  else {
75
+ resourceInputs["agentPoolId"] = undefined /*out*/;
76
+ resourceInputs["executorContext"] = undefined /*out*/;
77
+ resourceInputs["github"] = undefined /*out*/;
78
+ resourceInputs["operationContext"] = undefined /*out*/;
75
79
  resourceInputs["organization"] = undefined /*out*/;
76
80
  resourceInputs["project"] = undefined /*out*/;
81
+ resourceInputs["sourceContext"] = undefined /*out*/;
77
82
  resourceInputs["stack"] = undefined /*out*/;
78
83
  }
79
84
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"deploymentSettings.js","sourceRoot":"","sources":["../deploymentSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,wCAAwC;AAGxC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAeD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,CAAC,CAAC,I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O,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAvGL,gDAwGC;AA3FG,gBAAgB;AACO,+BAAY,GAAG,wCAAwC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/pulumiservice",
3
- "version": "v0.20.1",
3
+ "version": "v0.20.2-alpha.1715626208+4caa4642",
4
4
  "keywords": [
5
5
  "pulumi",
6
6
  "kind/native",
@@ -10,7 +10,8 @@
10
10
  "repository": "https://github.com/pulumi/pulumi-pulumiservice",
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
- "build": "tsc"
13
+ "build": "tsc",
14
+ "install": "node scripts/install-pulumi-plugin.js resource pulumiservice v0.20.2-alpha.1715626208+4caa4642"
14
15
  },
15
16
  "dependencies": {
16
17
  "@pulumi/pulumi": "^3.0.0"
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@pulumi/pulumiservice",
3
+ "version": "v0.20.2-alpha.1715626208+4caa4642",
4
+ "keywords": [
5
+ "pulumi",
6
+ "kind/native",
7
+ "category/infrastructure"
8
+ ],
9
+ "homepage": "https://pulumi.com",
10
+ "repository": "https://github.com/pulumi/pulumi-pulumiservice",
11
+ "license": "Apache-2.0",
12
+ "scripts": {
13
+ "build": "tsc"
14
+ },
15
+ "dependencies": {
16
+ "@pulumi/pulumi": "^3.0.0"
17
+ },
18
+ "devDependencies": {
19
+ "@types/node": "^14",
20
+ "typescript": "^4.3.5"
21
+ },
22
+ "pulumi": {
23
+ "resource": true,
24
+ "name": "pulumiservice"
25
+ }
26
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ var childProcess = require("child_process");
3
+
4
+ var args = process.argv.slice(2);
5
+ var res = childProcess.spawnSync("pulumi", ["plugin", "install"].concat(args), {
6
+ stdio: ["ignore", "inherit", "inherit"]
7
+ });
8
+
9
+ if (res.error && res.error.code === "ENOENT") {
10
+ console.error("\nThere was an error installing the resource provider plugin. " +
11
+ "It looks like `pulumi` is not installed on your system. " +
12
+ "Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
13
+ "You may try manually installing the plugin by running " +
14
+ "`pulumi plugin install " + args.join(" ") + "`");
15
+ } else if (res.error || res.status !== 0) {
16
+ console.error("\nThere was an error installing the resource provider plugin. " +
17
+ "You may try to manually installing the plugin by running " +
18
+ "`pulumi plugin install " + args.join(" ") + "`");
19
+ }
20
+
21
+ process.exit(0);
package/types/output.d.ts CHANGED
@@ -1 +1,225 @@
1
- export {};
1
+ import * as outputs from "../types/output";
2
+ export interface AWSOIDCConfiguration {
3
+ /**
4
+ * Duration of the assume-role session in “XhYmZs” format
5
+ */
6
+ duration?: string;
7
+ /**
8
+ * Optional set of IAM policy ARNs that further restrict the assume-role session
9
+ */
10
+ policyARNs?: string[];
11
+ /**
12
+ * The ARN of the role to assume using the OIDC token.
13
+ */
14
+ roleARN: string;
15
+ /**
16
+ * The name of the assume-role session.
17
+ */
18
+ sessionName: string;
19
+ }
20
+ export interface AzureOIDCConfiguration {
21
+ /**
22
+ * The client ID of the federated workload identity.
23
+ */
24
+ clientId: string;
25
+ /**
26
+ * The subscription ID of the federated workload identity.
27
+ */
28
+ subscriptionId: string;
29
+ /**
30
+ * The tenant ID of the federated workload identity.
31
+ */
32
+ tenantId: string;
33
+ }
34
+ /**
35
+ * The executor context defines information about the executor where the deployment is executed. If unspecified, the default 'pulumi/pulumi' image is used.
36
+ */
37
+ export interface DeploymentSettingsExecutorContext {
38
+ /**
39
+ * Allows overriding the default executor image with a custom image. E.g. 'pulumi/pulumi-nodejs:latest'
40
+ */
41
+ executorImage: string;
42
+ }
43
+ /**
44
+ * Git source settings for a deployment.
45
+ */
46
+ export interface DeploymentSettingsGitAuthBasicAuth {
47
+ /**
48
+ * Password for git basic authentication.
49
+ */
50
+ password: string;
51
+ /**
52
+ * User name for git basic authentication.
53
+ */
54
+ username: string;
55
+ }
56
+ /**
57
+ * Git source settings for a deployment.
58
+ */
59
+ export interface DeploymentSettingsGitAuthSSHAuth {
60
+ /**
61
+ * Optional password for SSH authentication.
62
+ */
63
+ password?: string;
64
+ /**
65
+ * SSH private key.
66
+ */
67
+ sshPrivateKey: string;
68
+ }
69
+ /**
70
+ * Git source settings for a deployment.
71
+ */
72
+ export interface DeploymentSettingsGitSource {
73
+ /**
74
+ * The branch to deploy. One of either `branch` or `commit` must be specified.
75
+ */
76
+ branch?: string;
77
+ /**
78
+ * The commit to deploy. One of either `branch` or `commit` must be specified.
79
+ */
80
+ commit?: string;
81
+ /**
82
+ * Git authentication configuration for this deployment. Should not be specified if there are `gitHub` settings for this deployment.
83
+ */
84
+ gitAuth?: outputs.DeploymentSettingsGitSourceGitAuth;
85
+ /**
86
+ * The directory within the repository where the Pulumi.yaml is located.
87
+ */
88
+ repoDir?: string;
89
+ /**
90
+ * The repository URL to use for git settings. Should not be specified if there are `gitHub` settings for this deployment.
91
+ */
92
+ repoUrl?: string;
93
+ }
94
+ /**
95
+ * Git source settings for a deployment.
96
+ */
97
+ export interface DeploymentSettingsGitSourceGitAuth {
98
+ /**
99
+ * Basic auth for git authentication. Only one of `personalAccessToken`, `sshAuth`, or `basicAuth` must be defined.
100
+ */
101
+ basicAuth?: outputs.DeploymentSettingsGitAuthBasicAuth;
102
+ /**
103
+ * SSH auth for git authentication. Only one of `personalAccessToken`, `sshAuth`, or `basicAuth` must be defined.
104
+ */
105
+ sshAuth?: outputs.DeploymentSettingsGitAuthSSHAuth;
106
+ }
107
+ /**
108
+ * GitHub settings for the deployment.
109
+ */
110
+ export interface DeploymentSettingsGithub {
111
+ /**
112
+ * Trigger a deployment running `pulumi up` on commit.
113
+ */
114
+ deployCommits?: boolean;
115
+ /**
116
+ * The paths within the repo that deployments should be filtered to.
117
+ */
118
+ paths?: string[];
119
+ /**
120
+ * Trigger a deployment running `pulumi preview` when a PR is opened.
121
+ */
122
+ previewPullRequests?: boolean;
123
+ /**
124
+ * Use this stack as a template for pull request review stacks.
125
+ */
126
+ pullRequestTemplate?: boolean;
127
+ /**
128
+ * The GitHub repository in the format org/repo.
129
+ */
130
+ repository?: string;
131
+ }
132
+ /**
133
+ * deploymentSettingsGithubProvideDefaults sets the appropriate defaults for DeploymentSettingsGithub
134
+ */
135
+ export declare function deploymentSettingsGithubProvideDefaults(val: DeploymentSettingsGithub): DeploymentSettingsGithub;
136
+ /**
137
+ * Settings related to the Pulumi operation environment during the deployment.
138
+ */
139
+ export interface DeploymentSettingsOperationContext {
140
+ /**
141
+ * Environment variables to set for the deployment.
142
+ */
143
+ environmentVariables?: {
144
+ [key: string]: string;
145
+ };
146
+ /**
147
+ * OIDC configuration to use during the deployment.
148
+ */
149
+ oidc?: outputs.OperationContextOIDC;
150
+ /**
151
+ * Options to override default behavior during the deployment.
152
+ */
153
+ options?: outputs.OperationContextOptions;
154
+ /**
155
+ * Shell commands to run before the Pulumi operation executes.
156
+ */
157
+ preRunCommands?: string[];
158
+ }
159
+ /**
160
+ * Settings related to the source of the deployment.
161
+ */
162
+ export interface DeploymentSettingsSourceContext {
163
+ /**
164
+ * Git source settings for a deployment.
165
+ */
166
+ git?: outputs.DeploymentSettingsGitSource;
167
+ }
168
+ export interface GCPOIDCConfiguration {
169
+ /**
170
+ * The numerical ID of the GCP project.
171
+ */
172
+ projectId: string;
173
+ /**
174
+ * The ID of the identity provider associated with the workload pool.
175
+ */
176
+ providerId: string;
177
+ /**
178
+ * The region of the GCP project.
179
+ */
180
+ region?: string;
181
+ /**
182
+ * The email address of the service account to use.
183
+ */
184
+ serviceAccount: string;
185
+ /**
186
+ * The lifetime of the temporary credentials in “XhYmZs” format.
187
+ */
188
+ tokenLifetime?: string;
189
+ /**
190
+ * The ID of the workload pool to use.
191
+ */
192
+ workloadPoolId: string;
193
+ }
194
+ export interface OperationContextOIDC {
195
+ /**
196
+ * AWS-specific OIDC configuration.
197
+ */
198
+ aws?: outputs.AWSOIDCConfiguration;
199
+ /**
200
+ * Azure-specific OIDC configuration.
201
+ */
202
+ azure?: outputs.AzureOIDCConfiguration;
203
+ /**
204
+ * GCP-specific OIDC configuration.
205
+ */
206
+ gcp?: outputs.GCPOIDCConfiguration;
207
+ }
208
+ export interface OperationContextOptions {
209
+ /**
210
+ * Whether the stack should be deleted after it is destroyed.
211
+ */
212
+ deleteAfterDestroy?: boolean;
213
+ /**
214
+ * The shell to use to run commands during the deployment. Defaults to 'bash'.
215
+ */
216
+ shell?: string;
217
+ /**
218
+ * Skip the default dependency installation step - use this to customize the dependency installation (e.g. if using yarn or poetry)
219
+ */
220
+ skipInstallDependencies?: boolean;
221
+ /**
222
+ * Skip intermediate deployments (Consolidate multiple deployments of the same type into one deployment)
223
+ */
224
+ skipIntermediateDeployments?: boolean;
225
+ }
package/types/output.js CHANGED
@@ -2,4 +2,13 @@
2
2
  // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.deploymentSettingsGithubProvideDefaults = void 0;
6
+ /**
7
+ * deploymentSettingsGithubProvideDefaults sets the appropriate defaults for DeploymentSettingsGithub
8
+ */
9
+ function deploymentSettingsGithubProvideDefaults(val) {
10
+ var _a, _b, _c;
11
+ return Object.assign(Object.assign({}, val), { deployCommits: (_a = (val.deployCommits)) !== null && _a !== void 0 ? _a : true, previewPullRequests: (_b = (val.previewPullRequests)) !== null && _b !== void 0 ? _b : true, pullRequestTemplate: (_c = (val.pullRequestTemplate)) !== null && _c !== void 0 ? _c : false });
12
+ }
13
+ exports.deploymentSettingsGithubProvideDefaults = deploymentSettingsGithubProvideDefaults;
5
14
  //# sourceMappingURL=output.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
1
+ {"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAkJjF;;GAEG;AACH,SAAgB,uCAAuC,CAAC,GAA6B;;IACjF,uCACO,GAAG,KACN,aAAa,EAAE,MAAA,CAAC,GAAG,CAAC,aAAa,CAAC,mCAAI,IAAI,EAC1C,mBAAmB,EAAE,MAAA,CAAC,GAAG,CAAC,mBAAmB,CAAC,mCAAI,IAAI,EACtD,mBAAmB,EAAE,MAAA,CAAC,GAAG,CAAC,mBAAmB,CAAC,mCAAI,KAAK,IACzD;AACN,CAAC;AAPD,0FAOC"}