@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.
Files changed (97) hide show
  1. package/README.md +5 -0
  2. package/agent/agentToken.d.ts +11 -19
  3. package/agent/agentToken.js +4 -6
  4. package/agent/agentToken.js.map +1 -1
  5. package/cluster/cluster.d.ts +74 -20
  6. package/cluster/cluster.js +54 -6
  7. package/cluster/cluster.js.map +1 -1
  8. package/cluster/clusterAgentToken.d.ts +49 -15
  9. package/cluster/clusterAgentToken.js +26 -8
  10. package/cluster/clusterAgentToken.js.map +1 -1
  11. package/cluster/clusterDefaultQueue.d.ts +130 -0
  12. package/cluster/clusterDefaultQueue.js +121 -0
  13. package/cluster/clusterDefaultQueue.js.map +1 -0
  14. package/cluster/clusterQueue.d.ts +36 -44
  15. package/cluster/clusterQueue.js +29 -37
  16. package/cluster/clusterQueue.js.map +1 -1
  17. package/cluster/getCluster.d.ts +48 -5
  18. package/cluster/getCluster.js +40 -0
  19. package/cluster/getCluster.js.map +1 -1
  20. package/cluster/index.d.ts +3 -0
  21. package/cluster/index.js +6 -1
  22. package/cluster/index.js.map +1 -1
  23. package/config/vars.d.ts +11 -5
  24. package/config/vars.js +12 -0
  25. package/config/vars.js.map +1 -1
  26. package/getMeta.d.ts +49 -2
  27. package/getMeta.js +51 -1
  28. package/getMeta.js.map +1 -1
  29. package/index.d.ts +3 -1
  30. package/index.js +5 -2
  31. package/index.js.map +1 -1
  32. package/organization/banner.d.ts +104 -0
  33. package/organization/banner.js +102 -0
  34. package/organization/banner.js.map +1 -0
  35. package/organization/getOrganization.d.ts +10 -63
  36. package/organization/getOrganization.js +6 -47
  37. package/organization/getOrganization.js.map +1 -1
  38. package/organization/index.d.ts +7 -4
  39. package/organization/index.js +11 -6
  40. package/organization/index.js.map +1 -1
  41. package/organization/organization.d.ts +94 -0
  42. package/organization/{settings.js → organization.js} +20 -20
  43. package/organization/organization.js.map +1 -0
  44. package/package.json +2 -3
  45. package/package.json.bak +1 -2
  46. package/pipeline/getPipeline.d.ts +21 -20
  47. package/pipeline/getPipeline.js +8 -14
  48. package/pipeline/getPipeline.js.map +1 -1
  49. package/pipeline/getSignedSteps.d.ts +139 -0
  50. package/pipeline/getSignedSteps.js +91 -0
  51. package/pipeline/getSignedSteps.js.map +1 -0
  52. package/pipeline/getTemplate.d.ts +116 -0
  53. package/pipeline/getTemplate.js +79 -0
  54. package/pipeline/getTemplate.js.map +1 -0
  55. package/pipeline/index.d.ts +12 -0
  56. package/pipeline/index.js +17 -1
  57. package/pipeline/index.js.map +1 -1
  58. package/pipeline/pipeline.d.ts +117 -181
  59. package/pipeline/pipeline.js +15 -113
  60. package/pipeline/pipeline.js.map +1 -1
  61. package/pipeline/schedule.d.ts +57 -45
  62. package/pipeline/schedule.js +22 -19
  63. package/pipeline/schedule.js.map +1 -1
  64. package/pipeline/team.d.ts +137 -0
  65. package/pipeline/team.js +121 -0
  66. package/pipeline/team.js.map +1 -0
  67. package/pipeline/template.d.ts +155 -0
  68. package/pipeline/template.js +123 -0
  69. package/pipeline/template.js.map +1 -0
  70. package/provider.d.ts +26 -8
  71. package/provider.js +2 -0
  72. package/provider.js.map +1 -1
  73. package/team/getTeam.d.ts +39 -30
  74. package/team/getTeam.js +16 -16
  75. package/team/getTeam.js.map +1 -1
  76. package/team/member.d.ts +31 -33
  77. package/team/member.js +20 -22
  78. package/team/member.js.map +1 -1
  79. package/team/team.d.ts +37 -37
  80. package/team/team.js +17 -17
  81. package/testsuite/index.d.ts +6 -0
  82. package/testsuite/index.js +27 -0
  83. package/testsuite/index.js.map +1 -0
  84. package/testsuite/team.d.ts +160 -0
  85. package/testsuite/team.js +144 -0
  86. package/testsuite/team.js.map +1 -0
  87. package/testsuite/testSuite.d.ts +112 -0
  88. package/testsuite/testSuite.js +83 -0
  89. package/testsuite/testSuite.js.map +1 -0
  90. package/types/input.d.ts +37 -22
  91. package/types/output.d.ts +37 -22
  92. package/utilities.d.ts +4 -0
  93. package/utilities.js +33 -1
  94. package/utilities.js.map +1 -1
  95. package/organization/settings.d.ts +0 -78
  96. package/organization/settings.js.map +0 -1
  97. package/scripts/install-pulumi-plugin.js +0 -26
