@pulumiverse/buildkite 2.3.1 → 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 (95) 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 +9 -7
  24. package/config/vars.js +6 -0
  25. package/config/vars.js.map +1 -1
  26. package/getMeta.d.ts +51 -1
  27. package/getMeta.js +51 -1
  28. package/getMeta.js.map +1 -1
  29. package/index.d.ts +1 -0
  30. package/index.js +3 -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 +12 -21
  36. package/organization/getOrganization.js +9 -21
  37. package/organization/getOrganization.js.map +1 -1
  38. package/organization/index.d.ts +4 -3
  39. package/organization/index.js +8 -7
  40. package/organization/index.js.map +1 -1
  41. package/organization/organization.d.ts +29 -13
  42. package/organization/organization.js +10 -10
  43. package/organization/organization.js.map +1 -1
  44. package/package.json +2 -3
  45. package/package.json.bak +1 -2
  46. package/pipeline/getPipeline.d.ts +22 -18
  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 +9 -0
  56. package/pipeline/index.js +12 -1
  57. package/pipeline/index.js.map +1 -1
  58. package/pipeline/pipeline.d.ts +116 -101
  59. package/pipeline/pipeline.js +18 -16
  60. package/pipeline/pipeline.js.map +1 -1
  61. package/pipeline/schedule.d.ts +50 -41
  62. package/pipeline/schedule.js +24 -15
  63. package/pipeline/schedule.js.map +1 -1
  64. package/pipeline/team.d.ts +35 -26
  65. package/pipeline/team.js +27 -18
  66. package/pipeline/team.js.map +1 -1
  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 +23 -9
  71. package/provider.js +1 -0
  72. package/provider.js.map +1 -1
  73. package/team/getTeam.d.ts +29 -34
  74. package/team/getTeam.js +14 -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 +36 -36
  80. package/team/team.js +17 -17
  81. package/testsuite/team.d.ts +29 -35
  82. package/testsuite/team.js +24 -30
  83. package/testsuite/team.js.map +1 -1
  84. package/testsuite/testSuite.d.ts +19 -27
  85. package/testsuite/testSuite.js +4 -12
  86. package/testsuite/testSuite.js.map +1 -1
  87. package/types/input.d.ts +37 -21
  88. package/types/output.d.ts +34 -18
  89. package/utilities.d.ts +4 -0
  90. package/utilities.js +33 -1
  91. package/utilities.js.map +1 -1
  92. package/organization/settings.d.ts +0 -80
  93. package/organization/settings.js +0 -81
  94. package/organization/settings.js.map +0 -1
  95. package/scripts/install-pulumi-plugin.js +0 -26
@@ -1,10 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: pipelineSchedule
3
+ * A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
4
4
  *
5
- * This resource allows you to create and manage pipeline schedules.
6
- *
7
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
5
+ * You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
8
6
  *
9
7
  * ## Example Usage
10
8
  *
@@ -12,25 +10,30 @@ import * as pulumi from "@pulumi/pulumi";
12
10
  * import * as pulumi from "@pulumi/pulumi";
13
11
  * import * as buildkite from "@pulumiverse/buildkite";
14
12
  *
