@pulumiverse/buildkite 2.2.0 → 2.3.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 (74) hide show
  1. package/README.md +3 -3
  2. package/agent/agentToken.js +2 -0
  3. package/agent/agentToken.js.map +1 -1
  4. package/cluster/cluster.d.ts +108 -0
  5. package/cluster/cluster.js +73 -0
  6. package/cluster/cluster.js.map +1 -0
  7. package/cluster/clusterAgentToken.d.ts +97 -0
  8. package/cluster/clusterAgentToken.js +84 -0
  9. package/cluster/clusterAgentToken.js.map +1 -0
  10. package/cluster/clusterQueue.d.ts +162 -0
  11. package/cluster/clusterQueue.js +137 -0
  12. package/cluster/clusterQueue.js.map +1 -0
  13. package/cluster/getCluster.d.ts +47 -0
  14. package/cluster/getCluster.js +19 -0
  15. package/cluster/getCluster.js.map +1 -0
  16. package/cluster/index.d.ts +12 -0
  17. package/cluster/index.js +35 -0
  18. package/cluster/index.js.map +1 -0
  19. package/config/vars.d.ts +5 -1
  20. package/config/vars.js +6 -0
  21. package/config/vars.js.map +1 -1
  22. package/getMeta.d.ts +0 -3
  23. package/index.d.ts +3 -1
  24. package/index.js +5 -1
  25. package/index.js.map +1 -1
  26. package/organization/getOrganization.d.ts +2 -46
  27. package/organization/getOrganization.js +3 -32
  28. package/organization/getOrganization.js.map +1 -1
  29. package/organization/index.d.ts +4 -2
  30. package/organization/index.js +7 -3
  31. package/organization/index.js.map +1 -1
  32. package/organization/organization.d.ts +78 -0
  33. package/organization/organization.js +79 -0
  34. package/organization/organization.js.map +1 -0
  35. package/organization/settings.d.ts +4 -0
  36. package/organization/settings.js +4 -0
  37. package/organization/settings.js.map +1 -1
  38. package/package.json +2 -2
  39. package/pipeline/getPipeline.d.ts +1 -4
  40. package/pipeline/getPipeline.js.map +1 -1
  41. package/pipeline/index.d.ts +3 -0
  42. package/pipeline/index.js +6 -1
  43. package/pipeline/index.js.map +1 -1
  44. package/pipeline/pipeline.d.ts +45 -98
  45. package/pipeline/pipeline.js +10 -85
  46. package/pipeline/pipeline.js.map +1 -1
  47. package/pipeline/schedule.d.ts +46 -5
  48. package/pipeline/schedule.js +34 -2
  49. package/pipeline/schedule.js.map +1 -1
  50. package/pipeline/team.d.ts +128 -0
  51. package/pipeline/team.js +112 -0
  52. package/pipeline/team.js.map +1 -0
  53. package/provider.d.ts +11 -7
  54. package/provider.js +5 -8
  55. package/provider.js.map +1 -1
  56. package/team/getTeam.d.ts +24 -10
  57. package/team/getTeam.js +6 -4
  58. package/team/getTeam.js.map +1 -1
  59. package/team/member.d.ts +4 -4
  60. package/team/member.js +4 -4
  61. package/team/team.d.ts +31 -1
  62. package/team/team.js +30 -0
  63. package/team/team.js.map +1 -1
  64. package/testsuite/index.d.ts +6 -0
  65. package/testsuite/index.js +27 -0
  66. package/testsuite/index.js.map +1 -0
  67. package/testsuite/team.d.ts +166 -0
  68. package/testsuite/team.js +150 -0
  69. package/testsuite/team.js.map +1 -0
  70. package/testsuite/testSuite.d.ts +120 -0
  71. package/testsuite/testSuite.js +91 -0
  72. package/testsuite/testSuite.js.map +1 -0
  73. package/types/input.d.ts +3 -4
  74. package/types/output.d.ts +8 -9
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.Organization = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("../utilities");
8
+ /**
9
+ * ## # Resource: organization
10
+ *
11
+ * This resource allows you to manage the settings for an organization.
12
+ *
13
+ * You must be an organization administrator to manage organization settings.
14
+ *
15
+ * Note: The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.
16
+ *
17
+ * ## Example Usage
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as buildkite from "@pulumiverse/buildkite";
22
+ *
23
+ * const testSettings = new buildkite.organization.Organization("testSettings", {allowedApiIpAddresses: ["1.1.1.1/32"]});
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Organization settings can be imported by passing the organization slug to the import command, along with the identifier of the resource.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import buildkite:Organization/organization:Organization test_settings test_org
32
+ * ```
33
+ *
34
+ * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
35
+ */
36
+ class Organization extends pulumi.CustomResource {
37
+ /**
38
+ * Get an existing Organization resource's state with the given name, ID, and optional extra
39
+ * properties used to qualify the lookup.
40
+ *
41
+ * @param name The _unique_ name of the resulting resource.
42
+ * @param id The _unique_ provider ID of the resource to lookup.
43
+ * @param state Any extra arguments used during the lookup.
44
+ * @param opts Optional settings to control the behavior of the CustomResource.
45
+ */
46
+ static get(name, id, state, opts) {
47
+ return new Organization(name, state, Object.assign(Object.assign({}, opts), { id: id }));
48
+ }
49
+ /**
50
+ * Returns true if the given object is an instance of Organization. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj) {
54
+ if (obj === undefined || obj === null) {
55
+ return false;
56
+ }
57
+ return obj['__pulumiType'] === Organization.__pulumiType;
58
+ }
59
+ constructor(name, argsOrState, opts) {
60
+ let resourceInputs = {};
61
+ opts = opts || {};
62
+ if (opts.id) {
63
+ const state = argsOrState;
64
+ resourceInputs["allowedApiIpAddresses"] = state ? state.allowedApiIpAddresses : undefined;
65
+ resourceInputs["uuid"] = state ? state.uuid : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ resourceInputs["allowedApiIpAddresses"] = args ? args.allowedApiIpAddresses : undefined;
70
+ resourceInputs["uuid"] = undefined /*out*/;
71
+ }
72
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
73
+ super(Organization.__pulumiType, name, resourceInputs, opts);
74
+ }
75
+ }
76
+ exports.Organization = Organization;
77
+ /** @internal */
78
+ Organization.__pulumiType = 'buildkite:Organization/organization:Organization';
79
+ //# sourceMappingURL=organization.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"organization.js","sourceRoot":"","sources":["../../organization/organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IAgBD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,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;;AAxDL,oCAyDC;AA3CG,gBAAgB;AACO,yBAAY,GAAG,kDAAkD,CAAC"}
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * ## # Resource: organizationSettings
4
4
  *
