@pulumiverse/buildkite 3.1.6 → 3.2.0
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.
- package/agent/agentToken.d.ts +0 -2
- package/agent/agentToken.js +6 -8
- package/agent/agentToken.js.map +1 -1
- package/agent/index.js +1 -1
- package/agent/index.js.map +1 -1
- package/cluster/cluster.d.ts +4 -4
- package/cluster/cluster.js +15 -15
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterAgentToken.d.ts +5 -5
- package/cluster/clusterAgentToken.js +18 -18
- package/cluster/clusterAgentToken.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +15 -8
- package/cluster/clusterDefaultQueue.js +18 -17
- package/cluster/clusterDefaultQueue.js.map +1 -1
- package/cluster/clusterMaintainer.d.ts +159 -0
- package/cluster/clusterMaintainer.js +107 -0
- package/cluster/clusterMaintainer.js.map +1 -0
- package/cluster/clusterQueue.d.ts +64 -4
- package/cluster/clusterQueue.js +44 -16
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/clusterSecret.d.ts +148 -0
- package/cluster/clusterSecret.js +108 -0
- package/cluster/clusterSecret.js.map +1 -0
- package/cluster/getCluster.d.ts +12 -9
- package/cluster/getCluster.js +11 -10
- package/cluster/getCluster.js.map +1 -1
- package/cluster/getClusters.d.ts +22 -0
- package/cluster/getClusters.js +26 -0
- package/cluster/getClusters.js.map +1 -0
- package/cluster/index.d.ts +9 -0
- package/cluster/index.js +15 -2
- package/cluster/index.js.map +1 -1
- package/config/index.js +1 -1
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +7 -6
- package/config/vars.js +7 -1
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +21 -19
- package/getMeta.js +23 -20
- package/getMeta.js.map +1 -1
- package/index.d.ts +1 -3
- package/index.js +19 -5
- package/index.js.map +1 -1
- package/organization/banner.d.ts +2 -4
- package/organization/banner.js +8 -10
- package/organization/banner.js.map +1 -1
- package/organization/getMember.d.ts +94 -0
- package/organization/getMember.js +74 -0
- package/organization/getMember.js.map +1 -0
- package/organization/getMembers.d.ts +40 -0
- package/organization/getMembers.js +44 -0
- package/organization/getMembers.js.map +1 -0
- package/organization/getOrganization.d.ts +1 -1
- package/organization/getOrganization.js +3 -2
- package/organization/getOrganization.js.map +1 -1
- package/organization/getPortal.d.ts +95 -0
- package/organization/getPortal.js +50 -0
- package/organization/getPortal.js.map +1 -0
- package/organization/getPortals.d.ts +40 -0
- package/organization/getPortals.js +44 -0
- package/organization/getPortals.js.map +1 -0
- package/organization/getRegistry.d.ts +78 -0
- package/organization/getRegistry.js +34 -0
- package/organization/getRegistry.js.map +1 -0
- package/organization/getRule.d.ts +124 -0
- package/organization/getRule.js +72 -0
- package/organization/getRule.js.map +1 -0
- package/organization/index.d.ts +27 -0
- package/organization/index.js +35 -2
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +3 -3
- package/organization/organization.js +10 -10
- package/organization/organization.js.map +1 -1
- package/organization/portal.d.ts +217 -0
- package/organization/portal.js +150 -0
- package/organization/portal.js.map +1 -0
- package/organization/registry.d.ts +161 -0
- package/organization/registry.js +87 -0
- package/organization/registry.js.map +1 -0
- package/organization/rule.d.ts +267 -0
- package/organization/rule.js +212 -0
- package/organization/rule.js.map +1 -0
- package/package.json +2 -1
- package/pipeline/getPipeline.d.ts +11 -7
- package/pipeline/getPipeline.js +7 -8
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/getSignedSteps.d.ts +8 -49
- package/pipeline/getSignedSteps.js +13 -50
- package/pipeline/getSignedSteps.js.map +1 -1
- package/pipeline/getTemplate.d.ts +9 -11
- package/pipeline/getTemplate.js +15 -12
- package/pipeline/getTemplate.js.map +1 -1
- package/pipeline/index.d.ts +3 -0
- package/pipeline/index.js +7 -2
- package/pipeline/index.js.map +1 -1
- package/pipeline/pipeline.d.ts +30 -14
- package/pipeline/pipeline.js +54 -48
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +8 -7
- package/pipeline/schedule.js +31 -30
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +8 -6
- package/pipeline/team.js +20 -18
- package/pipeline/team.js.map +1 -1
- package/pipeline/template.d.ts +11 -11
- package/pipeline/template.js +23 -23
- package/pipeline/template.js.map +1 -1
- package/pipeline/webhook.d.ts +120 -0
- package/pipeline/webhook.js +111 -0
- package/pipeline/webhook.js.map +1 -0
- package/provider.d.ts +24 -24
- package/provider.js +16 -7
- package/provider.js.map +1 -1
- package/team/getTeam.d.ts +21 -9
- package/team/getTeam.js +11 -10
- package/team/getTeam.js.map +1 -1
- package/team/getTeams.d.ts +22 -0
- package/team/getTeams.js +26 -0
- package/team/getTeams.js.map +1 -0
- package/team/index.d.ts +3 -0
- package/team/index.js +5 -2
- package/team/index.js.map +1 -1
- package/team/member.d.ts +4 -5
- package/team/member.js +16 -17
- package/team/member.js.map +1 -1
- package/team/team.d.ts +54 -7
- package/team/team.js +32 -25
- package/team/team.js.map +1 -1
- package/testsuite/getTestSuite.d.ts +90 -0
- package/testsuite/getTestSuite.js +66 -0
- package/testsuite/getTestSuite.js.map +1 -0
- package/testsuite/index.d.ts +3 -0
- package/testsuite/index.js +5 -2
- package/testsuite/index.js.map +1 -1
- package/testsuite/team.d.ts +4 -5
- package/testsuite/team.js +16 -17
- package/testsuite/team.js.map +1 -1
- package/testsuite/testSuite.d.ts +50 -2
- package/testsuite/testSuite.js +53 -15
- package/testsuite/testSuite.js.map +1 -1
- package/types/index.js +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +81 -5
- package/types/input.js +1 -1
- package/types/input.js.map +1 -1
- package/types/output.d.ts +323 -5
- package/types/output.js +1 -1
- package/types/output.js.map +1 -1
- package/utilities.d.ts +0 -4
- package/utilities.js +20 -30
- package/utilities.js.map +1 -1
- package/package.json.bak +0 -28
package/types/output.d.ts
CHANGED
|
@@ -1,9 +1,259 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
export declare namespace Cluster {
|
|
3
|
+
interface ClusterQueueHostedAgents {
|
|
4
|
+
/**
|
|
5
|
+
* The instance shape to use for the Hosted Agent cluster queue. This can be a MacOS instance shape or a Linux instance shape.
|
|
6
|
+
* Valid values are:
|
|
7
|
+
* - MACOS_ARM64_M4_6X28
|
|
8
|
+
* - MACOS_ARM64_M4_12X56
|
|
9
|
+
* - LINUX_AMD64_2X4
|
|
10
|
+
* - LINUX_AMD64_4X16
|
|
11
|
+
* - LINUX_AMD64_8X32
|
|
12
|
+
* - LINUX_AMD64_16X64
|
|
13
|
+
* - LINUX_ARM64_2X4
|
|
14
|
+
* - LINUX_ARM64_4X16
|
|
15
|
+
* - LINUX_ARM64_8X32
|
|
16
|
+
* - LINUX_ARM64_16X64
|
|
17
|
+
*/
|
|
18
|
+
instanceShape: string;
|
|
19
|
+
linux?: outputs.Cluster.ClusterQueueHostedAgentsLinux;
|
|
20
|
+
mac?: outputs.Cluster.ClusterQueueHostedAgentsMac;
|
|
21
|
+
}
|
|
22
|
+
interface ClusterQueueHostedAgentsLinux {
|
|
23
|
+
/**
|
|
24
|
+
* A URL reference to a container image that will be used for jobs running within the queue. This URL is required to be publicly available, or pushed to the internal registry available within the cluster. Please note that this value is currently experimental and in preview. Please contact support@buildkite.com to enable this functionality for your organization.
|
|
25
|
+
*/
|
|
26
|
+
agentImageRef: string;
|
|
27
|
+
}
|
|
28
|
+
interface ClusterQueueHostedAgentsMac {
|
|
29
|
+
/**
|
|
30
|
+
* Optional selection of a specific macOS version to be selected for jobs in the queue to have available. Please note that this value is currently experimental and may not function as expected.
|
|
31
|
+
*/
|
|
32
|
+
macosVersion?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Required selection of a specific XCode version to be selected for jobs in the queue to have available. Please note that this value is currently experimental and may not function as expected.
|
|
35
|
+
*/
|
|
36
|
+
xcodeVersion: string;
|
|
37
|
+
}
|
|
38
|
+
interface GetClusterMaintainer {
|
|
39
|
+
/**
|
|
40
|
+
* The email of the actor (only for users).
|
|
41
|
+
*/
|
|
42
|
+
actorEmail: string;
|
|
43
|
+
/**
|
|
44
|
+
* The name of the actor.
|
|
45
|
+
*/
|
|
46
|
+
actorName: string;
|
|
47
|
+
/**
|
|
48
|
+
* The slug of the actor (only for teams).
|
|
49
|
+
*/
|
|
50
|
+
actorSlug: string;
|
|
51
|
+
/**
|
|
52
|
+
* The type of the actor (user or team).
|
|
53
|
+
*/
|
|
54
|
+
actorType: string;
|
|
55
|
+
/**
|
|
56
|
+
* The UUID of the actor (user or team).
|
|
57
|
+
*/
|
|
58
|
+
actorUuid: string;
|
|
59
|
+
/**
|
|
60
|
+
* The UUID of the maintainer permission.
|
|
61
|
+
*/
|
|
62
|
+
permissionUuid: string;
|
|
63
|
+
}
|
|
64
|
+
interface GetClustersCluster {
|
|
65
|
+
/**
|
|
66
|
+
* The color for the cluster.
|
|
67
|
+
*/
|
|
68
|
+
color: string;
|
|
69
|
+
/**
|
|
70
|
+
* The default queue for the cluster.
|
|
71
|
+
*/
|
|
72
|
+
defaultQueue: outputs.Cluster.GetClustersClusterDefaultQueue;
|
|
73
|
+
/**
|
|
74
|
+
* The description of the cluster.
|
|
75
|
+
*/
|
|
76
|
+
description: string;
|
|
77
|
+
/**
|
|
78
|
+
* The emoji for the cluster.
|
|
79
|
+
*/
|
|
80
|
+
emoji: string;
|
|
81
|
+
/**
|
|
82
|
+
* The GraphQL ID of the cluster.
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
/**
|
|
86
|
+
* List of maintainers (users and teams) for this cluster.
|
|
87
|
+
*/
|
|
88
|
+
maintainers: outputs.Cluster.GetClustersClusterMaintainer[];
|
|
89
|
+
/**
|
|
90
|
+
* The name of the cluster.
|
|
91
|
+
*/
|
|
92
|
+
name: string;
|
|
93
|
+
/**
|
|
94
|
+
* The UUID of the cluster.
|
|
95
|
+
*/
|
|
96
|
+
uuid: string;
|
|
97
|
+
}
|
|
98
|
+
interface GetClustersClusterDefaultQueue {
|
|
99
|
+
/**
|
|
100
|
+
* The description of the default queue.
|
|
101
|
+
*/
|
|
102
|
+
description: string;
|
|
103
|
+
/**
|
|
104
|
+
* The GraphQL ID of the default queue.
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
/**
|
|
108
|
+
* The key of the default queue.
|
|
109
|
+
*/
|
|
110
|
+
key: string;
|
|
111
|
+
/**
|
|
112
|
+
* The UUID of the default queue.
|
|
113
|
+
*/
|
|
114
|
+
uuid: string;
|
|
115
|
+
}
|
|
116
|
+
interface GetClustersClusterMaintainer {
|
|
117
|
+
/**
|
|
118
|
+
* The email of the actor (only for users).
|
|
119
|
+
*/
|
|
120
|
+
actorEmail: string;
|
|
121
|
+
/**
|
|
122
|
+
* The name of the actor.
|
|
123
|
+
*/
|
|
124
|
+
actorName: string;
|
|
125
|
+
/**
|
|
126
|
+
* The slug of the actor (only for teams).
|
|
127
|
+
*/
|
|
128
|
+
actorSlug: string;
|
|
129
|
+
/**
|
|
130
|
+
* The type of the actor (user or team).
|
|
131
|
+
*/
|
|
132
|
+
actorType: string;
|
|
133
|
+
/**
|
|
134
|
+
* The UUID of the actor (user or team).
|
|
135
|
+
*/
|
|
136
|
+
actorUuid: string;
|
|
137
|
+
/**
|
|
138
|
+
* The UUID of the maintainer permission.
|
|
139
|
+
*/
|
|
140
|
+
permissionUuid: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export declare namespace Organization {
|
|
144
|
+
interface GetMembersMember {
|
|
145
|
+
/**
|
|
146
|
+
* The email address of the organization member.
|
|
147
|
+
*/
|
|
148
|
+
email: string;
|
|
149
|
+
/**
|
|
150
|
+
* The GraphQL ID of the organization member.
|
|
151
|
+
*/
|
|
152
|
+
id: string;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the organization member.
|
|
155
|
+
*/
|
|
156
|
+
name: string;
|
|
157
|
+
/**
|
|
158
|
+
* The UUID of the organization member.
|
|
159
|
+
*/
|
|
160
|
+
uuid: string;
|
|
161
|
+
}
|
|
162
|
+
interface GetPortalCreatedBy {
|
|
163
|
+
/**
|
|
164
|
+
* The email of the user.
|
|
165
|
+
*/
|
|
166
|
+
email: string;
|
|
167
|
+
/**
|
|
168
|
+
* The name of the user.
|
|
169
|
+
*/
|
|
170
|
+
name: string;
|
|
171
|
+
/**
|
|
172
|
+
* The UUID of the user.
|
|
173
|
+
*/
|
|
174
|
+
uuid: string;
|
|
175
|
+
}
|
|
176
|
+
interface GetPortalsPortal {
|
|
177
|
+
/**
|
|
178
|
+
* Space-delimited list of IP addresses (in CIDR notation) allowed to invoke this portal.
|
|
179
|
+
*/
|
|
180
|
+
allowedIpAddresses: string;
|
|
181
|
+
/**
|
|
182
|
+
* The time when the portal was created.
|
|
183
|
+
*/
|
|
184
|
+
createdAt: string;
|
|
185
|
+
/**
|
|
186
|
+
* Information about the user who created the portal.
|
|
187
|
+
*/
|
|
188
|
+
createdBy: outputs.Organization.GetPortalsPortalCreatedBy;
|
|
189
|
+
/**
|
|
190
|
+
* The description of the portal.
|
|
191
|
+
*/
|
|
192
|
+
description: string;
|
|
193
|
+
/**
|
|
194
|
+
* The name of the portal.
|
|
195
|
+
*/
|
|
196
|
+
name: string;
|
|
197
|
+
/**
|
|
198
|
+
* The GraphQL query that the portal executes.
|
|
199
|
+
*/
|
|
200
|
+
query: string;
|
|
201
|
+
/**
|
|
202
|
+
* The slug of the portal.
|
|
203
|
+
*/
|
|
204
|
+
slug: string;
|
|
205
|
+
/**
|
|
206
|
+
* Whether users can invoke the portal.
|
|
207
|
+
*/
|
|
208
|
+
userInvokable: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* The UUID of the portal.
|
|
211
|
+
*/
|
|
212
|
+
uuid: string;
|
|
213
|
+
}
|
|
214
|
+
interface GetPortalsPortalCreatedBy {
|
|
215
|
+
/**
|
|
216
|
+
* The email of the user.
|
|
217
|
+
*/
|
|
218
|
+
email: string;
|
|
219
|
+
/**
|
|
220
|
+
* The name of the user.
|
|
221
|
+
*/
|
|
222
|
+
name: string;
|
|
223
|
+
/**
|
|
224
|
+
* The UUID of the user.
|
|
225
|
+
*/
|
|
226
|
+
uuid: string;
|
|
227
|
+
}
|
|
228
|
+
interface PortalCreatedBy {
|
|
229
|
+
/**
|
|
230
|
+
* The email of the user.
|
|
231
|
+
*/
|
|
232
|
+
email: string;
|
|
233
|
+
/**
|
|
234
|
+
* The name of the user.
|
|
235
|
+
*/
|
|
236
|
+
name: string;
|
|
237
|
+
/**
|
|
238
|
+
* The UUID of the user.
|
|
239
|
+
*/
|
|
240
|
+
uuid: string;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
1
243
|
export declare namespace Pipeline {
|
|
2
244
|
interface PipelineProviderSettings {
|
|
3
245
|
/**
|
|
4
|
-
* Whether to create builds when branches are pushed.
|
|
246
|
+
* Whether to create builds when branches are pushed.
|
|
5
247
|
*/
|
|
6
248
|
buildBranches: boolean;
|
|
249
|
+
/**
|
|
250
|
+
* Whether to create merge queue builds for a merge queue enabled GitHub repository with required status checks
|
|
251
|
+
*/
|
|
252
|
+
buildMergeGroupChecksRequested: boolean;
|
|
253
|
+
/**
|
|
254
|
+
* Whether to create builds for pull requests when its base branch changes.
|
|
255
|
+
*/
|
|
256
|
+
buildPullRequestBaseBranchChanged: boolean;
|
|
7
257
|
/**
|
|
8
258
|
* Whether to create builds for pull requests from third-party forks.
|
|
9
259
|
*/
|
|
@@ -17,7 +267,7 @@ export declare namespace Pipeline {
|
|
|
17
267
|
*/
|
|
18
268
|
buildPullRequestReadyForReview: boolean;
|
|
19
269
|
/**
|
|
20
|
-
* Whether to create builds for commits that are part of a pull request.
|
|
270
|
+
* Whether to create builds for commits that are part of a pull request.
|
|
21
271
|
*/
|
|
22
272
|
buildPullRequests: boolean;
|
|
23
273
|
/**
|
|
@@ -29,13 +279,21 @@ export declare namespace Pipeline {
|
|
|
29
279
|
*/
|
|
30
280
|
cancelDeletedBranchBuilds: boolean;
|
|
31
281
|
/**
|
|
32
|
-
*
|
|
282
|
+
* Whether to cancel any running builds belonging to a removed merge group.
|
|
283
|
+
*/
|
|
284
|
+
cancelWhenMergeGroupDestroyed: boolean;
|
|
285
|
+
/**
|
|
286
|
+
* The condition to evaluate when deciding if a build should run. This is only valid when `triggerMode` is `code`. More details available in [the documentation](https://buildkite.com/docs/pipelines/conditionals).
|
|
33
287
|
*/
|
|
34
288
|
filterCondition: string;
|
|
35
289
|
/**
|
|
36
290
|
* Whether to filter builds to only run when the condition in `filterCondition` is true.
|
|
37
291
|
*/
|
|
38
292
|
filterEnabled: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Whether to prevent caching pull requests with the source branch matching the default branch.
|
|
295
|
+
*/
|
|
296
|
+
ignoreDefaultBranchPullRequests: boolean;
|
|
39
297
|
/**
|
|
40
298
|
* Prefix branch names for third-party fork builds to ensure they don't trigger branch conditions. For example, the main branch from some-user will become some-user:main.
|
|
41
299
|
*/
|
|
@@ -45,7 +303,7 @@ export declare namespace Pipeline {
|
|
|
45
303
|
*/
|
|
46
304
|
publishBlockedAsPending: boolean;
|
|
47
305
|
/**
|
|
48
|
-
* Whether to update the status of commits in Bitbucket or
|
|
306
|
+
* Whether to update the status of commits in Bitbucket, GitHub, or GitLab.
|
|
49
307
|
*/
|
|
50
308
|
publishCommitStatus: boolean;
|
|
51
309
|
/**
|
|
@@ -69,7 +327,7 @@ export declare namespace Pipeline {
|
|
|
69
327
|
*/
|
|
70
328
|
skipBuildsForExistingCommits: boolean;
|
|
71
329
|
/**
|
|
72
|
-
* Whether to skip creating a new build for a pull request if an existing build for the commit and branch already exists.
|
|
330
|
+
* Whether to skip creating a new build for a pull request if an existing build for the commit and branch already exists.
|
|
73
331
|
*/
|
|
74
332
|
skipPullRequestBuildsForExistingCommits: boolean;
|
|
75
333
|
/**
|
|
@@ -83,6 +341,66 @@ export declare namespace Pipeline {
|
|
|
83
341
|
* > If not set, the default value is `code` and other provider settings defaults are applied.
|
|
84
342
|
*/
|
|
85
343
|
triggerMode: string;
|
|
344
|
+
/**
|
|
345
|
+
* When enabled, agents performing a git diff to determine steps to upload based on [`ifChanged`](https://buildkite.com/docs/pipelines/configure/step-types/command-step#agent-applied-attributes)comparisons will use the base commit that points to the previous merge group rather than the base branch
|
|
346
|
+
*/
|
|
347
|
+
useMergeGroupBaseCommitForGitDiffBase: boolean;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
export declare namespace Team {
|
|
351
|
+
interface GetTeamsTeam {
|
|
352
|
+
/**
|
|
353
|
+
* The default member role for new team members.
|
|
354
|
+
*/
|
|
355
|
+
defaultMemberRole: string;
|
|
356
|
+
/**
|
|
357
|
+
* The description of the team.
|
|
358
|
+
*/
|
|
359
|
+
description: string;
|
|
360
|
+
/**
|
|
361
|
+
* The GraphQL ID of the team.
|
|
362
|
+
*/
|
|
363
|
+
id: string;
|
|
364
|
+
/**
|
|
365
|
+
* Whether this is the default team for the organization.
|
|
366
|
+
*/
|
|
367
|
+
isDefaultTeam: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* Whether team members can create pipelines.
|
|
370
|
+
*/
|
|
371
|
+
membersCanCreatePipelines: boolean;
|
|
372
|
+
/**
|
|
373
|
+
* Whether team members can create registries.
|
|
374
|
+
*/
|
|
375
|
+
membersCanCreateRegistries: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* Whether team members can create test suites.
|
|
378
|
+
*/
|
|
379
|
+
membersCanCreateSuites: boolean;
|
|
380
|
+
/**
|
|
381
|
+
* Whether team members can destroy packages.
|
|
382
|
+
*/
|
|
383
|
+
membersCanDestroyPackages: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Whether team members can destroy registries.
|
|
386
|
+
*/
|
|
387
|
+
membersCanDestroyRegistries: boolean;
|
|
388
|
+
/**
|
|
389
|
+
* The name of the team.
|
|
390
|
+
*/
|
|
391
|
+
name: string;
|
|
392
|
+
/**
|
|
393
|
+
* The privacy setting of the team.
|
|
394
|
+
*/
|
|
395
|
+
privacy: string;
|
|
396
|
+
/**
|
|
397
|
+
* The slug of the team.
|
|
398
|
+
*/
|
|
399
|
+
slug: string;
|
|
400
|
+
/**
|
|
401
|
+
* The UUID of the team.
|
|
402
|
+
*/
|
|
403
|
+
uuid: string;
|
|
86
404
|
}
|
|
87
405
|
}
|
|
88
406
|
export declare namespace config {
|
package/types/output.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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
5
|
//# sourceMappingURL=output.js.map
|
package/types/output.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../types/output.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF"}
|
package/utilities.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
1
|
export declare function getEnv(...vars: string[]): string | undefined;
|
|
3
2
|
export declare function getEnvBoolean(...vars: string[]): boolean | undefined;
|
|
4
3
|
export declare function getEnvNumber(...vars: string[]): number | undefined;
|
|
5
4
|
export declare function getVersion(): string;
|
|
6
|
-
export declare function callAsync<T>(tok: string, props: pulumi.Inputs, res?: pulumi.Resource, opts?: {
|
|
7
|
-
property?: string;
|
|
8
|
-
}): Promise<T>;
|
package/utilities.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by
|
|
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
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
5
|
exports.callAsync = exports.lazyLoad = exports.resourceOptsDefaults = exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
15
6
|
const runtime = require("@pulumi/pulumi/runtime");
|
|
@@ -76,26 +67,25 @@ function lazyLoad(exports, props, loadModule) {
|
|
|
76
67
|
}
|
|
77
68
|
}
|
|
78
69
|
exports.lazyLoad = lazyLoad;
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
});
|
|
70
|
+
/** @internal */
|
|
71
|
+
async function callAsync(tok, props, res, opts) {
|
|
72
|
+
const o = runtime.call(tok, props, res);
|
|
73
|
+
const value = await o.promise(true /*withUnknowns*/);
|
|
74
|
+
const isKnown = await o.isKnown;
|
|
75
|
+
const isSecret = await o.isSecret;
|
|
76
|
+
const problem = !isKnown ? "an unknown value"
|
|
77
|
+
: isSecret ? "a secret value"
|
|
78
|
+
: undefined;
|
|
79
|
+
// Ingoring o.resources silently. They are typically non-empty, r.f() calls include r as a dependency.
|
|
80
|
+
if (problem) {
|
|
81
|
+
throw new Error(`Plain resource method "${tok}" incorrectly returned ${problem}. ` +
|
|
82
|
+
"This is an error in the provider, please report this to the provider developer.");
|
|
83
|
+
}
|
|
84
|
+
// Extract a single property if requested.
|
|
85
|
+
if (opts && opts.property) {
|
|
86
|
+
return value[opts.property];
|
|
87
|
+
}
|
|
88
|
+
return value;
|
|
99
89
|
}
|
|
100
90
|
exports.callAsync = callAsync;
|
|
101
91
|
//# sourceMappingURL=utilities.js.map
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":"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"}
|
package/package.json.bak
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@pulumiverse/buildkite",
|
|
3
|
-
"version": "${VERSION}",
|
|
4
|
-
"description": "A Pulumi package for creating and managing Buildkite resources.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"pulumi",
|
|
7
|
-
"buildkite"
|
|
8
|
-
],
|
|
9
|
-
"homepage": "https://github.com/pulumiverse/pulumi-buildkite",
|
|
10
|
-
"repository": "https://github.com/pulumiverse/pulumi-buildkite",
|
|
11
|
-
"license": "Apache-2.0",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "tsc"
|
|
14
|
-
},
|
|
15
|
-
"dependencies": {
|
|
16
|
-
"@pulumi/pulumi": "^3.0.0"
|
|
17
|
-
},
|
|
18
|
-
"devDependencies": {
|
|
19
|
-
"@types/mime": "^2.0.0",
|
|
20
|
-
"@types/node": "^10.0.0",
|
|
21
|
-
"typescript": "^4.3.5"
|
|
22
|
-
},
|
|
23
|
-
"pulumi": {
|
|
24
|
-
"resource": true,
|
|
25
|
-
"name": "buildkite",
|
|
26
|
-
"server": "github://api.github.com/pulumiverse/pulumi-buildkite"
|
|
27
|
-
}
|
|
28
|
-
}
|