@pulumiverse/buildkite 2.2.0 → 2.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.
- package/README.md +3 -3
- package/agent/agentToken.js +2 -0
- package/agent/agentToken.js.map +1 -1
- package/cluster/cluster.d.ts +108 -0
- package/cluster/cluster.js +73 -0
- package/cluster/cluster.js.map +1 -0
- package/cluster/clusterAgentToken.d.ts +97 -0
- package/cluster/clusterAgentToken.js +84 -0
- package/cluster/clusterAgentToken.js.map +1 -0
- package/cluster/clusterQueue.d.ts +162 -0
- package/cluster/clusterQueue.js +137 -0
- package/cluster/clusterQueue.js.map +1 -0
- package/cluster/getCluster.d.ts +47 -0
- package/cluster/getCluster.js +19 -0
- package/cluster/getCluster.js.map +1 -0
- package/cluster/index.d.ts +12 -0
- package/cluster/index.js +35 -0
- package/cluster/index.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/organization/settings.d.ts +2 -0
- package/organization/settings.js +2 -0
- package/organization/settings.js.map +1 -1
- package/package.json +2 -2
- package/pipeline/pipeline.d.ts +28 -2
- package/pipeline/pipeline.js +25 -0
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +38 -0
- package/pipeline/schedule.js +38 -0
- package/pipeline/schedule.js.map +1 -1
- package/provider.d.ts +5 -5
- package/provider.js +4 -8
- package/provider.js.map +1 -1
- package/team/member.d.ts +4 -4
- package/team/member.js +4 -4
- package/team/team.d.ts +30 -0
- package/team/team.js +30 -0
- package/team/team.js.map +1 -1
package/README.md
CHANGED
|
@@ -24,13 +24,13 @@ This package is available in many languages in the standard packaging formats.
|
|
|
24
24
|
To use from JavaScript or TypeScript in Node.js, install using either `npm`:
|
|
25
25
|
|
|
26
26
|
```bash
|
|
27
|
-
npm install @pulumiverse/
|
|
27
|
+
npm install @pulumiverse/buildkite
|
|
28
28
|
```
|
|
29
29
|
|
|
30
30
|
or `yarn`:
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
yarn add @pulumiverse/
|
|
33
|
+
yarn add @pulumiverse/buildkite
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
### Python
|
|
@@ -71,7 +71,7 @@ The following configuration points are available for the `buildkite` provider:
|
|
|
71
71
|
Example for *Typescript* to create a resource:
|
|
72
72
|
|
|
73
73
|
```typescript
|
|
74
|
-
import * as buildkite from '@pulumiverse/
|
|
74
|
+
import * as buildkite from '@pulumiverse/buildkite';
|
|
75
75
|
|
|
76
76
|
const args = {};
|
|
77
77
|
const vm = new buildkite.agent.AgentToken(
|
package/agent/agentToken.js
CHANGED
|
@@ -60,6 +60,8 @@ class AgentToken extends pulumi.CustomResource {
|
|
|
60
60
|
resourceInputs["uuid"] = undefined /*out*/;
|
|
61
61
|
}
|
|
62
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
64
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
63
65
|
super(AgentToken.__pulumiType, name, resourceInputs, opts);
|
|
64
66
|
}
|
|
65
67
|
}
|
package/agent/agentToken.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agentToken.js","sourceRoot":"","sources":["../../agent/agentToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;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CAAC,CAAC,SAAS,CAAC;YACpE,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,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AArEL,gCAsEC;AAxDG,gBAAgB;AACO,uBAAY,GAAG,uCAAuC,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # Resource: cluster
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to create, manage and import Clusters.
|
|
6
|
+
*
|
|
7
|
+
* Buildkite documentation: https://buildkite.com/docs/clusters/overview
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
14
|
+
*
|
|
15
|
+
* const linux = new buildkite.cluster.Cluster("linux", {});
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare class Cluster extends pulumi.CustomResource {
|
|
19
|
+
/**
|
|
20
|
+
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|
|
21
|
+
* properties used to qualify the lookup.
|
|
22
|
+
*
|
|
23
|
+
* @param name The _unique_ name of the resulting resource.
|
|
24
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
25
|
+
* @param state Any extra arguments used during the lookup.
|
|
26
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
27
|
+
*/
|
|
28
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterState, opts?: pulumi.CustomResourceOptions): Cluster;
|
|
29
|
+
/**
|
|
30
|
+
* Returns true if the given object is an instance of Cluster. This is designed to work even
|
|
31
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
32
|
+
*/
|
|
33
|
+
static isInstance(obj: any): obj is Cluster;
|
|
34
|
+
/**
|
|
35
|
+
* A color to associate with the Cluster. Perhaps a team related color, or one related to an environment. This is set using hex value, such as `#BADA55`.
|
|
36
|
+
*/
|
|
37
|
+
readonly color: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* This is a description for the cluster, this may describe the usage for it, the region, or something else which would help identify the Cluster's purpose.
|
|
40
|
+
*/
|
|
41
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* An emoji to use with the Cluster, this can either be set using `:buildkite:` notation, or with the emoji itself, such as 😎.
|
|
44
|
+
*/
|
|
45
|
+
readonly emoji: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* This is the name of the cluster.
|
|
48
|
+
*/
|
|
49
|
+
readonly name: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The UUID created with the Cluster.
|
|
52
|
+
*/
|
|
53
|
+
readonly uuid: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a Cluster resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args?: ClusterArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering Cluster resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface ClusterState {
|
|
67
|
+
/**
|
|
68
|
+
* A color to associate with the Cluster. Perhaps a team related color, or one related to an environment. This is set using hex value, such as `#BADA55`.
|
|
69
|
+
*/
|
|
70
|
+
color?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* This is a description for the cluster, this may describe the usage for it, the region, or something else which would help identify the Cluster's purpose.
|
|
73
|
+
*/
|
|
74
|
+
description?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* An emoji to use with the Cluster, this can either be set using `:buildkite:` notation, or with the emoji itself, such as 😎.
|
|
77
|
+
*/
|
|
78
|
+
emoji?: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* This is the name of the cluster.
|
|
81
|
+
*/
|
|
82
|
+
name?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The UUID created with the Cluster.
|
|
85
|
+
*/
|
|
86
|
+
uuid?: pulumi.Input<string>;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* The set of arguments for constructing a Cluster resource.
|
|
90
|
+
*/
|
|
91
|
+
export interface ClusterArgs {
|
|
92
|
+
/**
|
|
93
|
+
* A color to associate with the Cluster. Perhaps a team related color, or one related to an environment. This is set using hex value, such as `#BADA55`.
|
|
94
|
+
*/
|
|
95
|
+
color?: pulumi.Input<string>;
|
|
96
|
+
/**
|
|
97
|
+
* This is a description for the cluster, this may describe the usage for it, the region, or something else which would help identify the Cluster's purpose.
|
|
98
|
+
*/
|
|
99
|
+
description?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* An emoji to use with the Cluster, this can either be set using `:buildkite:` notation, or with the emoji itself, such as 😎.
|
|
102
|
+
*/
|
|
103
|
+
emoji?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* This is the name of the cluster.
|
|
106
|
+
*/
|
|
107
|
+
name?: pulumi.Input<string>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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.Cluster = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Resource: cluster
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create, manage and import Clusters.
|
|
12
|
+
*
|
|
13
|
+
* Buildkite documentation: https://buildkite.com/docs/clusters/overview
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
20
|
+
*
|
|
21
|
+
* const linux = new buildkite.cluster.Cluster("linux", {});
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
class Cluster extends pulumi.CustomResource {
|
|
25
|
+
/**
|
|
26
|
+
* Get an existing Cluster resource's state with the given name, ID, and optional extra
|
|
27
|
+
* properties used to qualify the lookup.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resulting resource.
|
|
30
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
31
|
+
* @param state Any extra arguments used during the lookup.
|
|
32
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
33
|
+
*/
|
|
34
|
+
static get(name, id, state, opts) {
|
|
35
|
+
return new Cluster(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Returns true if the given object is an instance of Cluster. This is designed to work even
|
|
39
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
40
|
+
*/
|
|
41
|
+
static isInstance(obj) {
|
|
42
|
+
if (obj === undefined || obj === null) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
return obj['__pulumiType'] === Cluster.__pulumiType;
|
|
46
|
+
}
|
|
47
|
+
constructor(name, argsOrState, opts) {
|
|
48
|
+
let resourceInputs = {};
|
|
49
|
+
opts = opts || {};
|
|
50
|
+
if (opts.id) {
|
|
51
|
+
const state = argsOrState;
|
|
52
|
+
resourceInputs["color"] = state ? state.color : undefined;
|
|
53
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
54
|
+
resourceInputs["emoji"] = state ? state.emoji : undefined;
|
|
55
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
56
|
+
resourceInputs["uuid"] = state ? state.uuid : undefined;
|
|
57
|
+
}
|
|
58
|
+
else {
|
|
59
|
+
const args = argsOrState;
|
|
60
|
+
resourceInputs["color"] = args ? args.color : undefined;
|
|
61
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
62
|
+
resourceInputs["emoji"] = args ? args.emoji : undefined;
|
|
63
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
64
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
super(Cluster.__pulumiType, name, resourceInputs, opts);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
exports.Cluster = Cluster;
|
|
71
|
+
/** @internal */
|
|
72
|
+
Cluster.__pulumiType = 'buildkite:Cluster/cluster:Cluster';
|
|
73
|
+
//# sourceMappingURL=cluster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../../cluster/cluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;GAeG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC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Ac,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,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,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA7EL,0BA8EC;AAhEG,gBAAgB;AACO,oBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # Resource: clusterAgentToken
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to create and manage cluster agent tokens.
|
|
6
|
+
*
|
|
7
|
+
* Buildkite Documentation: https://buildkite.com/docs/clusters/manage-clusters#set-up-clusters-connect-agents-to-a-cluster
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
14
|
+
*
|
|
15
|
+
* const cluster_token_1 = new buildkite.cluster.ClusterAgentToken("cluster-token-1", {
|
|
16
|
+
* clusterId: "Q2x1c3Rlci0tLTkyMmVjOTA4LWRmNWItNDhhYS1hMThjLTczMzE0YjQ1ZGYyMA==",
|
|
17
|
+
* description: "agent token for cluster-1",
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
export declare class ClusterAgentToken extends pulumi.CustomResource {
|
|
22
|
+
/**
|
|
23
|
+
* Get an existing ClusterAgentToken resource's state with the given name, ID, and optional extra
|
|
24
|
+
* properties used to qualify the lookup.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resulting resource.
|
|
27
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
28
|
+
* @param state Any extra arguments used during the lookup.
|
|
29
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
30
|
+
*/
|
|
31
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterAgentTokenState, opts?: pulumi.CustomResourceOptions): ClusterAgentToken;
|
|
32
|
+
/**
|
|
33
|
+
* Returns true if the given object is an instance of ClusterAgentToken. This is designed to work even
|
|
34
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
35
|
+
*/
|
|
36
|
+
static isInstance(obj: any): obj is ClusterAgentToken;
|
|
37
|
+
/**
|
|
38
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
39
|
+
*/
|
|
40
|
+
readonly clusterId: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* The UUID of the cluster that this cluster queue belongs to.
|
|
43
|
+
*/
|
|
44
|
+
readonly clusterUuid: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* A description about what this cluster agent token is used for.
|
|
47
|
+
*/
|
|
48
|
+
readonly description: pulumi.Output<string>;
|
|
49
|
+
readonly token: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The UUID of the created cluster queue.
|
|
52
|
+
*/
|
|
53
|
+
readonly uuid: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a ClusterAgentToken resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: ClusterAgentTokenArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Input properties used for looking up and filtering ClusterAgentToken resources.
|
|
65
|
+
*/
|
|
66
|
+
export interface ClusterAgentTokenState {
|
|
67
|
+
/**
|
|
68
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
69
|
+
*/
|
|
70
|
+
clusterId?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The UUID of the cluster that this cluster queue belongs to.
|
|
73
|
+
*/
|
|
74
|
+
clusterUuid?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* A description about what this cluster agent token is used for.
|
|
77
|
+
*/
|
|
78
|
+
description?: pulumi.Input<string>;
|
|
79
|
+
token?: pulumi.Input<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The UUID of the created cluster queue.
|
|
82
|
+
*/
|
|
83
|
+
uuid?: pulumi.Input<string>;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* The set of arguments for constructing a ClusterAgentToken resource.
|
|
87
|
+
*/
|
|
88
|
+
export interface ClusterAgentTokenArgs {
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
91
|
+
*/
|
|
92
|
+
clusterId: pulumi.Input<string>;
|
|
93
|
+
/**
|
|
94
|
+
* A description about what this cluster agent token is used for.
|
|
95
|
+
*/
|
|
96
|
+
description: pulumi.Input<string>;
|
|
97
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
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.ClusterAgentToken = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## # Resource: clusterAgentToken
|
|
10
|
+
*
|
|
11
|
+
* This resource allows you to create and manage cluster agent tokens.
|
|
12
|
+
*
|
|
13
|
+
* Buildkite Documentation: https://buildkite.com/docs/clusters/manage-clusters#set-up-clusters-connect-agents-to-a-cluster
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
20
|
+
*
|
|
21
|
+
* const cluster_token_1 = new buildkite.cluster.ClusterAgentToken("cluster-token-1", {
|
|
22
|
+
* clusterId: "Q2x1c3Rlci0tLTkyMmVjOTA4LWRmNWItNDhhYS1hMThjLTczMzE0YjQ1ZGYyMA==",
|
|
23
|
+
* description: "agent token for cluster-1",
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
class ClusterAgentToken extends pulumi.CustomResource {
|
|
28
|
+
/**
|
|
29
|
+
* Get an existing ClusterAgentToken resource's state with the given name, ID, and optional extra
|
|
30
|
+
* properties used to qualify the lookup.
|
|
31
|
+
*
|
|
32
|
+
* @param name The _unique_ name of the resulting resource.
|
|
33
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
34
|
+
* @param state Any extra arguments used during the lookup.
|
|
35
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
|
+
*/
|
|
37
|
+
static get(name, id, state, opts) {
|
|
38
|
+
return new ClusterAgentToken(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of ClusterAgentToken. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj) {
|
|
45
|
+
if (obj === undefined || obj === null) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return obj['__pulumiType'] === ClusterAgentToken.__pulumiType;
|
|
49
|
+
}
|
|
50
|
+
constructor(name, argsOrState, opts) {
|
|
51
|
+
let resourceInputs = {};
|
|
52
|
+
opts = opts || {};
|
|
53
|
+
if (opts.id) {
|
|
54
|
+
const state = argsOrState;
|
|
55
|
+
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
56
|
+
resourceInputs["clusterUuid"] = state ? state.clusterUuid : undefined;
|
|
57
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
58
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
59
|
+
resourceInputs["uuid"] = state ? state.uuid : undefined;
|
|
60
|
+
}
|
|
61
|
+
else {
|
|
62
|
+
const args = argsOrState;
|
|
63
|
+
if ((!args || args.clusterId === undefined) && !opts.urn) {
|
|
64
|
+
throw new Error("Missing required property 'clusterId'");
|
|
65
|
+
}
|
|
66
|
+
if ((!args || args.description === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'description'");
|
|
68
|
+
}
|
|
69
|
+
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
70
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
71
|
+
resourceInputs["clusterUuid"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["token"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
76
|
+
const secretOpts = { additionalSecretOutputs: ["token"] };
|
|
77
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
78
|
+
super(ClusterAgentToken.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.ClusterAgentToken = ClusterAgentToken;
|
|
82
|
+
/** @internal */
|
|
83
|
+
ClusterAgentToken.__pulumiType = 'buildkite:Cluster/clusterAgentToken:ClusterAgentToken';
|
|
84
|
+
//# sourceMappingURL=clusterAgentToken.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clusterAgentToken.js","sourceRoot":"","sources":["../../cluster/clusterAgentToken.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IA4BD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,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,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAlFL,8CAmFC;AArEG,gBAAgB;AACO,8BAAY,GAAG,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## # Resource: clusterQueue
|
|
4
|
+
*
|
|
5
|
+
* This resource allows you to create and manage cluster queues.
|
|
6
|
+
*
|
|
7
|
+
* Buildkite Documentation: https://buildkite.com/docs/clusters/manage-clusters#set-up-clusters-create-a-queue
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
14
|
+
*
|
|
15
|
+
* const queue1 = new buildkite.cluster.ClusterQueue("queue1", {
|
|
16
|
+
* clusterId: "Q2x1c3Rlci0tLTMzMDc0ZDhiLTM4MjctNDRkNC05YTQ3LTkwN2E2NWZjODViNg==",
|
|
17
|
+
* description: "Prod deployment cluster queue",
|
|
18
|
+
* key: "prod-deploy",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
* ## Import
|
|
23
|
+
*
|
|
24
|
+
* Cluster queues can be imported using its `GraphQL ID`, along with its respective cluster `UUID`, separated by a comma. e.g.
|
|
25
|
+
*
|
|
26
|
+
* ```sh
|
|
27
|
+
* $ pulumi import buildkite:Cluster/clusterQueue:ClusterQueue test Q2x1c3RlclF1ZXVlLS0tYjJiOGRhNTEtOWY5My00Y2MyLTkyMjktMGRiNzg3ZDQzOTAz,35498aaf-ad05-4fa5-9a07-91bf6cacd2bd
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* To find the cluster's `UUID` to utilize, you can use the below GraphQL query below. Alternatively, you can use this [pre-saved query](https://buildkite.com/user/graphql/console/3adf0389-02bd-45ef-adcd-4e8e5ae57f25), where you will need fo fill in the organization slug (ORGANIZATION_SLUG) for obtaining the relevant cluster name/`UUID` that the cluster queue is in. graphql query getClusters {
|
|
31
|
+
*
|
|
32
|
+
* organization(slug"ORGANIZATION_SLUG") {
|
|
33
|
+
*
|
|
34
|
+
* clusters(first50) {
|
|
35
|
+
*
|
|
36
|
+
* edges{
|
|
37
|
+
*
|
|
38
|
+
* node{
|
|
39
|
+
*
|
|
40
|
+
* name
|
|
41
|
+
*
|
|
42
|
+
* uuid
|
|
43
|
+
*
|
|
44
|
+
* }
|
|
45
|
+
*
|
|
46
|
+
* }
|
|
47
|
+
*
|
|
48
|
+
* }
|
|
49
|
+
*
|
|
50
|
+
* } } After the cluster `UUID` has been found, you can use the below GraphQL query to find the cluster queue's `GraphQL ID`. Alternatively, this [pre-saved query](https://buildkite.com/user/graphql/console/1d913905-900e-40e7-8f46-651543487b5a) can be used, specifying the organization slug (ORGANIZATION_SLUG) and the cluster `UUID` from above (CLUSTER_UUID). graphql query getClusterQueues {
|
|
51
|
+
*
|
|
52
|
+
* organization(slug"ORGANIZATION_SLUG") {
|
|
53
|
+
*
|
|
54
|
+
* cluster(id"CLUSTER_UUID") {
|
|
55
|
+
*
|
|
56
|
+
* queues(first50) {
|
|
57
|
+
*
|
|
58
|
+
* edges {
|
|
59
|
+
*
|
|
60
|
+
* node {
|
|
61
|
+
*
|
|
62
|
+
* id
|
|
63
|
+
*
|
|
64
|
+
* key
|
|
65
|
+
*
|
|
66
|
+
* }
|
|
67
|
+
*
|
|
68
|
+
* }
|
|
69
|
+
*
|
|
70
|
+
* }
|
|
71
|
+
*
|
|
72
|
+
* }
|
|
73
|
+
*
|
|
74
|
+
* } }
|
|
75
|
+
*/
|
|
76
|
+
export declare class ClusterQueue extends pulumi.CustomResource {
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing ClusterQueue resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param state Any extra arguments used during the lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ClusterQueueState, opts?: pulumi.CustomResourceOptions): ClusterQueue;
|
|
87
|
+
/**
|
|
88
|
+
* Returns true if the given object is an instance of ClusterQueue. This is designed to work even
|
|
89
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
90
|
+
*/
|
|
91
|
+
static isInstance(obj: any): obj is ClusterQueue;
|
|
92
|
+
/**
|
|
93
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
94
|
+
*/
|
|
95
|
+
readonly clusterId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The UUID of the cluster that this cluster queue belongs to.
|
|
98
|
+
*/
|
|
99
|
+
readonly clusterUuid: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* The description of the cluster queue.
|
|
102
|
+
*/
|
|
103
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* The key of the cluster queue.
|
|
106
|
+
*/
|
|
107
|
+
readonly key: pulumi.Output<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The UUID of the created cluster queue.
|
|
110
|
+
*/
|
|
111
|
+
readonly uuid: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Create a ClusterQueue resource with the given unique name, arguments, and options.
|
|
114
|
+
*
|
|
115
|
+
* @param name The _unique_ name of the resource.
|
|
116
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
117
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
118
|
+
*/
|
|
119
|
+
constructor(name: string, args: ClusterQueueArgs, opts?: pulumi.CustomResourceOptions);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* Input properties used for looking up and filtering ClusterQueue resources.
|
|
123
|
+
*/
|
|
124
|
+
export interface ClusterQueueState {
|
|
125
|
+
/**
|
|
126
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
127
|
+
*/
|
|
128
|
+
clusterId?: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* The UUID of the cluster that this cluster queue belongs to.
|
|
131
|
+
*/
|
|
132
|
+
clusterUuid?: pulumi.Input<string>;
|
|
133
|
+
/**
|
|
134
|
+
* The description of the cluster queue.
|
|
135
|
+
*/
|
|
136
|
+
description?: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* The key of the cluster queue.
|
|
139
|
+
*/
|
|
140
|
+
key?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* The UUID of the created cluster queue.
|
|
143
|
+
*/
|
|
144
|
+
uuid?: pulumi.Input<string>;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The set of arguments for constructing a ClusterQueue resource.
|
|
148
|
+
*/
|
|
149
|
+
export interface ClusterQueueArgs {
|
|
150
|
+
/**
|
|
151
|
+
* The ID of the cluster that this cluster queue belongs to.
|
|
152
|
+
*/
|
|
153
|
+
clusterId: pulumi.Input<string>;
|
|
154
|
+
/**
|
|
155
|
+
* The description of the cluster queue.
|
|
156
|
+
*/
|
|
157
|
+
description?: pulumi.Input<string>;
|
|
158
|
+
/**
|
|
159
|
+
* The key of the cluster queue.
|
|
160
|
+
*/
|
|
161
|
+
key: pulumi.Input<string>;
|
|
162
|
+
}
|