@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,81 +0,0 @@
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.Settings = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("../utilities");
8
- /**
9
- * ## # Resource: organizationSettings
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
- *
13
- * This resource allows you to manage the settings for an organization.
14
- *
15
- * You must be an organization administrator to manage organization settings.
16
- *
17
- * Note: The "Allowed API IP Addresses" feature must be enabled on your organization in order to manage the `allowedApiIpAddresses` attribute.
18
- *
19
- * ## Example Usage
20
- *
21
- * ```typescript
22
- * import * as pulumi from "@pulumi/pulumi";
23
- * import * as buildkite from "@pulumiverse/buildkite";
24
- *
25
- * const testSettings = new buildkite.organization.Settings("testSettings", {allowedApiIpAddresses: ["1.1.1.1/32"]});
26
- * ```
27
- *
28
- * ## Import
29
- *
30
- * Organization settings can be imported by passing the organization slug to the import command, along with the identifier of the resource.
31
- *
32
- * ```sh
33
- * $ pulumi import buildkite:Organization/settings:Settings test_settings test_org
34
- * ```
35
- *
36
- * Your organization's slug can be found in your organisation's [settings](https://buildkite.com/organizations/~/settings) page.
37
- */
38
- class Settings extends pulumi.CustomResource {
39
- /**
40
- * Get an existing Settings resource's state with the given name, ID, and optional extra
41
- * properties used to qualify the lookup.
42
- *
43
- * @param name The _unique_ name of the resulting resource.
44
- * @param id The _unique_ provider ID of the resource to lookup.
45
- * @param state Any extra arguments used during the lookup.
46
- * @param opts Optional settings to control the behavior of the CustomResource.
47
- */
48
- static get(name, id, state, opts) {
49
- return new Settings(name, state, Object.assign(Object.assign({}, opts), { id: id }));
50
- }
51
- /**
52
- * Returns true if the given object is an instance of Settings. This is designed to work even
53
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
54
- */
55
- static isInstance(obj) {
56
- if (obj === undefined || obj === null) {
57
- return false;
58
- }
59
- return obj['__pulumiType'] === Settings.__pulumiType;
60
- }
61
- constructor(name, argsOrState, opts) {
62
- let resourceInputs = {};
63
- opts = opts || {};
64
- if (opts.id) {
65
- const state = argsOrState;
66
- resourceInputs["allowedApiIpAddresses"] = state ? state.allowedApiIpAddresses : undefined;
67
- resourceInputs["uuid"] = state ? state.uuid : undefined;
68
- }
69
- else {
70
- const args = argsOrState;
71
- resourceInputs["allowedApiIpAddresses"] = args ? args.allowedApiIpAddresses : undefined;
72
- resourceInputs["uuid"] = undefined /*out*/;
73
- }
74
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
75
- super(Settings.__pulumiType, name, resourceInputs, opts);
76
- }
77
- }
78
- exports.Settings = Settings;
79
- /** @internal */
80
- Settings.__pulumiType = 'buildkite:Organization/settings:Settings';
81
- //# sourceMappingURL=settings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"settings.js","sourceRoot":"","sources":["../../organization/settings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;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;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"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var childProcess = require("child_process");
3
-
4
- var args = process.argv.slice(2);
5
-
6
- if (args.indexOf("${VERSION}") !== -1) {
7
- process.exit(0);
8
- }
9
-
10
- var res = childProcess.spawnSync("pulumi", ["plugin", "install", "--server", "github://api.github.com/pulumiverse/pulumi-buildkite"].concat(args), {
11
- stdio: ["ignore", "inherit", "inherit"]
12
- });
13
-
14
- if (res.error && res.error.code === "ENOENT") {
15
- console.error("\nThere was an error installing the resource provider plugin. " +
16
- "It looks like `pulumi` is not installed on your system. " +
17
- "Please visit https://pulumi.com/ to install the Pulumi CLI.\n" +
18
- "You may try manually installing the plugin by running " +
19
- "`pulumi plugin install " + args.join(" ") + "`");
20
- } else if (res.error || res.status !== 0) {
21
- console.error("\nThere was an error installing the resource provider plugin. " +
22
- "You may try to manually installing the plugin by running " +
23
- "`pulumi plugin install " + args.join(" ") + "`");
24
- }
25
-
26
- process.exit(0);