15
- * const repo2Nightly = new buildkite.pipeline.Schedule("repo2Nightly", {
16
- * pipelineId: buildkite_pipeline.repo2.id,
13
+ * // create a pipeline
14
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
15
+ * // schedule a build at midnight every day
16
+ * const nightly = new buildkite.pipeline.Schedule("nightly", {
17
+ * pipelineId: buildkite_pipeline.repo.id,
17
18
  * label: "Nightly build",
18
19
  * cronline: "@midnight",
19
- * branch: buildkite_pipeline.repo2.default_branch,
20
+ * branch: buildkite_pipeline.repo.default_branch,
20
21
  * });
21
22
  * ```
22
23
  *
23
24
  * ## Import
24
25
  *
25
- * Pipeline schedules can be imported using their `GraphQL ID`, e.g.
26
+ * import a pipeline schedule resource using the schedules GraphQL ID
26
27
  *
27
- * ```sh
28
- * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
29
- * ```
28
+ * #
30
29
  *
31
- * Your pipeline schedules' GraphQL ID can be found with the below GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/45687b7c-2565-4acb-8a74-750a3647875f), specifying the organisation slug (when known) and the pipeline search term (PIPELINE_SEARCH_TERM). graphql query getPipelineScheduleId {
30
+ * you can use this query to find the schedule:
32
31
  *
33
- * organization(slug"ORGANIZATION_SLUG") { pipelines(first5, search"PIPELINE_SEARCH_TERM") {
32
+ * query getPipelineScheduleId {
33
+ *
34
+ * organization(slug: "ORGANIZATION_SLUG") {
35
+ *
36
+ * pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
34
37
  *
35
38
  * edges{
36
39
  *
@@ -42,7 +45,7 @@ import * as pulumi from "@pulumi/pulumi";
42
45
  *
43
46
  * edges{
44
47
  *
45
- * node{
48
+ * node{
46
49
  *
47
50
  * id
48
51
  *
@@ -58,7 +61,13 @@ import * as pulumi from "@pulumi/pulumi";
58
61
  *
59
62
  * }
60
63
  *
61
- * } }
64
+ * }
65
+ *
66
+ * }
67
+ *
68
+ * ```sh
69
+ * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
70
+ * ```
62
71
  */
63
72
  export declare class Schedule extends pulumi.CustomResource {
64
73
  /**
@@ -77,41 +86,41 @@ export declare class Schedule extends pulumi.CustomResource {
77
86
  */
78
87
  static isInstance(obj: any): obj is Schedule;
79
88
  /**
80
- * The branch to use for the build.
89
+ * The branch that the schedule should run on.
81
90
  */
82
91
  readonly branch: pulumi.Output<string>;
83
92
  /**
84
- * The commit ref to use for the build.
93
+ * The commit that the schedule should run on.
85
94
  */
86
95
  readonly commit: pulumi.Output<string>;
87
96
  /**
88
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
97
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
89
98
  */
90
99
  readonly cronline: pulumi.Output<string>;
91
100
  /**
92
- * Whether the schedule should run.
101
+ * Whether the schedule is enabled or not.
93
102
  */
94
103
  readonly enabled: pulumi.Output<boolean>;
95
104
  /**
96
- * A map of environment variables to use for the build.
105
+ * The environment variables that scheduled builds should use.
97
106
  */
98
107
  readonly env: pulumi.Output<{
99
108
  [key: string]: string;
100
109
  } | undefined>;
101
110
  /**
102
- * Schedule label.
111
+ * A label to describe the schedule.
103
112
  */
104
113
  readonly label: pulumi.Output<string>;
105
114
  /**
106
- * The message to use for the build.
115
+ * The message the builds show for builds created by this schedule.
107
116
  */
108
117
  readonly message: pulumi.Output<string | undefined>;
109
118
  /**
110
- * The ID of the pipeline that this schedule belongs to.
119
+ * The GraphQL ID of the pipeline that this schedule belongs to.
111
120
  */
112
121
  readonly pipelineId: pulumi.Output<string>;
113
122
  /**
114
- * The UUID of the pipeline schedule
123
+ * The UUID of the schedule.
115
124
  */
116
125
  readonly uuid: pulumi.Output<string>;
117
126
  /**
@@ -128,41 +137,41 @@ export declare class Schedule extends pulumi.CustomResource {
128
137
  */
129
138
  export interface ScheduleState {
130
139
  /**
131
- * The branch to use for the build.
140
+ * The branch that the schedule should run on.
132
141
  */
133
142
  branch?: pulumi.Input<string>;
134
143
  /**
135
- * The commit ref to use for the build.
144
+ * The commit that the schedule should run on.
136
145
  */
137
146
  commit?: pulumi.Input<string>;
138
147
  /**
139
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
148
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
140
149
  */
141
150
  cronline?: pulumi.Input<string>;
142
151
  /**
143
- * Whether the schedule should run.
152
+ * Whether the schedule is enabled or not.
144
153
  */
145
154
  enabled?: pulumi.Input<boolean>;
146
155
  /**
147
- * A map of environment variables to use for the build.
156
+ * The environment variables that scheduled builds should use.
148
157
  */
149
158
  env?: pulumi.Input<{
150
159
  [key: string]: pulumi.Input<string>;
151
160
  }>;
152
161
  /**
153
- * Schedule label.
162
+ * A label to describe the schedule.
154
163
  */
155
164
  label?: pulumi.Input<string>;
156
165
  /**
157
- * The message to use for the build.
166
+ * The message the builds show for builds created by this schedule.
158
167
  */
159
168
  message?: pulumi.Input<string>;
160
169
  /**
161
- * The ID of the pipeline that this schedule belongs to.
170
+ * The GraphQL ID of the pipeline that this schedule belongs to.
162
171
  */
163
172
  pipelineId?: pulumi.Input<string>;
164
173
  /**
165
- * The UUID of the pipeline schedule
174
+ * The UUID of the schedule.
166
175
  */
167
176
  uuid?: pulumi.Input<string>;
168
177
  }
@@ -171,37 +180,37 @@ export interface ScheduleState {
171
180
  */
172
181
  export interface ScheduleArgs {
173
182
  /**
174
- * The branch to use for the build.
183
+ * The branch that the schedule should run on.
175
184
  */
176
185
  branch: pulumi.Input<string>;
177
186
  /**
178
- * The commit ref to use for the build.
187
+ * The commit that the schedule should run on.
179
188
  */
180
189
  commit?: pulumi.Input<string>;
181
190
  /**
182
- * Schedule interval (see [docs](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals)).
191
+ * The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
183
192
  */
184
193
  cronline: pulumi.Input<string>;
185
194
  /**
186
- * Whether the schedule should run.
195
+ * Whether the schedule is enabled or not.
187
196
  */
188
197
  enabled?: pulumi.Input<boolean>;
189
198
  /**
190
- * A map of environment variables to use for the build.
199
+ * The environment variables that scheduled builds should use.
191
200
  */
192
201
  env?: pulumi.Input<{
193
202
  [key: string]: pulumi.Input<string>;
194
203
  }>;
195
204
  /**
196
- * Schedule label.
205
+ * A label to describe the schedule.
197
206
  */
198
207
  label: pulumi.Input<string>;
199
208
  /**
200
- * The message to use for the build.
209
+ * The message the builds show for builds created by this schedule.
201
210
  */
202
211
  message?: pulumi.Input<string>;
203
212
  /**
204
- * The ID of the pipeline that this schedule belongs to.
213
+ * The GraphQL ID of the pipeline that this schedule belongs to.
205
214
  */
206
215
  pipelineId: pulumi.Input<string>;
207
216
  }
@@ -6,11 +6,9 @@ exports.Schedule = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: pipelineSchedule
9
+ * A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
10
10
  *
11
- * This resource allows you to create and manage pipeline schedules.
12
- *
13
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
11
+ * You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
14
12
  *
15
13
  * ## Example Usage
16
14
  *
@@ -18,25 +16,30 @@ const utilities = require("../utilities");
18
16
  * import * as pulumi from "@pulumi/pulumi";
19
17
  * import * as buildkite from "@pulumiverse/buildkite";
20
18
  *
21
- * const repo2Nightly = new buildkite.pipeline.Schedule("repo2Nightly", {
22
- * pipelineId: buildkite_pipeline.repo2.id,
19
+ * // create a pipeline
20
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
21
+ * // schedule a build at midnight every day
22
+ * const nightly = new buildkite.pipeline.Schedule("nightly", {
23
+ * pipelineId: buildkite_pipeline.repo.id,
23
24
  * label: "Nightly build",
24
25
  * cronline: "@midnight",
25
- * branch: buildkite_pipeline.repo2.default_branch,
26
+ * branch: buildkite_pipeline.repo.default_branch,
26
27
  * });
27
28
  * ```
28
29
  *
29
30
  * ## Import
30
31
  *
31
- * Pipeline schedules can be imported using their `GraphQL ID`, e.g.
32
+ * import a pipeline schedule resource using the schedules GraphQL ID
32
33
  *
33
- * ```sh
34
- * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
35
- * ```
34
+ * #
36
35
  *
37
- * Your pipeline schedules' GraphQL ID can be found with the below GraphQL query below. Alternatively, you could use this [pre-saved query](https://buildkite.com/user/graphql/console/45687b7c-2565-4acb-8a74-750a3647875f), specifying the organisation slug (when known) and the pipeline search term (PIPELINE_SEARCH_TERM). graphql query getPipelineScheduleId {
36
+ * you can use this query to find the schedule:
38
37
  *
39
- * organization(slug"ORGANIZATION_SLUG") { pipelines(first5, search"PIPELINE_SEARCH_TERM") {
38
+ * query getPipelineScheduleId {
39
+ *
40
+ * organization(slug: "ORGANIZATION_SLUG") {
41
+ *
42
+ * pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
40
43
  *
41
44
  * edges{
42
45
  *
@@ -48,7 +51,7 @@ const utilities = require("../utilities");
48
51
  *
49
52
  * edges{
50
53
  *
51
- * node{
54
+ * node{
52
55
  *
53
56
  * id
54
57
  *
@@ -64,7 +67,13 @@ const utilities = require("../utilities");
64
67
  *
65
68
  * }
66
69
  *
67
- * } }
70
+ * }
71
+ *
72
+ * }
73
+ *
74
+ * ```sh
75
+ * $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
76
+ * ```
68
77
  */
69
78
  class Schedule extends pulumi.CustomResource {
70
79
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../pipeline/schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;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C,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;YACpD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjHL,4BAkHC;AApGG,gBAAgB;AACO,qBAAY,GAAG,sCAAsC,CAAC"}
@@ -1,10 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## # Resource: pipelineTeam
4
- *
5
- * This resource allows you to create and manage team configuration in a pipeline.
6
- *
7
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/permissions#permissions-with-teams-pipeline-level-permissions
3
+ * Manage team access to a pipeline.
8
4
  *
9
5
  * ## Example Usage
10
6
  *
@@ -12,26 +8,33 @@ import * as pulumi from "@pulumi/pulumi";
12
8
  * import * as pulumi from "@pulumi/pulumi";
13
9
  * import * as buildkite from "@pulumiverse/buildkite";
14
10
  *
15
- * const developers = new buildkite.pipeline.Team("developers", {
16
- * pipelineId: buildkite_pipeline.repo2,
17
- * teamId: buildkite_team.test.id,
18
- * accessLevel: "MANAGE_BUILD_AND_READ",
11
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
12
+ * const team = new buildkite.team.Team("team", {
13
+ * privacy: "VISIBLE",
14
+ * defaultTeam: false,
15
+ * defaultMemberRole: "MEMBER",
16
+ * });
17
+ * // allow everyone in the "Everyone" team read-only access to pipeline
18
+ * const pipelineTeam = new buildkite.pipeline.Team("pipelineTeam", {
19
+ * pipelineId: pipeline.id,
20
+ * teamId: team.id,
21
+ * accessLevel: "READ_ONLY",
19
22
  * });
20
23
  * ```
21
24
  *
22
25
  * ## Import
23
26
  *
24
- * Pipeline teams can be imported using their `GraphQL ID`, e.g.
27
+ * import a pipeline team resource using the GraphQL ID
25
28
  *
26
- * ```sh
27
- * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
28
- * ```
29
+ * #
30
+ *
31
+ * you can use this query to find the ID:
29
32
  *
30
- * Your pipeline team's GraphQL ID can be found with the below GraphQL query below.
33
+ * query getPipelineTeamId {
31
34
  *
32
- * graphql query getPipelineTeamId {
35
+ * pipeline(slug: "ORGANIZATION_SLUG/PIPELINE_SLUG") {
33
36
  *
34
- * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") { teams(first5, search"PIPELINE_SEARCH_TERM") {
37
+ * teams(first: 5, search: "PIPELINE_SEARCH_TERM") {
35
38
  *
36
39
  * edges{
37
40
  *
@@ -39,13 +42,19 @@ import * as pulumi from "@pulumi/pulumi";
39
42
  *
40
43
  * id
41
44
  *
42
- * }
45
+ * }
43
46
  *
44
47
  * }
45
48
  *
46
49
  * }
47
50
  *
48
- * } }
51
+ * }
52
+ *
53
+ * }
54
+ *
55
+ * ```sh
56
+ * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
57
+ * ```
49
58
  */
50
59
  export declare class Team extends pulumi.CustomResource {
51
60
  /**
@@ -64,7 +73,7 @@ export declare class Team extends pulumi.CustomResource {
64
73
  */
65
74
  static isInstance(obj: any): obj is Team;
66
75
  /**
67
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
76
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
68
77
  */
69
78
  readonly accessLevel: pulumi.Output<string>;
70
79
  /**
@@ -72,11 +81,11 @@ export declare class Team extends pulumi.CustomResource {
72
81
  */
73
82
  readonly pipelineId: pulumi.Output<string>;
74
83
  /**
75
- * The GraphQL ID of the team to add to/remove from.
84
+ * The GraphQL ID of the team.
76
85
  */
77
86
  readonly teamId: pulumi.Output<string>;
78
87
  /**
79
- * The UUID of the pipeline schedule
88
+ * The UUID of the pipeline-team relationship.
80
89
  */
81
90
  readonly uuid: pulumi.Output<string>;
82
91
  /**
@@ -93,7 +102,7 @@ export declare class Team extends pulumi.CustomResource {
93
102
  */
94
103
  export interface TeamState {
95
104
  /**
96
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
105
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
97
106
  */
98
107
  accessLevel?: pulumi.Input<string>;
99
108
  /**
@@ -101,11 +110,11 @@ export interface TeamState {
101
110
  */
102
111
  pipelineId?: pulumi.Input<string>;
103
112
  /**
104
- * The GraphQL ID of the team to add to/remove from.
113
+ * The GraphQL ID of the team.
105
114
  */
106
115
  teamId?: pulumi.Input<string>;
107
116
  /**
108
- * The UUID of the pipeline schedule
117
+ * The UUID of the pipeline-team relationship.
109
118
  */
110
119
  uuid?: pulumi.Input<string>;
111
120
  }
@@ -114,7 +123,7 @@ export interface TeamState {
114
123
  */
115
124
  export interface TeamArgs {
116
125
  /**
117
- * The level of access to grant. Must be one of `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
126
+ * The access level for the team. Either `READ_ONLY`, `BUILD_AND_READ` or `MANAGE_BUILD_AND_READ`.
118
127
  */
119
128
  accessLevel: pulumi.Input<string>;
120
129
  /**
@@ -122,7 +131,7 @@ export interface TeamArgs {
122
131
  */
123
132
  pipelineId: pulumi.Input<string>;
124
133
  /**
125
- * The GraphQL ID of the team to add to/remove from.
134
+ * The GraphQL ID of the team.
126
135
  */
127
136
  teamId: pulumi.Input<string>;
128
137
  }
package/pipeline/team.js CHANGED
@@ -6,11 +6,7 @@ exports.Team = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: pipelineTeam
10
- *
11
- * This resource allows you to create and manage team configuration in a pipeline.
12
- *
13
- * Buildkite Documentation: https://buildkite.com/docs/pipelines/permissions#permissions-with-teams-pipeline-level-permissions
9
+ * Manage team access to a pipeline.
14
10
  *
15
11
  * ## Example Usage
16
12
  *
@@ -18,26 +14,33 @@ const utilities = require("../utilities");
18
14
  * import * as pulumi from "@pulumi/pulumi";
19
15
  * import * as buildkite from "@pulumiverse/buildkite";
20
16
  *
21
- * const developers = new buildkite.pipeline.Team("developers", {
22
- * pipelineId: buildkite_pipeline.repo2,
23
- * teamId: buildkite_team.test.id,
24
- * accessLevel: "MANAGE_BUILD_AND_READ",
17
+ * const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
18
+ * const team = new buildkite.team.Team("team", {
19
+ * privacy: "VISIBLE",
20
+ * defaultTeam: false,
21
+ * defaultMemberRole: "MEMBER",
22
+ * });
23
+ * // allow everyone in the "Everyone" team read-only access to pipeline
24
+ * const pipelineTeam = new buildkite.pipeline.Team("pipelineTeam", {
25
+ * pipelineId: pipeline.id,
26
+ * teamId: team.id,
27
+ * accessLevel: "READ_ONLY",
25
28
  * });
26
29
  * ```
27
30
  *
28
31
  * ## Import
29
32
  *
30
- * Pipeline teams can be imported using their `GraphQL ID`, e.g.
33
+ * import a pipeline team resource using the GraphQL ID
31
34
  *
32
- * ```sh
33
- * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
34
- * ```
35
+ * #
36
+ *
37
+ * you can use this query to find the ID:
35
38
  *
36
- * Your pipeline team's GraphQL ID can be found with the below GraphQL query below.
39
+ * query getPipelineTeamId {
37
40
  *
38
- * graphql query getPipelineTeamId {
41
+ * pipeline(slug: "ORGANIZATION_SLUG/PIPELINE_SLUG") {
39
42
  *
40
- * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") { teams(first5, search"PIPELINE_SEARCH_TERM") {
43
+ * teams(first: 5, search: "PIPELINE_SEARCH_TERM") {
41
44
  *
42
45
  * edges{
43
46
  *
@@ -45,13 +48,19 @@ const utilities = require("../utilities");
45
48
  *
46
49
  * id
47
50
  *
48
- * }
51
+ * }
49
52
  *
50
53
  * }
51
54
  *
52
55
  * }
53
56
  *
54
- * } }
57
+ * }
58
+ *
59
+ * }
60
+ *
61
+ * ```sh
62
+ * $ pulumi import buildkite:Pipeline/team:Team guests VGVhbS0tLWU1YjQyMDQyLTUzN2QtNDZjNi04MjY0LTliZjFkMzkyYjZkNQ==
63
+ * ```
55
64
  */
56
65
  class Team extends pulumi.CustomResource {
57
66
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"team.js","sourceRoot":"","sources":["../../pipeline/team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,IAAK,SAAQ,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