@pulumiverse/buildkite 2.3.0 → 3.0.1
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/README.md +5 -0
- package/agent/agentToken.d.ts +11 -19
- package/agent/agentToken.js +4 -6
- package/agent/agentToken.js.map +1 -1
- package/cluster/cluster.d.ts +74 -20
- package/cluster/cluster.js +54 -6
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterAgentToken.d.ts +49 -15
- package/cluster/clusterAgentToken.js +26 -8
- package/cluster/clusterAgentToken.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +130 -0
- package/cluster/clusterDefaultQueue.js +121 -0
- package/cluster/clusterDefaultQueue.js.map +1 -0
- package/cluster/clusterQueue.d.ts +36 -44
- package/cluster/clusterQueue.js +29 -37
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/getCluster.d.ts +48 -5
- package/cluster/getCluster.js +40 -0
- package/cluster/getCluster.js.map +1 -1
- package/cluster/index.d.ts +3 -0
- package/cluster/index.js +6 -1
- package/cluster/index.js.map +1 -1
- package/config/vars.d.ts +11 -5
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +49 -2
- package/getMeta.js +51 -1
- package/getMeta.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/organization/banner.d.ts +104 -0
- package/organization/banner.js +102 -0
- package/organization/banner.js.map +1 -0
- package/organization/getOrganization.d.ts +10 -63
- package/organization/getOrganization.js +6 -47
- package/organization/getOrganization.js.map +1 -1
- package/organization/index.d.ts +7 -4
- package/organization/index.js +11 -6
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +94 -0
- package/organization/{settings.js → organization.js} +20 -20
- package/organization/organization.js.map +1 -0
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/pipeline/getPipeline.d.ts +21 -20
- package/pipeline/getPipeline.js +8 -14
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/getSignedSteps.d.ts +139 -0
- package/pipeline/getSignedSteps.js +91 -0
- package/pipeline/getSignedSteps.js.map +1 -0
- package/pipeline/getTemplate.d.ts +116 -0
- package/pipeline/getTemplate.js +79 -0
- package/pipeline/getTemplate.js.map +1 -0
- package/pipeline/index.d.ts +12 -0
- package/pipeline/index.js +17 -1
- package/pipeline/index.js.map +1 -1
- package/pipeline/pipeline.d.ts +117 -181
- package/pipeline/pipeline.js +15 -113
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +57 -45
- package/pipeline/schedule.js +22 -19
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +137 -0
- package/pipeline/team.js +121 -0
- package/pipeline/team.js.map +1 -0
- package/pipeline/template.d.ts +155 -0
- package/pipeline/template.js +123 -0
- package/pipeline/template.js.map +1 -0
- package/provider.d.ts +26 -8
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/team/getTeam.d.ts +39 -30
- package/team/getTeam.js +16 -16
- package/team/getTeam.js.map +1 -1
- package/team/member.d.ts +31 -33
- package/team/member.js +20 -22
- package/team/member.js.map +1 -1
- package/team/team.d.ts +37 -37
- package/team/team.js +17 -17
- package/testsuite/index.d.ts +6 -0
- package/testsuite/index.js +27 -0
- package/testsuite/index.js.map +1 -0
- package/testsuite/team.d.ts +160 -0
- package/testsuite/team.js +144 -0
- package/testsuite/team.js.map +1 -0
- package/testsuite/testSuite.d.ts +112 -0
- package/testsuite/testSuite.js +83 -0
- package/testsuite/testSuite.js.map +1 -0
- package/types/input.d.ts +37 -22
- package/types/output.d.ts +37 -22
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/organization/settings.d.ts +0 -78
- package/organization/settings.js.map +0 -1
- package/scripts/install-pulumi-plugin.js +0 -26
package/pipeline/pipeline.d.ts
CHANGED
|
@@ -2,121 +2,19 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "../types/input";
|
|
3
3
|
import * as outputs from "../types/output";
|
|
4
4
|
/**
|
|
5
|
-
* ## # Resource: pipeline
|
|
6
|
-
*
|
|
7
5
|
* This resource allows you to create and manage pipelines for repositories.
|
|
8
6
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
*
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
16
|
-
* import * as fs from "fs";
|
|
17
|
-
*
|
|
18
|
-
* // in ./steps.yml:
|
|
19
|
-
* // steps:
|
|
20
|
-
* // - label: ':pipeline:'
|
|
21
|
-
* // command: buildkite-agent pipeline upload
|
|
22
|
-
* const repo2 = new buildkite.pipeline.Pipeline("repo2", {
|
|
23
|
-
* repository: "git@github.com:org/repo2",
|
|
24
|
-
* steps: fs.readFileSync("./steps.yml"),
|
|
25
|
-
* teams: [{
|
|
26
|
-
* slug: "everyone",
|
|
27
|
-
* accessLevel: "READ_ONLY",
|
|
28
|
-
* }],
|
|
29
|
-
* });
|
|
30
|
-
* ```
|
|
31
|
-
* ### With Command Timeouts
|
|
32
|
-
*
|
|
33
|
-
* ```typescript
|
|
34
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
36
|
-
* import * as fs from "fs";
|
|
37
|
-
*
|
|
38
|
-
* const testNew = new buildkite.pipeline.Pipeline("testNew", {
|
|
39
|
-
* repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
|
|
40
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
41
|
-
* defaultTimeoutInMinutes: 60,
|
|
42
|
-
* maximumTimeoutInMinutes: 120,
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*
|
|
46
|
-
* Currently, the `defaultTimeoutInMinutes` and `maximumTimeoutInMinutes` will be retained in state even if removed from the configuration. In order to remove them, you must set them to `0` in either the configuration or the web UI.
|
|
47
|
-
* ### With Deletion Protection
|
|
48
|
-
*
|
|
49
|
-
* ```typescript
|
|
50
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
51
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
52
|
-
* import * as fs from "fs";
|
|
53
|
-
*
|
|
54
|
-
* const testNew = new buildkite.pipeline.Pipeline("testNew", {
|
|
55
|
-
* repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
|
|
56
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
57
|
-
* deletionProtection: true,
|
|
58
|
-
* });
|
|
59
|
-
* ```
|
|
60
|
-
*
|
|
61
|
-
* `deletionProtection` will block `destroy` actions on the **pipeline**. Attached resources, such as `schedules` will still be destroyed.
|
|
62
|
-
* ### With Archive On Delete
|
|
63
|
-
*
|
|
64
|
-
* ```typescript
|
|
65
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
66
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
67
|
-
* import * as fs from "fs";
|
|
68
|
-
*
|
|
69
|
-
* const testNew = new buildkite.pipeline.Pipeline("testNew", {
|
|
70
|
-
* repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
|
|
71
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
72
|
-
* archiveOnDelete: true,
|
|
73
|
-
* });
|
|
74
|
-
* ```
|
|
75
|
-
*
|
|
76
|
-
* `archiveOnDelete` will archive the **pipeline** when `destroy` is called. Attached resources, such as `schedules` will still be destroyed. In order to delete the pipeline, `archiveOnDelete` must be set to `false` in the configuration, then `destroy` must be called again.
|
|
77
|
-
* ### With GitHub Provider Settings
|
|
78
|
-
*
|
|
79
|
-
* ```typescript
|
|
80
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
81
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
82
|
-
* import * as fs from "fs";
|
|
83
|
-
*
|
|
84
|
-
* // Pipeline that should not be triggered from a GitHub webhook
|
|
85
|
-
* const repo2_deploy = new buildkite.pipeline.Pipeline("repo2-deploy", {
|
|
86
|
-
* repository: "git@github.com:org/repo2",
|
|
87
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
88
|
-
* providerSettings: {
|
|
89
|
-
* triggerMode: "none",
|
|
90
|
-
* },
|
|
91
|
-
* });
|
|
92
|
-
* // Release pipeline (triggered only when tags are pushed)
|
|
93
|
-
* const repo2_release = new buildkite.pipeline.Pipeline("repo2-release", {
|
|
94
|
-
* repository: "git@github.com:org/repo2",
|
|
95
|
-
* steps: fs.readFileSync("./release-steps.yml"),
|
|
96
|
-
* providerSettings: {
|
|
97
|
-
* buildBranches: false,
|
|
98
|
-
* buildTags: true,
|
|
99
|
-
* buildPullRequests: false,
|
|
100
|
-
* triggerMode: "code",
|
|
101
|
-
* },
|
|
102
|
-
* });
|
|
103
|
-
* ```
|
|
7
|
+
* More information on pipelines can be found in the [documentation](https://buildkite.com/docs/pipelines).
|
|
104
8
|
*
|
|
105
9
|
* ## Import
|
|
106
10
|
*
|
|
107
|
-
*
|
|
11
|
+
* import a pipeline resource using the pipelines GraphQL ID
|
|
12
|
+
*
|
|
13
|
+
* GraphQL ID for a pipeline can be found on its settings page
|
|
108
14
|
*
|
|
109
15
|
* ```sh
|
|
110
|
-
*
|
|
16
|
+
* $ pulumi import buildkite:Pipeline/pipeline:Pipeline pipeline UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=
|
|
111
17
|
* ```
|
|
112
|
-
*
|
|
113
|
-
* To find the ID to use, you can use the GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/04e6ac1d-222e-49f9-8167-4767ab0f5362). graphql query getPipelineId {
|
|
114
|
-
*
|
|
115
|
-
* pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") {
|
|
116
|
-
*
|
|
117
|
-
* id
|
|
118
|
-
*
|
|
119
|
-
* } }
|
|
120
18
|
*/
|
|
121
19
|
export declare class Pipeline extends pulumi.CustomResource {
|
|
122
20
|
/**
|
|
@@ -135,85 +33,99 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
135
33
|
*/
|
|
136
34
|
static isInstance(obj: any): obj is Pipeline;
|
|
137
35
|
/**
|
|
138
|
-
*
|
|
36
|
+
* Whether rebuilds are allowed for this pipeline.
|
|
139
37
|
*/
|
|
140
|
-
readonly allowRebuilds: pulumi.Output<boolean
|
|
141
|
-
readonly archiveOnDelete: pulumi.Output<boolean | undefined>;
|
|
38
|
+
readonly allowRebuilds: pulumi.Output<boolean>;
|
|
142
39
|
/**
|
|
143
|
-
* The
|
|
40
|
+
* The badge URL showing build state.
|
|
144
41
|
*/
|
|
145
42
|
readonly badgeUrl: pulumi.Output<string>;
|
|
146
43
|
/**
|
|
147
|
-
*
|
|
44
|
+
* Configure the pipeline to only build on this branch conditional.
|
|
148
45
|
*/
|
|
149
46
|
readonly branchConfiguration: pulumi.Output<string | undefined>;
|
|
150
47
|
/**
|
|
151
|
-
*
|
|
48
|
+
* Whether to cancel builds when a new commit is pushed to a matching branch.
|
|
152
49
|
*/
|
|
153
50
|
readonly cancelIntermediateBuilds: pulumi.Output<boolean>;
|
|
154
51
|
/**
|
|
155
|
-
*
|
|
52
|
+
* Filter the `cancel_intermediate_builds` setting based on this branch condition.
|
|
156
53
|
*/
|
|
157
54
|
readonly cancelIntermediateBuildsBranchFilter: pulumi.Output<string>;
|
|
158
55
|
/**
|
|
159
|
-
*
|
|
56
|
+
* Attach this pipeline to the given cluster GraphQL ID.
|
|
160
57
|
*/
|
|
161
58
|
readonly clusterId: pulumi.Output<string | undefined>;
|
|
162
59
|
/**
|
|
163
|
-
*
|
|
60
|
+
* A color hex code to represent this pipeline.
|
|
61
|
+
*/
|
|
62
|
+
readonly color: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Default branch of the pipeline.
|
|
164
65
|
*/
|
|
165
66
|
readonly defaultBranch: pulumi.Output<string>;
|
|
166
67
|
/**
|
|
167
|
-
* The
|
|
68
|
+
* The GraphQL ID of the team to use as the default owner of the pipeline.
|
|
168
69
|
*/
|
|
169
|
-
readonly
|
|
70
|
+
readonly defaultTeamId: pulumi.Output<string | undefined>;
|
|
170
71
|
/**
|
|
171
|
-
* Set
|
|
72
|
+
* Set pipeline wide timeout for command steps.
|
|
172
73
|
*/
|
|
173
|
-
readonly
|
|
74
|
+
readonly defaultTimeoutInMinutes: pulumi.Output<number>;
|
|
174
75
|
/**
|
|
175
|
-
*
|
|
76
|
+
* Description for the pipeline. Can include emoji 🙌.
|
|
176
77
|
*/
|
|
177
78
|
readonly description: pulumi.Output<string>;
|
|
178
79
|
/**
|
|
179
|
-
*
|
|
80
|
+
* An emoji that represents this pipeline.
|
|
81
|
+
*/
|
|
82
|
+
readonly emoji: pulumi.Output<string | undefined>;
|
|
83
|
+
/**
|
|
84
|
+
* Set pipeline wide maximum timeout for command steps.
|
|
180
85
|
*/
|
|
181
86
|
readonly maximumTimeoutInMinutes: pulumi.Output<number>;
|
|
182
87
|
/**
|
|
183
|
-
*
|
|
88
|
+
* Name to give the pipeline.
|
|
184
89
|
*/
|
|
185
90
|
readonly name: pulumi.Output<string>;
|
|
186
91
|
/**
|
|
187
|
-
*
|
|
92
|
+
* The GraphQL ID of the pipeline template applied to this pipeline.
|
|
188
93
|
*/
|
|
189
|
-
readonly
|
|
94
|
+
readonly pipelineTemplateId: pulumi.Output<string | undefined>;
|
|
190
95
|
/**
|
|
191
|
-
*
|
|
96
|
+
* Control settings depending on the VCS provider used in `repository`.
|
|
97
|
+
*/
|
|
98
|
+
readonly providerSettings: pulumi.Output<outputs.Pipeline.PipelineProviderSettings | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* URL to the repository this pipeline is configured for.
|
|
192
101
|
*/
|
|
193
102
|
readonly repository: pulumi.Output<string>;
|
|
194
103
|
/**
|
|
195
|
-
*
|
|
104
|
+
* Whether to skip queued builds if a new commit is pushed to a matching branch.
|
|
196
105
|
*/
|
|
197
106
|
readonly skipIntermediateBuilds: pulumi.Output<boolean>;
|
|
198
107
|
/**
|
|
199
|
-
*
|
|
108
|
+
* Filter the `skip_intermediate_builds` setting based on this branch condition.
|
|
200
109
|
*/
|
|
201
110
|
readonly skipIntermediateBuildsBranchFilter: pulumi.Output<string>;
|
|
202
111
|
/**
|
|
203
|
-
* The
|
|
112
|
+
* The slug generated for the pipeline.
|
|
204
113
|
*/
|
|
205
114
|
readonly slug: pulumi.Output<string>;
|
|
206
115
|
/**
|
|
207
|
-
* The
|
|
116
|
+
* The YAML steps to configure for the pipeline. Defaults to `buildkite-agent pipeline upload`.
|
|
117
|
+
*/
|
|
118
|
+
readonly steps: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Tags to attribute to the pipeline. Useful for searching by in the UI.
|
|
208
121
|
*/
|
|
209
|
-
readonly
|
|
210
|
-
readonly tags: pulumi.Output<string[] | undefined>;
|
|
122
|
+
readonly tags: pulumi.Output<string[]>;
|
|
211
123
|
/**
|
|
212
|
-
*
|
|
124
|
+
* The UUID of the pipeline.
|
|
213
125
|
*/
|
|
214
|
-
readonly
|
|
126
|
+
readonly uuid: pulumi.Output<string>;
|
|
215
127
|
/**
|
|
216
|
-
* The
|
|
128
|
+
* The webhook URL used to trigger builds from VCS providers.
|
|
217
129
|
*/
|
|
218
130
|
readonly webhookUrl: pulumi.Output<string>;
|
|
219
131
|
/**
|
|
@@ -230,85 +142,99 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
230
142
|
*/
|
|
231
143
|
export interface PipelineState {
|
|
232
144
|
/**
|
|
233
|
-
*
|
|
145
|
+
* Whether rebuilds are allowed for this pipeline.
|
|
234
146
|
*/
|
|
235
147
|
allowRebuilds?: pulumi.Input<boolean>;
|
|
236
|
-
archiveOnDelete?: pulumi.Input<boolean>;
|
|
237
148
|
/**
|
|
238
|
-
* The
|
|
149
|
+
* The badge URL showing build state.
|
|
239
150
|
*/
|
|
240
151
|
badgeUrl?: pulumi.Input<string>;
|
|
241
152
|
/**
|
|
242
|
-
*
|
|
153
|
+
* Configure the pipeline to only build on this branch conditional.
|
|
243
154
|
*/
|
|
244
155
|
branchConfiguration?: pulumi.Input<string>;
|
|
245
156
|
/**
|
|
246
|
-
*
|
|
157
|
+
* Whether to cancel builds when a new commit is pushed to a matching branch.
|
|
247
158
|
*/
|
|
248
159
|
cancelIntermediateBuilds?: pulumi.Input<boolean>;
|
|
249
160
|
/**
|
|
250
|
-
*
|
|
161
|
+
* Filter the `cancel_intermediate_builds` setting based on this branch condition.
|
|
251
162
|
*/
|
|
252
163
|
cancelIntermediateBuildsBranchFilter?: pulumi.Input<string>;
|
|
253
164
|
/**
|
|
254
|
-
*
|
|
165
|
+
* Attach this pipeline to the given cluster GraphQL ID.
|
|
255
166
|
*/
|
|
256
167
|
clusterId?: pulumi.Input<string>;
|
|
257
168
|
/**
|
|
258
|
-
*
|
|
169
|
+
* A color hex code to represent this pipeline.
|
|
170
|
+
*/
|
|
171
|
+
color?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Default branch of the pipeline.
|
|
259
174
|
*/
|
|
260
175
|
defaultBranch?: pulumi.Input<string>;
|
|
261
176
|
/**
|
|
262
|
-
* The
|
|
177
|
+
* The GraphQL ID of the team to use as the default owner of the pipeline.
|
|
263
178
|
*/
|
|
264
|
-
|
|
179
|
+
defaultTeamId?: pulumi.Input<string>;
|
|
265
180
|
/**
|
|
266
|
-
* Set
|
|
181
|
+
* Set pipeline wide timeout for command steps.
|
|
267
182
|
*/
|
|
268
|
-
|
|
183
|
+
defaultTimeoutInMinutes?: pulumi.Input<number>;
|
|
269
184
|
/**
|
|
270
|
-
*
|
|
185
|
+
* Description for the pipeline. Can include emoji 🙌.
|
|
271
186
|
*/
|
|
272
187
|
description?: pulumi.Input<string>;
|
|
273
188
|
/**
|
|
274
|
-
*
|
|
189
|
+
* An emoji that represents this pipeline.
|
|
190
|
+
*/
|
|
191
|
+
emoji?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Set pipeline wide maximum timeout for command steps.
|
|
275
194
|
*/
|
|
276
195
|
maximumTimeoutInMinutes?: pulumi.Input<number>;
|
|
277
196
|
/**
|
|
278
|
-
*
|
|
197
|
+
* Name to give the pipeline.
|
|
279
198
|
*/
|
|
280
199
|
name?: pulumi.Input<string>;
|
|
281
200
|
/**
|
|
282
|
-
*
|
|
201
|
+
* The GraphQL ID of the pipeline template applied to this pipeline.
|
|
202
|
+
*/
|
|
203
|
+
pipelineTemplateId?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Control settings depending on the VCS provider used in `repository`.
|
|
283
206
|
*/
|
|
284
207
|
providerSettings?: pulumi.Input<inputs.Pipeline.PipelineProviderSettings>;
|
|
285
208
|
/**
|
|
286
|
-
*
|
|
209
|
+
* URL to the repository this pipeline is configured for.
|
|
287
210
|
*/
|
|
288
211
|
repository?: pulumi.Input<string>;
|
|
289
212
|
/**
|
|
290
|
-
*
|
|
213
|
+
* Whether to skip queued builds if a new commit is pushed to a matching branch.
|
|
291
214
|
*/
|
|
292
215
|
skipIntermediateBuilds?: pulumi.Input<boolean>;
|
|
293
216
|
/**
|
|
294
|
-
*
|
|
217
|
+
* Filter the `skip_intermediate_builds` setting based on this branch condition.
|
|
295
218
|
*/
|
|
296
219
|
skipIntermediateBuildsBranchFilter?: pulumi.Input<string>;
|
|
297
220
|
/**
|
|
298
|
-
* The
|
|
221
|
+
* The slug generated for the pipeline.
|
|
299
222
|
*/
|
|
300
223
|
slug?: pulumi.Input<string>;
|
|
301
224
|
/**
|
|
302
|
-
* The
|
|
225
|
+
* The YAML steps to configure for the pipeline. Defaults to `buildkite-agent pipeline upload`.
|
|
303
226
|
*/
|
|
304
227
|
steps?: pulumi.Input<string>;
|
|
228
|
+
/**
|
|
229
|
+
* Tags to attribute to the pipeline. Useful for searching by in the UI.
|
|
230
|
+
*/
|
|
305
231
|
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
306
232
|
/**
|
|
307
|
-
*
|
|
233
|
+
* The UUID of the pipeline.
|
|
308
234
|
*/
|
|
309
|
-
|
|
235
|
+
uuid?: pulumi.Input<string>;
|
|
310
236
|
/**
|
|
311
|
-
* The
|
|
237
|
+
* The webhook URL used to trigger builds from VCS providers.
|
|
312
238
|
*/
|
|
313
239
|
webhookUrl?: pulumi.Input<string>;
|
|
314
240
|
}
|
|
@@ -317,73 +243,83 @@ export interface PipelineState {
|
|
|
317
243
|
*/
|
|
318
244
|
export interface PipelineArgs {
|
|
319
245
|
/**
|
|
320
|
-
*
|
|
246
|
+
* Whether rebuilds are allowed for this pipeline.
|
|
321
247
|
*/
|
|
322
248
|
allowRebuilds?: pulumi.Input<boolean>;
|
|
323
|
-
archiveOnDelete?: pulumi.Input<boolean>;
|
|
324
249
|
/**
|
|
325
|
-
*
|
|
250
|
+
* Configure the pipeline to only build on this branch conditional.
|
|
326
251
|
*/
|
|
327
252
|
branchConfiguration?: pulumi.Input<string>;
|
|
328
253
|
/**
|
|
329
|
-
*
|
|
254
|
+
* Whether to cancel builds when a new commit is pushed to a matching branch.
|
|
330
255
|
*/
|
|
331
256
|
cancelIntermediateBuilds?: pulumi.Input<boolean>;
|
|
332
257
|
/**
|
|
333
|
-
*
|
|
258
|
+
* Filter the `cancel_intermediate_builds` setting based on this branch condition.
|
|
334
259
|
*/
|
|
335
260
|
cancelIntermediateBuildsBranchFilter?: pulumi.Input<string>;
|
|
336
261
|
/**
|
|
337
|
-
*
|
|
262
|
+
* Attach this pipeline to the given cluster GraphQL ID.
|
|
338
263
|
*/
|
|
339
264
|
clusterId?: pulumi.Input<string>;
|
|
340
265
|
/**
|
|
341
|
-
*
|
|
266
|
+
* A color hex code to represent this pipeline.
|
|
267
|
+
*/
|
|
268
|
+
color?: pulumi.Input<string>;
|
|
269
|
+
/**
|
|
270
|
+
* Default branch of the pipeline.
|
|
342
271
|
*/
|
|
343
272
|
defaultBranch?: pulumi.Input<string>;
|
|
344
273
|
/**
|
|
345
|
-
* The
|
|
274
|
+
* The GraphQL ID of the team to use as the default owner of the pipeline.
|
|
346
275
|
*/
|
|
347
|
-
|
|
276
|
+
defaultTeamId?: pulumi.Input<string>;
|
|
348
277
|
/**
|
|
349
|
-
* Set
|
|
278
|
+
* Set pipeline wide timeout for command steps.
|
|
350
279
|
*/
|
|
351
|
-
|
|
280
|
+
defaultTimeoutInMinutes?: pulumi.Input<number>;
|
|
352
281
|
/**
|
|
353
|
-
*
|
|
282
|
+
* Description for the pipeline. Can include emoji 🙌.
|
|
354
283
|
*/
|
|
355
284
|
description?: pulumi.Input<string>;
|
|
356
285
|
/**
|
|
357
|
-
*
|
|
286
|
+
* An emoji that represents this pipeline.
|
|
287
|
+
*/
|
|
288
|
+
emoji?: pulumi.Input<string>;
|
|
289
|
+
/**
|
|
290
|
+
* Set pipeline wide maximum timeout for command steps.
|
|
358
291
|
*/
|
|
359
292
|
maximumTimeoutInMinutes?: pulumi.Input<number>;
|
|
360
293
|
/**
|
|
361
|
-
*
|
|
294
|
+
* Name to give the pipeline.
|
|
362
295
|
*/
|
|
363
296
|
name?: pulumi.Input<string>;
|
|
364
297
|
/**
|
|
365
|
-
*
|
|
298
|
+
* The GraphQL ID of the pipeline template applied to this pipeline.
|
|
299
|
+
*/
|
|
300
|
+
pipelineTemplateId?: pulumi.Input<string>;
|
|
301
|
+
/**
|
|
302
|
+
* Control settings depending on the VCS provider used in `repository`.
|
|
366
303
|
*/
|
|
367
304
|
providerSettings?: pulumi.Input<inputs.Pipeline.PipelineProviderSettings>;
|
|
368
305
|
/**
|
|
369
|
-
*
|
|
306
|
+
* URL to the repository this pipeline is configured for.
|
|
370
307
|
*/
|
|
371
308
|
repository: pulumi.Input<string>;
|
|
372
309
|
/**
|
|
373
|
-
*
|
|
310
|
+
* Whether to skip queued builds if a new commit is pushed to a matching branch.
|
|
374
311
|
*/
|
|
375
312
|
skipIntermediateBuilds?: pulumi.Input<boolean>;
|
|
376
313
|
/**
|
|
377
|
-
*
|
|
314
|
+
* Filter the `skip_intermediate_builds` setting based on this branch condition.
|
|
378
315
|
*/
|
|
379
316
|
skipIntermediateBuildsBranchFilter?: pulumi.Input<string>;
|
|
380
317
|
/**
|
|
381
|
-
* The
|
|
318
|
+
* The YAML steps to configure for the pipeline. Defaults to `buildkite-agent pipeline upload`.
|
|
382
319
|
*/
|
|
383
320
|
steps?: pulumi.Input<string>;
|
|
384
|
-
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
385
321
|
/**
|
|
386
|
-
*
|
|
322
|
+
* Tags to attribute to the pipeline. Useful for searching by in the UI.
|
|
387
323
|
*/
|
|
388
|
-
|
|
324
|
+
tags?: pulumi.Input<pulumi.Input<string>[]>;
|
|
389
325
|
}
|