@@ -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
- * Buildkite Documentation: https://buildkite.com/docs/pipelines
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
- * Pipelines can be imported using the `GraphQL ID` (not UUID), e.g.
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
- * $ pulumi import buildkite:Pipeline/pipeline:Pipeline fleet UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=
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
- * A boolean on whether or not to allow rebuilds for the pipeline.
36
+ * Whether rebuilds are allowed for this pipeline.
139
37
  */
140
- readonly allowRebuilds: pulumi.Output<boolean | undefined>;
141
- readonly archiveOnDelete: pulumi.Output<boolean | undefined>;
38
+ readonly allowRebuilds: pulumi.Output<boolean>;
142
39
  /**
143
- * The pipeline's last build status so you can display build status badge.
40
+ * The badge URL showing build state.
144
41
  */
145
42
  readonly badgeUrl: pulumi.Output<string>;
146
43
  /**
147
- * Limit which branches and tags cause new builds to be created, either via a code push or via the Builds REST API.
44
+ * Configure the pipeline to only build on this branch conditional.
148
45
  */
149
46
  readonly branchConfiguration: pulumi.Output<string | undefined>;
150
47
  /**
151
- * A boolean to enable automatically cancelling any running builds on the same branch when a new build is created.
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
- * Limit which branches build cancelling applies to, for example !master will ensure that the master branch won't have its builds automatically cancelled.
52
+ * Filter the `cancel_intermediate_builds` setting based on this branch condition.
156
53
  */
157
54
  readonly cancelIntermediateBuildsBranchFilter: pulumi.Output<string>;
158
55
  /**
159
- * The GraphQL ID of the cluster you want to use for the pipeline.
56
+ * Attach this pipeline to the given cluster GraphQL ID.
160
57
  */
161
58
  readonly clusterId: pulumi.Output<string | undefined>;
162
59
  /**
163
- * The default branch to prefill when new builds are created or triggered, usually main or master but can be anything.
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 default timeout for commands in this pipeline, in minutes.
68
+ * The GraphQL ID of the team to use as the default owner of the pipeline.
168
69
  */
169
- readonly defaultTimeoutInMinutes: pulumi.Output<number>;
70
+ readonly defaultTeamId: pulumi.Output<string | undefined>;
170
71
  /**
171
- * Set to either `true` or `false`. When set to `true`, `destroy` actions on a pipeline will be blocked and fail with a message "Deletion protection is enabled for pipeline: <pipeline name>"
72
+ * Set pipeline wide timeout for command steps.
172
73
  */
173
- readonly deletionProtection: pulumi.Output<boolean | undefined>;
74
+ readonly defaultTimeoutInMinutes: pulumi.Output<number>;
174
75
  /**
175
- * A description of the pipeline.
76
+ * Description for the pipeline. Can include emoji 🙌.
176
77
  */
177
78
  readonly description: pulumi.Output<string>;
178
79
  /**
179
- * The maximum timeout for commands in this pipeline, in minutes.
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
- * The name of the pipeline.
88
+ * Name to give the pipeline.
184
89
  */
185
90
  readonly name: pulumi.Output<string>;
186
91
  /**
187
- * Source control provider settings for the pipeline. See Provider Settings Configuration below for details.
92
+ * The GraphQL ID of the pipeline template applied to this pipeline.
188
93
  */