5
+ * **Note**: This resource has been deprecated. In a future minor release, we will remove this resource in favour of the newer `buildkite.Organization.Organization` resource that aligns with the datasource of the same name.
6
+ *
5
7
  * This resource allows you to manage the settings for an organization.
6
8
  *
7
9
  * You must be an organization administrator to manage organization settings.
@@ -24,6 +26,8 @@ import * as pulumi from "@pulumi/pulumi";
24
26
  * ```sh
25
27
  * $ pulumi import buildkite:Organization/settings:Settings test_settings test_org
26
28
  * ```
29
+ *
30
+ * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
27
31
  */
28
32
  export declare class Settings extends pulumi.CustomResource {
29
33
  /**
@@ -8,6 +8,8 @@ const utilities = require("../utilities");
8
8
  /**
9
9
  * ## # Resource: organizationSettings
10
10
  *
11
+ * **Note**: This resource has been deprecated. In a future minor release, we will remove this resource in favour of the newer `buildkite.Organization.Organization` resource that aligns with the datasource of the same name.
12
+ *
11
13
  * This resource allows you to manage the settings for an organization.
12
14
  *
13
15
  * You must be an organization administrator to manage organization settings.
@@ -30,6 +32,8 @@ const utilities = require("../utilities");
30
32
  * ```sh
31
33
  * $ pulumi import buildkite:Organization/settings:Settings test_settings test_org
32
34
  * ```
35
+ *
36
+ * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
33
37
  */
34
38
  class Settings extends pulumi.CustomResource {
35
39
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../organization/settings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;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;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;IAgBD,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,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YAC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AAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,uBAAuB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAuC,CAAC;YACrD,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,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;;AAxDL,4BAyDC;AA3CG,gBAAgB;AACO,qBAAY,GAAG,0CAA0C,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumiverse/buildkite",
3
- "version": "v2.2.0",
3
+ "version": "v2.3.1",
4
4
  "description": "A Pulumi package for creating and managing Buildkite resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource buildkite v2.2.0"
14
+ "install": "node scripts/install-pulumi-plugin.js resource buildkite v2.3.1"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
@@ -40,9 +40,6 @@ export interface GetPipelineResult {
40
40
  * A description of the pipeline.
41
41
  */
42
42
  readonly description: string;
43
- /**
44
- * The provider-assigned unique ID for this managed resource.
45
- */
46
43
  readonly id: string;
47
44
  /**
48
45
  * The name of the pipeline.
@@ -54,7 +51,7 @@ export interface GetPipelineResult {
54
51
  readonly repository: string;
55
52
  readonly slug: string;
56
53
  /**
57
- * The default branch to prefill when new builds are created or triggered.
54
+ * The Buildkite webhook URL that triggers builds on this pipeline.
58
55
  */
59
56
  readonly webhookUrl: string;
60
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getPipeline.js","sourceRoot":"","sources":["../../pipeline/getPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AA0CD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getPipeline.js","sourceRoot":"","sources":["../../pipeline/getPipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAuCD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -7,3 +7,6 @@ export declare const Pipeline: typeof import("./pipeline").Pipeline;
7
7
  export { ScheduleArgs, ScheduleState } from "./schedule";
8
8
  export type Schedule = import("./schedule").Schedule;
9
9
  export declare const Schedule: typeof import("./schedule").Schedule;
10
+ export { TeamArgs, TeamState } from "./team";
11
+ export type Team = import("./team").Team;
12
+ export declare const Team: typeof import("./team").Team;
package/pipeline/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
  Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.Schedule = exports.Pipeline = exports.getPipelineOutput = exports.getPipeline = void 0;
5
+ exports.Team = exports.Schedule = exports.Pipeline = exports.getPipelineOutput = exports.getPipeline = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  exports.getPipeline = null;
@@ -12,6 +12,8 @@ exports.Pipeline = null;
12
12
  utilities.lazyLoad(exports, ["Pipeline"], () => require("./pipeline"));
13
13
  exports.Schedule = null;
14
14
  utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
15
+ exports.Team = null;
16
+ utilities.lazyLoad(exports, ["Team"], () => require("./team"));
15
17
  const _module = {
16
18
  version: utilities.getVersion(),
17
19
  construct: (name, type, urn) => {
@@ -20,6 +22,8 @@ const _module = {
20
22
  return new exports.Pipeline(name, undefined, { urn });
21
23
  case "buildkite:Pipeline/schedule:Schedule":
22
24
  return new exports.Schedule(name, undefined, { urn });
25
+ case "buildkite:Pipeline/team:Team":
26
+ return new exports.Team(name, undefined, { urn });
23
27
  default:
24
28
  throw new Error(`unknown resource type ${type}`);
25
29
  }
@@ -27,4 +31,5 @@ const _module = {
27
31
  };
28
32
  pulumi.runtime.registerResourceModule("buildkite", "Pipeline/pipeline", _module);
29
33
  pulumi.runtime.registerResourceModule("buildkite", "Pipeline/schedule", _module);
34
+ pulumi.runtime.registerResourceModule("buildkite", "Pipeline/team", _module);
30
35
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../pipeline/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAI7B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACtE,QAAA,iBAAiB,GAAqD,IAAW,CAAC;AAC/F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,EAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIpF,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CA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,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,IAAI,GAAiC,IAAW,CAAC;AAC9D,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC;AAG/D,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,sCAAsC;gBACvC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,sCAAsC;gBACvC,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACtD,KAAK,8BAA8B;gBAC/B,OAAO,IAAI,YAAI,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAClD;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAA;AAChF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,WAAW,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
@@ -2,91 +2,6 @@ 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
- * This resource allows you to create and manage pipelines for repositories.
8
- *
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 GitHub Provider Settings
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
- * // Pipeline that should not be triggered from a GitHub webhook
70
- * const repo2_deploy = new buildkite.pipeline.Pipeline("repo2-deploy", {
71
- * repository: "git@github.com:org/repo2",
72
- * steps: fs.readFileSync("./deploy-steps.yml"),
73
- * providerSettings: {
74
- * triggerMode: "none",
75
- * },
76
- * });
77
- * // Release pipeline (triggered only when tags are pushed)
78
- * const repo2_release = new buildkite.pipeline.Pipeline("repo2-release", {
79
- * repository: "git@github.com:org/repo2",
80
- * steps: fs.readFileSync("./release-steps.yml"),
81
- * providerSettings: {
82
- * buildBranches: false,
83
- * buildTags: true,
84
- * buildPullRequests: false,
85
- * triggerMode: "code",
86
- * },
87
- * });
88
- * ```
89
- *
90
5
  * ## Import
91
6
  *
92
7
  * Pipelines can be imported using the `GraphQL ID` (not UUID), e.g.
@@ -94,6 +9,14 @@ import * as outputs from "../types/output";
94
9
  * ```sh
95
10
  * $ pulumi import buildkite:Pipeline/pipeline:Pipeline fleet UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=
96
11
  * ```
12
+ *
13
+ * 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 {
14
+ *
15
+ * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") {
16
+ *
17
+ * id
18
+ *
19
+ * } }
97
20
  */
98
21
  export declare class Pipeline extends pulumi.CustomResource {
99
22
  /**
@@ -115,6 +38,10 @@ export declare class Pipeline extends pulumi.CustomResource {
115
38
  * A boolean on whether or not to allow rebuilds for the pipeline.
116
39
  */
117
40
  readonly allowRebuilds: pulumi.Output<boolean>;
41
+ /**
42
+ * @deprecated This attribute has been deprecated and will be removed in v0.27.0. Please use provider configuration `archive_pipeline_on_delete` instead.
43
+ */
44
+ readonly archiveOnDelete: pulumi.Output<boolean>;
118
45
  /**
119
46
  * The pipeline's last build status so you can display build status badge.
120
47
  */
@@ -122,7 +49,7 @@ export declare class Pipeline extends pulumi.CustomResource {
122
49
  /**
123
50
  * Limit which branches and tags cause new builds to be created, either via a code push or via the Builds REST API.
124
51
  */
125
- readonly branchConfiguration: pulumi.Output<string>;
52
+ readonly branchConfiguration: pulumi.Output<string | undefined>;
126
53
  /**
127
54
  * A boolean to enable automatically cancelling any running builds on the same branch when a new build is created.
128
55
  */
@@ -144,9 +71,11 @@ export declare class Pipeline extends pulumi.CustomResource {
144
71
  */
145
72
  readonly defaultTimeoutInMinutes: pulumi.Output<number>;
146
73
  /**
147
- * 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>"
74
+ * **DEPRECATED** (Optional) 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>"
75
+ *
76
+ * @deprecated Deletion protection will be removed in a future release. A similar solution already exists and is supported by Terraform. See https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle.
148
77
  */
149
- readonly deletionProtection: pulumi.Output<boolean | undefined>;
78
+ readonly deletionProtection: pulumi.Output<boolean>;
150
79
  /**
151
80
  * A description of the pipeline.
152
81
  */
@@ -162,7 +91,7 @@ export declare class Pipeline extends pulumi.CustomResource {
162
91
  /**
163
92
  * Source control provider settings for the pipeline. See Provider Settings Configuration below for details.
164
93
  */
165
- readonly providerSettings: pulumi.Output<outputs.Pipeline.PipelineProviderSettings>;
94
+ readonly providerSettings: pulumi.Output<outputs.Pipeline.PipelineProviderSettings | undefined>;
166
95
  /**
167
96
  * The git URL of the repository.
168
97
  */
@@ -176,16 +105,18 @@ export declare class Pipeline extends pulumi.CustomResource {
176
105
  */
177
106
  readonly skipIntermediateBuildsBranchFilter: pulumi.Output<string>;
178
107
  /**
179
- * The buildkite slug of the team.
108
+ * The slug of the created pipeline.
180
109
  */
181
110
  readonly slug: pulumi.Output<string>;
182
111
  /**
183
112
  * The string YAML steps to run the pipeline. Defaults to `buildkite-agent pipeline upload` if not specified.
184
113
  */
185
- readonly steps: pulumi.Output<string | undefined>;
186
- readonly tags: pulumi.Output<string[] | undefined>;
114
+ readonly steps: pulumi.Output<string>;
115
+ readonly tags: pulumi.Output<string[]>;
187
116
  /**
188
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
117
+ * **DEPRECATED** Set team access for the pipeline. Can be specified multiple times for each team.
118
+ *
119
+ * @deprecated This block is deprecated. Please use `buildkite_pipeline_team` instead.
189
120
  */
190
121
  readonly teams: pulumi.Output<outputs.Pipeline.PipelineTeam[] | undefined>;
191
122
  /**
@@ -209,6 +140,10 @@ export interface PipelineState {
209
140
  * A boolean on whether or not to allow rebuilds for the pipeline.
210
141
  */
211
142
  allowRebuilds?: pulumi.Input<boolean>;
143
+ /**
144
+ * @deprecated This attribute has been deprecated and will be removed in v0.27.0. Please use provider configuration `archive_pipeline_on_delete` instead.
145
+ */
146
+ archiveOnDelete?: pulumi.Input<boolean>;
212
147
  /**
213
148
  * The pipeline's last build status so you can display build status badge.
214
149
  */
@@ -238,7 +173,9 @@ export interface PipelineState {
238
173
  */
239
174
  defaultTimeoutInMinutes?: pulumi.Input<number>;
240
175
  /**
241
- * 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>"
176
+ * **DEPRECATED** (Optional) 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>"
177
+ *
178
+ * @deprecated Deletion protection will be removed in a future release. A similar solution already exists and is supported by Terraform. See https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle.
242
179
  */
243
180
  deletionProtection?: pulumi.Input<boolean>;
244
181
  /**
@@ -270,7 +207,7 @@ export interface PipelineState {
270
207
  */
271
208
  skipIntermediateBuildsBranchFilter?: pulumi.Input<string>;
272
209
  /**
273
- * The buildkite slug of the team.
210
+ * The slug of the created pipeline.
274
211
  */
275
212
  slug?: pulumi.Input<string>;
276
213
  /**
@@ -279,7 +216,9 @@ export interface PipelineState {
279
216
  steps?: pulumi.Input<string>;
280
217
  tags?: pulumi.Input<pulumi.Input<string>[]>;
281
218
  /**
282
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
219
+ * **DEPRECATED** Set team access for the pipeline. Can be specified multiple times for each team.
220
+ *
221
+ * @deprecated This block is deprecated. Please use `buildkite_pipeline_team` instead.
283
222
  */
284
223
  teams?: pulumi.Input<pulumi.Input<inputs.Pipeline.PipelineTeam>[]>;
285
224
  /**
@@ -295,6 +234,10 @@ export interface PipelineArgs {
295
234
  * A boolean on whether or not to allow rebuilds for the pipeline.
296
235
  */
297
236
  allowRebuilds?: pulumi.Input<boolean>;
237
+ /**
238
+ * @deprecated This attribute has been deprecated and will be removed in v0.27.0. Please use provider configuration `archive_pipeline_on_delete` instead.
239
+ */
240
+ archiveOnDelete?: pulumi.Input<boolean>;
298
241
  /**
299
242
  * Limit which branches and tags cause new builds to be created, either via a code push or via the Builds REST API.
300
243
  */
@@ -320,7 +263,9 @@ export interface PipelineArgs {
320
263
  */
321
264
  defaultTimeoutInMinutes?: pulumi.Input<number>;
322
265
  /**
323
- * 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>"
266
+ * **DEPRECATED** (Optional) 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>"
267
+ *
268
+ * @deprecated Deletion protection will be removed in a future release. A similar solution already exists and is supported by Terraform. See https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle.
324
269
  */
325
270
  deletionProtection?: pulumi.Input<boolean>;
326
271
  /**
@@ -357,7 +302,9 @@ export interface PipelineArgs {
357
302
  steps?: pulumi.Input<string>;
358
303
  tags?: pulumi.Input<pulumi.Input<string>[]>;
359
304
  /**
360
- * Set team access for the pipeline. Can be specified multiple times for each team. See Teams Configuration below for details.
305
+ * **DEPRECATED** Set team access for the pipeline. Can be specified multiple times for each team.
306
+ *
307
+ * @deprecated This block is deprecated. Please use `buildkite_pipeline_team` instead.
361
308
  */
362
309
  teams?: pulumi.Input<pulumi.Input<inputs.Pipeline.PipelineTeam>[]>;
363
310
  }
@@ -6,91 +6,6 @@ exports.Pipeline = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("../utilities");
8
8
  /**
9
- * ## # Resource: pipeline
10
- *
11
- * This resource allows you to create and manage pipelines for repositories.
12
- *
13
- * Buildkite Documentation: https://buildkite.com/docs/pipelines
14
- *
15
- * ## Example Usage
16
- *
17
- * ```typescript
18
- * import * as pulumi from "@pulumi/pulumi";
19
- * import * as buildkite from "@pulumiverse/buildkite";
20
- * import * as fs from "fs";
21
- *
22
- * // in ./steps.yml:
23
- * // steps:
24
- * // - label: ':pipeline:'
25
- * // command: buildkite-agent pipeline upload
26
- * const repo2 = new buildkite.pipeline.Pipeline("repo2", {
27
- * repository: "git@github.com:org/repo2",
28
- * steps: fs.readFileSync("./steps.yml"),
29
- * teams: [{
30
- * slug: "everyone",
31
- * accessLevel: "READ_ONLY",
32
- * }],
33
- * });
34
- * ```
35
- * ### With Command Timeouts
36
- *
37
- * ```typescript
38
- * import * as pulumi from "@pulumi/pulumi";
39
- * import * as buildkite from "@pulumiverse/buildkite";
40
- * import * as fs from "fs";
41
- *
42
- * const testNew = new buildkite.pipeline.Pipeline("testNew", {
43
- * repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
44
- * steps: fs.readFileSync("./deploy-steps.yml"),
45
- * defaultTimeoutInMinutes: 60,
46
- * maximumTimeoutInMinutes: 120,
47
- * });
48
- * ```
49
- *
50
- * 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.
51
- * ### With Deletion Protection
52
- *
53
- * ```typescript
54
- * import * as pulumi from "@pulumi/pulumi";
55
- * import * as buildkite from "@pulumiverse/buildkite";
56
- * import * as fs from "fs";
57
- *
58
- * const testNew = new buildkite.pipeline.Pipeline("testNew", {
59
- * repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
60
- * steps: fs.readFileSync("./deploy-steps.yml"),
61
- * deletionProtection: true,
62
- * });
63
- * ```
64
- *
65
- * `deletionProtection` will block `destroy` actions on the **pipeline**. Attached resources, such as `schedules` will still be destroyed.
66
- * ### With GitHub Provider Settings
67
- *
68
- * ```typescript
69
- * import * as pulumi from "@pulumi/pulumi";
70
- * import * as buildkite from "@pulumiverse/buildkite";
71
- * import * as fs from "fs";
72
- *
73
- * // Pipeline that should not be triggered from a GitHub webhook
74
- * const repo2_deploy = new buildkite.pipeline.Pipeline("repo2-deploy", {
75
- * repository: "git@github.com:org/repo2",
76
- * steps: fs.readFileSync("./deploy-steps.yml"),
77
- * providerSettings: {
78
- * triggerMode: "none",
79
- * },
80
- * });
81
- * // Release pipeline (triggered only when tags are pushed)
82
- * const repo2_release = new buildkite.pipeline.Pipeline("repo2-release", {
83
- * repository: "git@github.com:org/repo2",
84
- * steps: fs.readFileSync("./release-steps.yml"),
85
- * providerSettings: {
86
- * buildBranches: false,
87
- * buildTags: true,
88
- * buildPullRequests: false,
89
- * triggerMode: "code",
90
- * },
91
- * });
92
- * ```
93
- *
94
9
  * ## Import
95
10
  *
96
11
  * Pipelines can be imported using the `GraphQL ID` (not UUID), e.g.
@@ -98,6 +13,14 @@ const utilities = require("../utilities");
98
13
  * ```sh
99
14
  * $ pulumi import buildkite:Pipeline/pipeline:Pipeline fleet UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=
100
15
  * ```
16
+ *
17
+ * 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 {
18
+ *
19
+ * pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") {
20
+ *
21
+ * id
22
+ *
23
+ * } }
101
24
  */
102
25
  class Pipeline extends pulumi.CustomResource {
103
26
  /**
@@ -128,6 +51,7 @@ class Pipeline extends pulumi.CustomResource {
128
51
  if (opts.id) {
129
52
  const state = argsOrState;
130
53
  resourceInputs["allowRebuilds"] = state ? state.allowRebuilds : undefined;
54
+ resourceInputs["archiveOnDelete"] = state ? state.archiveOnDelete : undefined;
131
55
  resourceInputs["badgeUrl"] = state ? state.badgeUrl : undefined;
132
56
  resourceInputs["branchConfiguration"] = state ? state.branchConfiguration : undefined;
133
57
  resourceInputs["cancelIntermediateBuilds"] = state ? state.cancelIntermediateBuilds : undefined;
@@ -155,6 +79,7 @@ class Pipeline extends pulumi.CustomResource {
155
79
  throw new Error("Missing required property 'repository'");
156
80
  }
157
81
  resourceInputs["allowRebuilds"] = args ? args.allowRebuilds : undefined;
82
+ resourceInputs["archiveOnDelete"] = args ? args.archiveOnDelete : undefined;
158
83
  resourceInputs["branchConfiguration"] = args ? args.branchConfiguration : undefined;
159
84
  resourceInputs["cancelIntermediateBuilds"] = args ? args.cancelIntermediateBuilds : undefined;
160
85
  resourceInputs["cancelIntermediateBuildsBranchFilter"] = args ? args.cancelIntermediateBuildsBranchFilter : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../pipeline/pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6FG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;I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