@pulumiverse/buildkite 3.3.0-alpha.1777573583 → 3.3.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.
Files changed (70) hide show
  1. package/cluster/cluster.d.ts +10 -23
  2. package/cluster/cluster.js +10 -23
  3. package/cluster/cluster.js.map +1 -1
  4. package/cluster/clusterDefaultQueue.d.ts +10 -23
  5. package/cluster/clusterDefaultQueue.js +10 -23
  6. package/cluster/clusterDefaultQueue.js.map +1 -1
  7. package/cluster/clusterMaintainer.d.ts +1 -5
  8. package/cluster/clusterMaintainer.js +1 -5
  9. package/cluster/clusterMaintainer.js.map +1 -1
  10. package/cluster/clusterQueue.d.ts +12 -27
  11. package/cluster/clusterQueue.js +12 -27
  12. package/cluster/clusterQueue.js.map +1 -1
  13. package/cluster/clusterSecret.d.ts +9 -6
  14. package/cluster/clusterSecret.js +9 -6
  15. package/cluster/clusterSecret.js.map +1 -1
  16. package/config/vars.d.ts +3 -0
  17. package/config/vars.js.map +1 -1
  18. package/getMeta.d.ts +6 -6
  19. package/getMeta.js +6 -6
  20. package/organization/banner.d.ts +9 -21
  21. package/organization/banner.js +9 -21
  22. package/organization/banner.js.map +1 -1
  23. package/organization/getRegistry.d.ts +10 -2
  24. package/organization/getRegistry.js.map +1 -1
  25. package/organization/organization.d.ts +0 -1
  26. package/organization/organization.js +0 -1
  27. package/organization/organization.js.map +1 -1
  28. package/organization/portal.d.ts +0 -3
  29. package/organization/portal.js +0 -3
  30. package/organization/portal.js.map +1 -1
  31. package/organization/registry.d.ts +37 -11
  32. package/organization/registry.js +17 -0
  33. package/organization/registry.js.map +1 -1
  34. package/organization/rule.d.ts +45 -78
  35. package/organization/rule.js +45 -78
  36. package/organization/rule.js.map +1 -1
  37. package/package.json +2 -2
  38. package/pipeline/getPipeline.d.ts +4 -0
  39. package/pipeline/getPipeline.js.map +1 -1
  40. package/pipeline/pipeline.d.ts +24 -2
  41. package/pipeline/pipeline.js +4 -2
  42. package/pipeline/pipeline.js.map +1 -1
  43. package/pipeline/schedule.d.ts +18 -37
  44. package/pipeline/schedule.js +18 -37
  45. package/pipeline/schedule.js.map +1 -1
  46. package/pipeline/team.d.ts +9 -21
  47. package/pipeline/team.js +9 -21
  48. package/pipeline/team.js.map +1 -1
  49. package/pipeline/template.d.ts +10 -23
  50. package/pipeline/template.js +10 -23
  51. package/pipeline/template.js.map +1 -1
  52. package/pipeline/webhook.d.ts +3 -9
  53. package/pipeline/webhook.js +3 -9
  54. package/pipeline/webhook.js.map +1 -1
  55. package/provider.d.ts +6 -0
  56. package/provider.js.map +1 -1
  57. package/team/member.d.ts +15 -33
  58. package/team/member.js +15 -33
  59. package/team/member.js.map +1 -1
  60. package/team/team.d.ts +10 -23
  61. package/team/team.js +10 -23
  62. package/team/team.js.map +1 -1
  63. package/testsuite/team.d.ts +21 -45
  64. package/testsuite/team.js +21 -45
  65. package/testsuite/team.js.map +1 -1
  66. package/testsuite/testSuite.d.ts +10 -23
  67. package/testsuite/testSuite.js +10 -23
  68. package/testsuite/testSuite.js.map +1 -1
  69. package/types/input.d.ts +4 -0
  70. package/types/output.d.ts +4 -0