189
- readonly providerSettings: pulumi.Output<outputs.Pipeline.PipelineProviderSettings>;
94
+ readonly pipelineTemplateId: pulumi.Output<string | undefined>;
190
95
  /**
191
- * The git URL of the repository.
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
- * A boolean to enable automatically skipping any unstarted builds on the same branch when a new build is created.
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
- * Limit which branches build skipping applies to, for example `!master` will ensure that the master branch won't have its builds automatically skipped.
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 buildkite slug of the team.
112
+ * The slug generated for the pipeline.
204
113
  */
205
114
  readonly slug: pulumi.Output<string>;
206
115
  /**
207
- * The string YAML steps to run the pipeline. Defaults to `buildkite-agent pipeline upload` if not specified.
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 steps: pulumi.Output<string | undefined>;
210
- readonly tags: pulumi.Output<string[] | undefined>;
122
+ readonly tags: pulumi.Output<string[]>;
211
123
  /**
212
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
124
+ * The UUID of the pipeline.
213
125
  */
214
- readonly teams: pulumi.Output<outputs.Pipeline.PipelineTeam[] | undefined>;
126
+ readonly uuid: pulumi.Output<string>;
215
127
  /**
216
- * The Buildkite webhook URL to configure on the repository to trigger builds on this pipeline.
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
- * A boolean on whether or not to allow rebuilds for the pipeline.
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 pipeline's last build status so you can display build status badge.
149
+ * The badge URL showing build state.
239
150
  */
240
151
  badgeUrl?: pulumi.Input<string>;
241
152
  /**
242
- * Limit which branches and tags cause new builds to be created, either via a code push or via the Builds REST API.
153
+ * Configure the pipeline to only build on this branch conditional.
243
154
  */
244
155
  branchConfiguration?: pulumi.Input<string>;
245
156
  /**
246
- * A boolean to enable automatically cancelling any running builds on the same branch when a new build is created.
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
- * Limit which branches build cancelling applies to, for example !master will ensure that the master branch won't have its builds automatically cancelled.
161
+ * Filter the `cancel_intermediate_builds` setting based on this branch condition.
251
162
  */
252
163
  cancelIntermediateBuildsBranchFilter?: pulumi.Input<string>;
253
164
  /**
254
- * The GraphQL ID of the cluster you want to use for the pipeline.
165
+ * Attach this pipeline to the given cluster GraphQL ID.
255
166
  */
256
167
  clusterId?: pulumi.Input<string>;
257
168
  /**
258
- * The default branch to prefill when new builds are created or triggered, usually main or master but can be anything.
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 default timeout for commands in this pipeline, in minutes.
177
+ * The GraphQL ID of the team to use as the default owner of the pipeline.
263
178
  */
264
- defaultTimeoutInMinutes?: pulumi.Input<number>;
179
+ defaultTeamId?: pulumi.Input<string>;
265
180
  /**
266
- * Set to either `true` or `false`. When set to `true`, `destroy` actions on a pipeline will be blocked and fail with a message "Deletion protection is enabled for pipeline: <pipeline name>"
181
+ * Set pipeline wide timeout for command steps.
267
182
  */
268
- deletionProtection?: pulumi.Input<boolean>;
183
+ defaultTimeoutInMinutes?: pulumi.Input<number>;
269
184
  /**
270
- * A description of the pipeline.
185
+ * Description for the pipeline. Can include emoji 🙌.
271
186
  */
272
187
  description?: pulumi.Input<string>;
273
188
  /**
274
- * The maximum timeout for commands in this pipeline, in minutes.
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
- * The name of the pipeline.
197
+ * Name to give the pipeline.
279
198
  */
280
199
  name?: pulumi.Input<string>;
281
200
  /**
282
- * Source control provider settings for the pipeline. See Provider Settings Configuration below for details.
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
- * The git URL of the repository.
209
+ * URL to the repository this pipeline is configured for.
287
210
  */
288
211
  repository?: pulumi.Input<string>;
289
212
  /**
290
- * A boolean to enable automatically skipping any unstarted builds on the same branch when a new build is created.
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
- * Limit which branches build skipping applies to, for example `!master` will ensure that the master branch won't have its builds automatically skipped.
217
+ * Filter the `skip_intermediate_builds` setting based on this branch condition.
295
218
  */
296
219
  skipIntermediateBuildsBranchFilter?: pulumi.Input<string>;
297
220
  /**
298
- * The buildkite slug of the team.
221
+ * The slug generated for the pipeline.
299
222
  */
300
223
  slug?: pulumi.Input<string>;
301
224
  /**
302
- * The string YAML steps to run the pipeline. Defaults to `buildkite-agent pipeline upload` if not specified.
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
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
233
+ * The UUID of the pipeline.
308
234
  */
309
- teams?: pulumi.Input<pulumi.Input<inputs.Pipeline.PipelineTeam>[]>;
235
+ uuid?: pulumi.Input<string>;
310
236
  /**
311
- * The Buildkite webhook URL to configure on the repository to trigger builds on this pipeline.
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
- * A boolean on whether or not to allow rebuilds for the pipeline.
246
+ * Whether rebuilds are allowed for this pipeline.
321
247
  */
322
248
  allowRebuilds?: pulumi.Input<boolean>;
323
- archiveOnDelete?: pulumi.Input<boolean>;
324
249
  /**
325
- * Limit which branches and tags cause new builds to be created, either via a code push or via the Builds REST API.
250
+ * Configure the pipeline to only build on this branch conditional.
326
251
  */
327
252
  branchConfiguration?: pulumi.Input<string>;
328
253
  /**
329
- * A boolean to enable automatically cancelling any running builds on the same branch when a new build is created.
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
- * Limit which branches build cancelling applies to, for example !master will ensure that the master branch won't have its builds automatically cancelled.
258
+ * Filter the `cancel_intermediate_builds` setting based on this branch condition.
334
259
  */
335
260
  cancelIntermediateBuildsBranchFilter?: pulumi.Input<string>;
336
261
  /**
337
- * The GraphQL ID of the cluster you want to use for the pipeline.
262
+ * Attach this pipeline to the given cluster GraphQL ID.
338
263
  */
339
264
  clusterId?: pulumi.Input<string>;
340
265
  /**
341
- * The default branch to prefill when new builds are created or triggered, usually main or master but can be anything.
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 default timeout for commands in this pipeline, in minutes.
274
+ * The GraphQL ID of the team to use as the default owner of the pipeline.
346
275
  */
347
- defaultTimeoutInMinutes?: pulumi.Input<number>;
276
+ defaultTeamId?: pulumi.Input<string>;
348
277
  /**
349
- * Set to either `true` or `false`. When set to `true`, `destroy` actions on a pipeline will be blocked and fail with a message "Deletion protection is enabled for pipeline: <pipeline name>"
278
+ * Set pipeline wide timeout for command steps.
350
279
  */
351
- deletionProtection?: pulumi.Input<boolean>;
280
+ defaultTimeoutInMinutes?: pulumi.Input<number>;
352
281
  /**
353
- * A description of the pipeline.
282
+ * Description for the pipeline. Can include emoji 🙌.
354
283
  */
355
284
  description?: pulumi.Input<string>;
356
285
  /**
357
- * The maximum timeout for commands in this pipeline, in minutes.
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
- * The name of the pipeline.
294
+ * Name to give the pipeline.
362
295
  */
363
296
  name?: pulumi.Input<string>;
364
297
  /**
365
- * Source control provider settings for the pipeline. See Provider Settings Configuration below for details.
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
- * The git URL of the repository.
306
+ * URL to the repository this pipeline is configured for.
370
307
  */
371
308
  repository: pulumi.Input<string>;
372
309
  /**
373
- * A boolean to enable automatically skipping any unstarted builds on the same branch when a new build is created.
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
- * Limit which branches build skipping applies to, for example `!master` will ensure that the master branch won't have its builds automatically skipped.
314
+ * Filter the `skip_intermediate_builds` setting based on this branch condition.
378
315
  */
379
316
  skipIntermediateBuildsBranchFilter?: pulumi.Input<string>;
380
317
  /**
381
- * The string YAML steps to run the pipeline. Defaults to `buildkite-agent pipeline upload` if not specified.
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
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
322
+ * Tags to attribute to the pipeline. Useful for searching by in the UI.
387
323
  */
388
- teams?: pulumi.Input<pulumi.Input<inputs.Pipeline.PipelineTeam>[]>;
324
+ tags?: pulumi.Input<pulumi.Input<string>[]>;
389
325
  }