@@ -20,7 +20,6 @@ import * as pulumi from "@pulumi/pulumi";
20
20
  * ## Import
21
21
  *
22
22
  * Using `pulumi import`, import resources using the `organization-slug`. For example:
23
- *
24
23
  * import the organization settings via the organization slug
25
24
  *
26
25
  * ```sh
@@ -26,7 +26,6 @@ const utilities = require("../utilities");
26
26
  * ## Import
27
27
  *
28
28
  * Using `pulumi import`, import resources using the `organization-slug`. For example:
29
- *
30
29
  * import the organization settings via the organization slug
31
30
  *
32
31
  * ```sh
@@ -1 +1 @@
1
- {"version":3,"file":"organization.js","sourceRoot":"","sources":["../../organization/organization.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,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G,IAAI,EAAE,qBAAqB,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,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,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
@@ -61,15 +61,12 @@ import * as outputs from "../types/output";
61
61
  * ## Import
62
62
  *
63
63
  * Using `pulumi import`, import resources using the `id`. For example:
64
- *
65
64
  * import a portal resource using the portal slug
66
65
  *
67
66
  * you can find the slug from the Buildkite web UI in the portal's URL:
68
- *
69
67
  * https://buildkite.com/organizations/{org}/portals/{slug}
70
68
  *
71
69
  * or by listing all portals via the REST API:
72
- *
73
70
  * GET https://api.buildkite.com/v2/organizations/{org}/portals
74
71
  *
75
72
  * ```sh
@@ -65,15 +65,12 @@ const utilities = require("../utilities");
65
65
  * ## Import
66
66
  *
67
67
  * Using `pulumi import`, import resources using the `id`. For example:
68
- *
69
68
  * import a portal resource using the portal slug
70
69
  *
71
70
  * you can find the slug from the Buildkite web UI in the portal's URL:
72
- *
73
71
  * https://buildkite.com/organizations/{org}/portals/{slug}
74
72
  *
75
73
  * or by listing all portals via the REST API:
76
- *
77
74
  * GET https://api.buildkite.com/v2/organizations/{org}/portals
78
75
  *
79
76
  * ```sh
@@ -1 +1 @@
1
- {"version":3,"file":"portal.js","sourceRoot":"","sources":["../../organization/portal.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;QAC1D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AAnHL,wBAoHC;AAtGG,gBAAgB;AACO,mBAAY,GAAG,sCAAsC,CAAC"}
@@ -15,6 +15,16 @@ import * as pulumi from "@pulumi/pulumi";
15
15
  * ecosystem: "ruby",
16
16
  * emoji: ":ruby:",
17
17
  * color: "#ff0000",
18
+ * teamIds: [
19
+ * frontendTeam.uuid,
20
+ * backendTeam.uuid,
21
+ * ],
22
+ * oidcPolicy: `- iss: https://agent.buildkite.com
23
+ * scopes:
24
+ * - read_packages
25
+ * claims:
26
+ * build_branch: main
27
+ * `,
18
28
  * });
19
29
  * ```
20
30
  */
@@ -44,7 +54,7 @@ export declare class Registry extends pulumi.CustomResource {
44
54
  */
45
55
  readonly description: pulumi.Output<string | undefined>;
46
56
  /**
47
- * The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.
57
+ * The ecosystem of the registry. This value cannot be changed after creation.
48
58
  */
49
59
  readonly ecosystem: pulumi.Output<string>;
50
60
  /**
@@ -57,17 +67,25 @@ export declare class Registry extends pulumi.CustomResource {
57
67
  */
58
68
  readonly name: pulumi.Output<string>;
59
69
  /**
60
- * The registry's OIDC policy.
70
+ * The registry's OIDC policy, in YAML format.
61
71
  */
62
72
  readonly oidcPolicy: pulumi.Output<string | undefined>;
73
+ /**
74
+ * Whether the registry is publicly accessible.
75
+ */
76
+ readonly public: pulumi.Output<boolean>;
77
+ /**
78
+ * The type of the registry (e.g. `source`).
79
+ */
80
+ readonly registryType: pulumi.Output<string>;
63
81
  /**
64
82
  * The slug of the registry.
65
83
  */
66
84
  readonly slug: pulumi.Output<string>;
67
85
  /**
68
- * The team IDs that have access to the registry.
86
+ * The team UUIDs that have access to the registry. At least one team must be specified. This value cannot be changed after creation.
69
87
  */
70
- readonly teamIds: pulumi.Output<string[] | undefined>;
88
+ readonly teamIds: pulumi.Output<string[]>;
71
89
  /**
72
90
  * The UUID of the registry.
73
91
  */
@@ -95,7 +113,7 @@ export interface RegistryState {
95
113
  */
96
114
  description?: pulumi.Input<string>;
97
115
  /**
98
- * The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.
116
+ * The ecosystem of the registry. This value cannot be changed after creation.
99
117
  */
100
118
  ecosystem?: pulumi.Input<string>;
101
119
  /**
@@ -108,15 +126,23 @@ export interface RegistryState {
108
126
  */
109
127
  name?: pulumi.Input<string>;
110
128
  /**
111
- * The registry's OIDC policy.
129
+ * The registry's OIDC policy, in YAML format.
112
130
  */
113
131
  oidcPolicy?: pulumi.Input<string>;
132
+ /**
133
+ * Whether the registry is publicly accessible.
134
+ */
135
+ public?: pulumi.Input<boolean>;
136
+ /**
137
+ * The type of the registry (e.g. `source`).
138
+ */
139
+ registryType?: pulumi.Input<string>;
114
140
  /**
115
141
  * The slug of the registry.
116
142
  */
117
143
  slug?: pulumi.Input<string>;
118
144
  /**
119
- * The team IDs that have access to the registry.
145
+ * The team UUIDs that have access to the registry. At least one team must be specified. This value cannot be changed after creation.
120
146
  */
121
147
  teamIds?: pulumi.Input<pulumi.Input<string>[]>;
122
148
  /**
@@ -138,7 +164,7 @@ export interface RegistryArgs {
138
164
  */
139
165
  description?: pulumi.Input<string>;
140
166
  /**
141
- * The ecosystem of the registry. **Warning:** This value cannot be changed after creation. Any attempts to update this field will result in API errors.
167
+ * The ecosystem of the registry. This value cannot be changed after creation.
142
168
  */
143
169
  ecosystem: pulumi.Input<string>;
144
170
  /**
@@ -151,11 +177,11 @@ export interface RegistryArgs {
151
177
  */
152
178
  name?: pulumi.Input<string>;
153
179
  /**
154
- * The registry's OIDC policy.
180
+ * The registry's OIDC policy, in YAML format.
155
181
  */
156
182
  oidcPolicy?: pulumi.Input<string>;
157
183
  /**
158
- * The team IDs that have access to the registry.
184
+ * The team UUIDs that have access to the registry. At least one team must be specified. This value cannot be changed after creation.
159
185
  */
160
- teamIds?: pulumi.Input<pulumi.Input<string>[]>;
186
+ teamIds: pulumi.Input<pulumi.Input<string>[]>;
161
187
  }
@@ -21,6 +21,16 @@ const utilities = require("../utilities");
21
21
  * ecosystem: "ruby",
22
22
  * emoji: ":ruby:",
23
23
  * color: "#ff0000",
24
+ * teamIds: [
25
+ * frontendTeam.uuid,
26
+ * backendTeam.uuid,
27
+ * ],
28
+ * oidcPolicy: `- iss: https://agent.buildkite.com
29
+ * scopes:
30
+ * - read_packages
31
+ * claims:
32
+ * build_branch: main
33
+ * `,
24
34
  * });
25
35
  * ```
26
36
  */
@@ -58,6 +68,8 @@ class Registry extends pulumi.CustomResource {
58
68
  resourceInputs["emoji"] = state?.emoji;
59
69
  resourceInputs["name"] = state?.name;
60
70
  resourceInputs["oidcPolicy"] = state?.oidcPolicy;
71
+ resourceInputs["public"] = state?.public;
72
+ resourceInputs["registryType"] = state?.registryType;
61
73
  resourceInputs["slug"] = state?.slug;
62
74
  resourceInputs["teamIds"] = state?.teamIds;
63
75
  resourceInputs["uuid"] = state?.uuid;
@@ -67,6 +79,9 @@ class Registry extends pulumi.CustomResource {
67
79
  if (args?.ecosystem === undefined && !opts.urn) {
68
80
  throw new Error("Missing required property 'ecosystem'");
69
81
  }
82
+ if (args?.teamIds === undefined && !opts.urn) {
83
+ throw new Error("Missing required property 'teamIds'");
84
+ }
70
85
  resourceInputs["color"] = args?.color;
71
86
  resourceInputs["description"] = args?.description;
72
87
  resourceInputs["ecosystem"] = args?.ecosystem;
@@ -74,6 +89,8 @@ class Registry extends pulumi.CustomResource {
74
89
  resourceInputs["name"] = args?.name;
75
90
  resourceInputs["oidcPolicy"] = args?.oidcPolicy;
76
91
  resourceInputs["teamIds"] = args?.teamIds;
92
+ resourceInputs["public"] = undefined /*out*/;
93
+ resourceInputs["registryType"] = undefined /*out*/;
77
94
  resourceInputs["slug"] = undefined /*out*/;
78
95
  resourceInputs["uuid"] = undefined /*out*/;
79
96
  }
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../organization/registry.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;IAiDD,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT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IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,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;;AAzHL,4BA0HC;AA5GG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
@@ -12,7 +12,7 @@ import * as pulumi from "@pulumi/pulumi";
12
12
  * import * as pulumi from "@pulumi/pulumi";
13
13
  * import * as buildkite from "@pulumiverse/buildkite";
14
14
  *
15
- * // Creates a TRIGGER_BUILD organization rule with required attributes
15
+ * // Creates a TRIGGER_BUILD organization rule using pipeline UUIDs
16
16
  * const triggerBuildTestDev = new buildkite.organization.Rule("trigger_build_test_dev", {
17
17
  * type: "pipeline.trigger_build.pipeline",
18
18
  * value: JSON.stringify({
@@ -20,6 +20,14 @@ import * as pulumi from "@pulumi/pulumi";
20
20
  * target_pipeline: appTestCi.uuid,
21
21
  * }),
22
22
  * });
23
+ * // Creates a TRIGGER_BUILD organization rule using pipeline slugs
24
+ * const triggerBuildTestDevSlug = new buildkite.organization.Rule("trigger_build_test_dev_slug", {
25
+ * type: "pipeline.trigger_build.pipeline",
26
+ * value: JSON.stringify({
27
+ * source_pipeline: "app-dev-deploy",
28
+ * target_pipeline: "app-test-ci",
29
+ * }),
30
+ * });
23
31
  * // Creates a ARTIFACTS_READ organization rule with an optional description
24
32
  * const artifactsReadTestDev = new buildkite.organization.Rule("artifacts_read_test_dev", {
25
33
  * type: "pipeline.artifacts_read.pipeline",
@@ -47,91 +55,50 @@ import * as pulumi from "@pulumi/pulumi";
47
55
  * ## Import
48
56
  *
49
57
  * Using `pulumi import`, import resources using the `id`. For example:
50
- *
51
58
  * import an organization rule resource using the rules GraphQL ID
52
59
  *
53
60
  * You can use this query to find the first 50 organiation rules (adjust for less or more):
54
- *
55
61
  * query getOrganizationRules {
56
- *
57
- * organization(slug: "ORGANIZATION_SLUG") {
58
- *
59
- * rules(first: 50) {
60
- *
61
- * edges{
62
- *
63
- * node{
64
- *
65
- * id
66
- *
67
- * sourceType
68
- *
69
- * targetType
70
- *
71
- * action
72
- *
73
- * }
74
- *
75
- * }
76
- *
77
- * }
78
- *
79
- * }
80
- *
62
+ * organization(slug: "ORGANIZATION_SLUG") {
63
+ * rules(first: 50) {
64
+ * edges{
65
+ * node{
66
+ * id
67
+ * sourceType
68
+ * targetType
69
+ * action
70
+ * }
71
+ * }
72
+ * }
73
+ * }
81
74
  * }
82
75
  *
83
76
  * Depending on the speciific source/target, you're also able to filter on the source/target information
84
- *
85
77
  * query getOrganizationRules {
86
- *
87
- * organization(slug: "ORGANIZATION_SLUG") {
88
- *
89
- * rules(first: 50) {
90
- *
91
- * edges{
92
- *
93
- * node{
94
- *
95
- * id
96
- *
97
- * sourceType
98
- *
99
- * source {
100
- *
101
- * ... on Pipeline{
102
- *
103
- * uuid
104
- *
105
- * name
106
- *
107
- * }
108
- *
109
- * }
110
- *
111
- * targetType
112
- *
113
- * target {
114
- *
115
- * ... on Pipeline{
116
- *
117
- * uuid
118
- *
119
- * name
120
- *
121
- * }
122
- *
123
- * }
124
- *
125
- * action
126
- *
127
- * }
128
- *
129
- * }
130
- *
131
- * }
132
- *
133
- * }
134
- *
78
+ * organization(slug: "ORGANIZATION_SLUG") {
79
+ * rules(first: 50) {
80
+ * edges{
81
+ * node{
82
+ * id
83
+ * sourceType
84
+ * source {
85
+ * ... on Pipeline{
86
+ * uuid
87
+ * name
88
+ * }
89
+ * }
90
+ * targetType
91
+ * target {
92
+ * ... on Pipeline{
93
+ * uuid
94
+ * name
95
+ * }
96
+ * }
97
+ * action
98
+ * }
99
+ * }
100
+ * }
101
+ * }
135
102
  * }
136
103
  *
137
104
  * ```sh
@@ -18,7 +18,7 @@ const utilities = require("../utilities");
18
18
  * import * as pulumi from "@pulumi/pulumi";
19
19
  * import * as buildkite from "@pulumiverse/buildkite";
20
20
  *
21
- * // Creates a TRIGGER_BUILD organization rule with required attributes
21
+ * // Creates a TRIGGER_BUILD organization rule using pipeline UUIDs
22
22
  * const triggerBuildTestDev = new buildkite.organization.Rule("trigger_build_test_dev", {
23
23
  * type: "pipeline.trigger_build.pipeline",
24
24
  * value: JSON.stringify({
@@ -26,6 +26,14 @@ const utilities = require("../utilities");
26
26
  * target_pipeline: appTestCi.uuid,
27
27
  * }),
28
28
  * });
29
+ * // Creates a TRIGGER_BUILD organization rule using pipeline slugs
30
+ * const triggerBuildTestDevSlug = new buildkite.organization.Rule("trigger_build_test_dev_slug", {
31
+ * type: "pipeline.trigger_build.pipeline",
32
+ * value: JSON.stringify({
33
+ * source_pipeline: "app-dev-deploy",
34
+ * target_pipeline: "app-test-ci",
35
+ * }),
36
+ * });
29
37
  * // Creates a ARTIFACTS_READ organization rule with an optional description
30
38
  * const artifactsReadTestDev = new buildkite.organization.Rule("artifacts_read_test_dev", {
31
39
  * type: "pipeline.artifacts_read.pipeline",
@@ -53,91 +61,50 @@ const utilities = require("../utilities");
53
61
  * ## Import
54
62
  *
55
63
  * Using `pulumi import`, import resources using the `id`. For example:
56
- *
57
64
  * import an organization rule resource using the rules GraphQL ID
58
65
  *
59
66
  * You can use this query to find the first 50 organiation rules (adjust for less or more):
60
- *
61
67
  * query getOrganizationRules {
62
- *
63
- * organization(slug: "ORGANIZATION_SLUG") {
64
- *
65
- * rules(first: 50) {
66
- *
67
- * edges{
68
- *
69
- * node{
70
- *
71
- * id
72
- *
73
- * sourceType
74
- *
75
- * targetType
76
- *
77
- * action
78
- *
79
- * }
80
- *
81
- * }
82
- *
83
- * }
84
- *
85
- * }
86
- *
68
+ * organization(slug: "ORGANIZATION_SLUG") {
69
+ * rules(first: 50) {
70
+ * edges{
71
+ * node{
72
+ * id
73
+ * sourceType
74
+ * targetType
75
+ * action
76
+ * }
77
+ * }
78
+ * }
79
+ * }
87
80
  * }
88
81
  *
89
82
  * Depending on the speciific source/target, you're also able to filter on the source/target information
90
- *
91
83
  * query getOrganizationRules {
92
- *
93
- * organization(slug: "ORGANIZATION_SLUG") {
94
- *
95
- * rules(first: 50) {
96
- *
97
- * edges{
98
- *
99
- * node{
100
- *
101
- * id
102
- *
103
- * sourceType
104
- *
105
- * source {
106
- *
107
- * ... on Pipeline{
108
- *
109
- * uuid
110
- *
111
- * name
112
- *
113
- * }
114
- *
115
- * }
116
- *
117
- * targetType
118
- *
119
- * target {
120
- *
121
- * ... on Pipeline{
122
- *
123
- * uuid
124
- *
125
- * name
126
- *
127
- * }
128
- *
129
- * }
130
- *
131
- * action
132
- *
133
- * }
134
- *
135
- * }
136
- *
137
- * }
138
- *
139
- * }
140
- *
84
+ * organization(slug: "ORGANIZATION_SLUG") {
85
+ * rules(first: 50) {
86
+ * edges{
87
+ * node{
88
+ * id
89
+ * sourceType
90
+ * source {
91
+ * ... on Pipeline{
92
+ * uuid
93
+ * name
94
+ * }
95
+ * }
96
+ * targetType
97
+ * target {
98
+ * ... on Pipeline{
99
+ * uuid
100
+ * name
101
+ * }
102
+ * }
103
+ * action
104
+ * }
105
+ * }
106
+ * }
107
+ * }
141
108
  * }
142
109
  *
143
110
  * ```sh
@@ -1 +1 @@
1
- {"version":3,"file":"rule.js","sourceRoot":"","sources":["../../organization/rule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEj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Ac,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,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,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AAjHL,oBAkHC;AApGG,gBAAgB;AACO,iBAAY,GAAG,kCAAkC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/buildkite",
3
- "version": "3.3.0-alpha.1777573583",
3
+ "version": "3.3.0",
4
4
  "description": "A Pulumi package for creating and managing Buildkite resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,7 +23,7 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "buildkite",
26
- "version": "3.3.0-alpha.1777573583",
26
+ "version": "3.3.0",
27
27
  "server": "github://api.github.com/pulumiverse/pulumi-buildkite"
28
28
  }
29
29
  }
@@ -65,6 +65,10 @@ export interface GetPipelineResult {
65
65
  * The UUID of the pipeline.
66
66
  */
67
67
  readonly uuid: string;
68
+ /**
69
+ * The visibility of the pipeline (PUBLIC or PRIVATE).
70
+ */
71
+ readonly visibility: string;
68
72
  /**
69
73
  * The Buildkite webhook URL that triggers builds on this pipeline.
70
74
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getPipeline.js","sourceRoot":"","sources":["../../pipeline/getPipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GA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,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8CAKC"}
@@ -11,9 +11,7 @@ import * as outputs from "../types/output";
11
11
  * ## Import
12
12
  *
13
13
  * Using `pulumi import`, import resources using the `id`. For example:
14
- *
15
14
  * import a pipeline resource using the pipelines GraphQL ID
16
- *
17
15
  * GraphQL ID for a pipeline can be found on its settings page
18
16
  *
19
17
  * ```sh
@@ -40,6 +38,10 @@ export declare class Pipeline extends pulumi.CustomResource {
40
38
  * Whether rebuilds are allowed for this pipeline.
41
39
  */
42
40
  readonly allowRebuilds: pulumi.Output<boolean>;
41
+ /**
42
+ * Whether to archive this pipeline. Archived pipelines are hidden from most views and cannot run new builds.
43
+ */
44
+ readonly archived: pulumi.Output<boolean>;
43
45
  /**
44
46
  * The badge URL showing build state.
45
47
  */
@@ -132,6 +134,10 @@ export declare class Pipeline extends pulumi.CustomResource {
132
134
  * The UUID of the pipeline.
133
135
  */
134
136
  readonly uuid: pulumi.Output<string>;
137
+ /**
138
+ * The visibility of the pipeline. Can be `PUBLIC` or `PRIVATE`. Only use `PUBLIC` visibility for pipelines without sensitive information. Defaults to `PRIVATE`.
139
+ */
140
+ readonly visibility: pulumi.Output<string>;
135
141
  /**
136
142
  * The webhook URL used to trigger builds from VCS providers.
137
143
  */
@@ -153,6 +159,10 @@ export interface PipelineState {
153
159
  * Whether rebuilds are allowed for this pipeline.
154
160
  */
155
161
  allowRebuilds?: pulumi.Input<boolean>;
162
+ /**
163
+ * Whether to archive this pipeline. Archived pipelines are hidden from most views and cannot run new builds.
164
+ */
165
+ archived?: pulumi.Input<boolean>;
156
166
  /**
157
167
  * The badge URL showing build state.
158
168
  */
@@ -245,6 +255,10 @@ export interface PipelineState {
245
255
  * The UUID of the pipeline.
246
256
  */
247
257
  uuid?: pulumi.Input<string>;
258
+ /**
259
+ * The visibility of the pipeline. Can be `PUBLIC` or `PRIVATE`. Only use `PUBLIC` visibility for pipelines without sensitive information. Defaults to `PRIVATE`.
260
+ */
261
+ visibility?: pulumi.Input<string>;
248
262
  /**
249
263
  * The webhook URL used to trigger builds from VCS providers.
250
264
  */
@@ -258,6 +272,10 @@ export interface PipelineArgs {
258
272
  * Whether rebuilds are allowed for this pipeline.
259
273
  */
260
274
  allowRebuilds?: pulumi.Input<boolean>;
275
+ /**
276
+ * Whether to archive this pipeline. Archived pipelines are hidden from most views and cannot run new builds.
277
+ */
278
+ archived?: pulumi.Input<boolean>;
261
279
  /**
262
280
  * Configure the pipeline to only build on this branch conditional.
263
281
  */
@@ -338,4 +356,8 @@ export interface PipelineArgs {
338
356
  * Tags to attribute to the pipeline. Useful for searching by in the UI.
339
357
  */
340
358
  tags?: pulumi.Input<pulumi.Input<string>[]>;
359
+ /**
360
+ * The visibility of the pipeline. Can be `PUBLIC` or `PRIVATE`. Only use `PUBLIC` visibility for pipelines without sensitive information. Defaults to `PRIVATE`.
361
+ */
362
+ visibility?: pulumi.Input<string>;
341
363
  }