@pulumiverse/buildkite 2.3.0 → 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.
- package/README.md +5 -0
- package/agent/agentToken.d.ts +11 -19
- package/agent/agentToken.js +4 -6
- package/agent/agentToken.js.map +1 -1
- package/cluster/cluster.d.ts +74 -20
- package/cluster/cluster.js +54 -6
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterAgentToken.d.ts +49 -15
- package/cluster/clusterAgentToken.js +26 -8
- package/cluster/clusterAgentToken.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +130 -0
- package/cluster/clusterDefaultQueue.js +121 -0
- package/cluster/clusterDefaultQueue.js.map +1 -0
- package/cluster/clusterQueue.d.ts +36 -44
- package/cluster/clusterQueue.js +29 -37
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/getCluster.d.ts +48 -5
- package/cluster/getCluster.js +40 -0
- package/cluster/getCluster.js.map +1 -1
- package/cluster/index.d.ts +3 -0
- package/cluster/index.js +6 -1
- package/cluster/index.js.map +1 -1
- package/config/vars.d.ts +11 -5
- package/config/vars.js +12 -0
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +49 -2
- package/getMeta.js +51 -1
- package/getMeta.js.map +1 -1
- package/index.d.ts +3 -1
- package/index.js +5 -2
- package/index.js.map +1 -1
- package/organization/banner.d.ts +104 -0
- package/organization/banner.js +102 -0
- package/organization/banner.js.map +1 -0
- package/organization/getOrganization.d.ts +10 -63
- package/organization/getOrganization.js +6 -47
- package/organization/getOrganization.js.map +1 -1
- package/organization/index.d.ts +7 -4
- package/organization/index.js +11 -6
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +94 -0
- package/organization/{settings.js → organization.js} +20 -20
- package/organization/organization.js.map +1 -0
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/pipeline/getPipeline.d.ts +21 -20
- package/pipeline/getPipeline.js +8 -14
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/getSignedSteps.d.ts +139 -0
- package/pipeline/getSignedSteps.js +91 -0
- package/pipeline/getSignedSteps.js.map +1 -0
- package/pipeline/getTemplate.d.ts +116 -0
- package/pipeline/getTemplate.js +79 -0
- package/pipeline/getTemplate.js.map +1 -0
- package/pipeline/index.d.ts +12 -0
- package/pipeline/index.js +17 -1
- package/pipeline/index.js.map +1 -1
- package/pipeline/pipeline.d.ts +117 -181
- package/pipeline/pipeline.js +15 -113
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +57 -45
- package/pipeline/schedule.js +22 -19
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +137 -0
- package/pipeline/team.js +121 -0
- package/pipeline/team.js.map +1 -0
- package/pipeline/template.d.ts +155 -0
- package/pipeline/template.js +123 -0
- package/pipeline/template.js.map +1 -0
- package/provider.d.ts +26 -8
- package/provider.js +2 -0
- package/provider.js.map +1 -1
- package/team/getTeam.d.ts +39 -30
- package/team/getTeam.js +16 -16
- package/team/getTeam.js.map +1 -1
- package/team/member.d.ts +31 -33
- package/team/member.js +20 -22
- package/team/member.js.map +1 -1
- package/team/team.d.ts +37 -37
- package/team/team.js +17 -17
- package/testsuite/index.d.ts +6 -0
- package/testsuite/index.js +27 -0
- package/testsuite/index.js.map +1 -0
- package/testsuite/team.d.ts +160 -0
- package/testsuite/team.js +144 -0
- package/testsuite/team.js.map +1 -0
- package/testsuite/testSuite.d.ts +112 -0
- package/testsuite/testSuite.js +83 -0
- package/testsuite/testSuite.js.map +1 -0
- package/types/input.d.ts +37 -22
- package/types/output.d.ts +37 -22
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/organization/settings.d.ts +0 -78
- package/organization/settings.js.map +0 -1
- package/scripts/install-pulumi-plugin.js +0 -26
|
@@ -0,0 +1,91 @@
|
|
|
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.getSignedStepsOutput = exports.getSignedSteps = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to sign pipeline steps with a JWKS key. You will need to have
|
|
10
|
+
* the corresponding verification key present on the agents that run this the steps in
|
|
11
|
+
* this pipeline. You can then use these steps in a `buildkite.Pipeline.Pipeline` resource.
|
|
12
|
+
*
|
|
13
|
+
* See [RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517) for more information
|
|
14
|
+
* about the JWKS format.
|
|
15
|
+
*
|
|
16
|
+
* See the Buildkite [documentation](https://buildkite.com/docs/agent/v3/signed_pipelines)
|
|
17
|
+
* for more info about signed pipelines.
|
|
18
|
+
*
|
|
19
|
+
* ## Example Usage
|
|
20
|
+
*
|
|
21
|
+
* ```typescript
|
|
22
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
23
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
24
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
25
|
+
*
|
|
26
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
27
|
+
* const my-steps = buildkite.Pipeline.getSignedSteps({
|
|
28
|
+
* repository: repository,
|
|
29
|
+
* jwksFile: "/path/to/my/jwks.json",
|
|
30
|
+
* jwksKeyId: "my-key",
|
|
31
|
+
* unsignedSteps: `steps:
|
|
32
|
+
* - label: ":pipeline:"
|
|
33
|
+
* command: buildkite-agent pipeline upload
|
|
34
|
+
* `,
|
|
35
|
+
* });
|
|
36
|
+
* const my_pipeline = new buildkite.pipeline.Pipeline("my-pipeline", {
|
|
37
|
+
* repository: repository,
|
|
38
|
+
* steps: my_steps.then(my_steps => my_steps.steps),
|
|
39
|
+
* });
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
function getSignedSteps(args, opts) {
|
|
43
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
44
|
+
return pulumi.runtime.invoke("buildkite:Pipeline/getSignedSteps:getSignedSteps", {
|
|
45
|
+
"jwks": args.jwks,
|
|
46
|
+
"jwksFile": args.jwksFile,
|
|
47
|
+
"jwksKeyId": args.jwksKeyId,
|
|
48
|
+
"repository": args.repository,
|
|
49
|
+
"unsignedSteps": args.unsignedSteps,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getSignedSteps = getSignedSteps;
|
|
53
|
+
/**
|
|
54
|
+
* Use this data source to sign pipeline steps with a JWKS key. You will need to have
|
|
55
|
+
* the corresponding verification key present on the agents that run this the steps in
|
|
56
|
+
* this pipeline. You can then use these steps in a `buildkite.Pipeline.Pipeline` resource.
|
|
57
|
+
*
|
|
58
|
+
* See [RFC 7517](https://datatracker.ietf.org/doc/html/rfc7517) for more information
|
|
59
|
+
* about the JWKS format.
|
|
60
|
+
*
|
|
61
|
+
* See the Buildkite [documentation](https://buildkite.com/docs/agent/v3/signed_pipelines)
|
|
62
|
+
* for more info about signed pipelines.
|
|
63
|
+
*
|
|
64
|
+
* ## Example Usage
|
|
65
|
+
*
|
|
66
|
+
* ```typescript
|
|
67
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
68
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
69
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
70
|
+
*
|
|
71
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
72
|
+
* const my-steps = buildkite.Pipeline.getSignedSteps({
|
|
73
|
+
* repository: repository,
|
|
74
|
+
* jwksFile: "/path/to/my/jwks.json",
|
|
75
|
+
* jwksKeyId: "my-key",
|
|
76
|
+
* unsignedSteps: `steps:
|
|
77
|
+
* - label: ":pipeline:"
|
|
78
|
+
* command: buildkite-agent pipeline upload
|
|
79
|
+
* `,
|
|
80
|
+
* });
|
|
81
|
+
* const my_pipeline = new buildkite.pipeline.Pipeline("my-pipeline", {
|
|
82
|
+
* repository: repository,
|
|
83
|
+
* steps: my_steps.then(my_steps => my_steps.steps),
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
function getSignedStepsOutput(args, opts) {
|
|
88
|
+
return pulumi.output(args).apply((a) => getSignedSteps(a, opts));
|
|
89
|
+
}
|
|
90
|
+
exports.getSignedStepsOutput = getSignedStepsOutput;
|
|
91
|
+
//# sourceMappingURL=getSignedSteps.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSignedSteps.js","sourceRoot":"","sources":["../../pipeline/getSignedSteps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wCAUC;AAkDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
4
|
+
*
|
|
5
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
12
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
13
|
+
*
|
|
14
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
15
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
16
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
17
|
+
* });
|
|
18
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
19
|
+
* name: "Frontend app template",
|
|
20
|
+
* });
|
|
21
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
22
|
+
* repository: repository,
|
|
23
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
24
|
+
* });
|
|
25
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
26
|
+
* repository: repository,
|
|
27
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
export declare function getTemplate(args?: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplateResult>;
|
|
32
|
+
/**
|
|
33
|
+
* A collection of arguments for invoking getTemplate.
|
|
34
|
+
*/
|
|
35
|
+
export interface GetTemplateArgs {
|
|
36
|
+
/**
|
|
37
|
+
* The GraphQL ID of the pipeline template.
|
|
38
|
+
*/
|
|
39
|
+
id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the pipeline template.
|
|
42
|
+
*/
|
|
43
|
+
name?: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* A collection of values returned by getTemplate.
|
|
47
|
+
*/
|
|
48
|
+
export interface GetTemplateResult {
|
|
49
|
+
/**
|
|
50
|
+
* If the pipeline template is available for assignment by non admin users.
|
|
51
|
+
*/
|
|
52
|
+
readonly available: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* The YAML step configuration for the pipeline template.
|
|
55
|
+
*/
|
|
56
|
+
readonly configuration: string;
|
|
57
|
+
/**
|
|
58
|
+
* The description for the pipeline template.
|
|
59
|
+
*/
|
|
60
|
+
readonly description: string;
|
|
61
|
+
/**
|
|
62
|
+
* The GraphQL ID of the pipeline template.
|
|
63
|
+
*/
|
|
64
|
+
readonly id: string;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the pipeline template.
|
|
67
|
+
*/
|
|
68
|
+
readonly name: string;
|
|
69
|
+
/**
|
|
70
|
+
* The UUID of the pipeline template.
|
|
71
|
+
*/
|
|
72
|
+
readonly uuid: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
76
|
+
*
|
|
77
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
78
|
+
*
|
|
79
|
+
* ## Example Usage
|
|
80
|
+
*
|
|
81
|
+
* ```typescript
|
|
82
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
83
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
84
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
85
|
+
*
|
|
86
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
87
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
88
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
89
|
+
* });
|
|
90
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
91
|
+
* name: "Frontend app template",
|
|
92
|
+
* });
|
|
93
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
94
|
+
* repository: repository,
|
|
95
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
96
|
+
* });
|
|
97
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
98
|
+
* repository: repository,
|
|
99
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
103
|
+
export declare function getTemplateOutput(args?: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTemplateResult>;
|
|
104
|
+
/**
|
|
105
|
+
* A collection of arguments for invoking getTemplate.
|
|
106
|
+
*/
|
|
107
|
+
export interface GetTemplateOutputArgs {
|
|
108
|
+
/**
|
|
109
|
+
* The GraphQL ID of the pipeline template.
|
|
110
|
+
*/
|
|
111
|
+
id?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* The name of the pipeline template.
|
|
114
|
+
*/
|
|
115
|
+
name?: pulumi.Input<string>;
|
|
116
|
+
}
|
|
@@ -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.getTemplateOutput = exports.getTemplate = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
10
|
+
*
|
|
11
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
18
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
19
|
+
*
|
|
20
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
21
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
22
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
23
|
+
* });
|
|
24
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
25
|
+
* name: "Frontend app template",
|
|
26
|
+
* });
|
|
27
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
28
|
+
* repository: repository,
|
|
29
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
30
|
+
* });
|
|
31
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
32
|
+
* repository: repository,
|
|
33
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
34
|
+
* });
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
function getTemplate(args, opts) {
|
|
38
|
+
args = args || {};
|
|
39
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
40
|
+
return pulumi.runtime.invoke("buildkite:Pipeline/getTemplate:getTemplate", {
|
|
41
|
+
"id": args.id,
|
|
42
|
+
"name": args.name,
|
|
43
|
+
}, opts);
|
|
44
|
+
}
|
|
45
|
+
exports.getTemplate = getTemplate;
|
|
46
|
+
/**
|
|
47
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
48
|
+
*
|
|
49
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
50
|
+
*
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
56
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
57
|
+
*
|
|
58
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
59
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
60
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
61
|
+
* });
|
|
62
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
63
|
+
* name: "Frontend app template",
|
|
64
|
+
* });
|
|
65
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
66
|
+
* repository: repository,
|
|
67
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
68
|
+
* });
|
|
69
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
70
|
+
* repository: repository,
|
|
71
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
72
|
+
* });
|
|
73
|
+
* ```
|
|
74
|
+
*/
|
|
75
|
+
function getTemplateOutput(args, opts) {
|
|
76
|
+
return pulumi.output(args).apply((a) => getTemplate(a, opts));
|
|
77
|
+
}
|
|
78
|
+
exports.getTemplateOutput = getTemplateOutput;
|
|
79
|
+
//# sourceMappingURL=getTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getTemplate.js","sourceRoot":"","sources":["../../pipeline/getTemplate.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kCAQC;AA6CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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"}
|
package/pipeline/index.d.ts
CHANGED
|
@@ -1,9 +1,21 @@
|
|
|
1
1
|
export { GetPipelineArgs, GetPipelineResult, GetPipelineOutputArgs } from "./getPipeline";
|
|
2
2
|
export declare const getPipeline: typeof import("./getPipeline").getPipeline;
|
|
3
3
|
export declare const getPipelineOutput: typeof import("./getPipeline").getPipelineOutput;
|
|
4
|
+
export { GetSignedStepsArgs, GetSignedStepsResult, GetSignedStepsOutputArgs } from "./getSignedSteps";
|
|
5
|
+
export declare const getSignedSteps: typeof import("./getSignedSteps").getSignedSteps;
|
|
6
|
+
export declare const getSignedStepsOutput: typeof import("./getSignedSteps").getSignedStepsOutput;
|
|
7
|
+
export { GetTemplateArgs, GetTemplateResult, GetTemplateOutputArgs } from "./getTemplate";
|
|
8
|
+
export declare const getTemplate: typeof import("./getTemplate").getTemplate;
|
|
9
|
+
export declare const getTemplateOutput: typeof import("./getTemplate").getTemplateOutput;
|
|
4
10
|
export { PipelineArgs, PipelineState } from "./pipeline";
|
|
5
11
|
export type Pipeline = import("./pipeline").Pipeline;
|
|
6
12
|
export declare const Pipeline: typeof import("./pipeline").Pipeline;
|
|
7
13
|
export { ScheduleArgs, ScheduleState } from "./schedule";
|
|
8
14
|
export type Schedule = import("./schedule").Schedule;
|
|
9
15
|
export declare const Schedule: typeof import("./schedule").Schedule;
|
|
16
|
+
export { TeamArgs, TeamState } from "./team";
|
|
17
|
+
export type Team = import("./team").Team;
|
|
18
|
+
export declare const Team: typeof import("./team").Team;
|
|
19
|
+
export { TemplateArgs, TemplateState } from "./template";
|
|
20
|
+
export type Template = import("./template").Template;
|
|
21
|
+
export declare const Template: typeof import("./template").Template;
|
package/pipeline/index.js
CHANGED
|
@@ -2,16 +2,26 @@
|
|
|
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.Template = exports.Team = exports.Schedule = exports.Pipeline = exports.getTemplateOutput = exports.getTemplate = exports.getSignedStepsOutput = exports.getSignedSteps = exports.getPipelineOutput = exports.getPipeline = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.getPipeline = null;
|
|
9
9
|
exports.getPipelineOutput = null;
|
|
10
10
|
utilities.lazyLoad(exports, ["getPipeline", "getPipelineOutput"], () => require("./getPipeline"));
|
|
11
|
+
exports.getSignedSteps = null;
|
|
12
|
+
exports.getSignedStepsOutput = null;
|
|
13
|
+
utilities.lazyLoad(exports, ["getSignedSteps", "getSignedStepsOutput"], () => require("./getSignedSteps"));
|
|
14
|
+
exports.getTemplate = null;
|
|
15
|
+
exports.getTemplateOutput = null;
|
|
16
|
+
utilities.lazyLoad(exports, ["getTemplate", "getTemplateOutput"], () => require("./getTemplate"));
|
|
11
17
|
exports.Pipeline = null;
|
|
12
18
|
utilities.lazyLoad(exports, ["Pipeline"], () => require("./pipeline"));
|
|
13
19
|
exports.Schedule = null;
|
|
14
20
|
utilities.lazyLoad(exports, ["Schedule"], () => require("./schedule"));
|
|
21
|
+
exports.Team = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["Team"], () => require("./team"));
|
|
23
|
+
exports.Template = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["Template"], () => require("./template"));
|
|
15
25
|
const _module = {
|
|
16
26
|
version: utilities.getVersion(),
|
|
17
27
|
construct: (name, type, urn) => {
|
|
@@ -20,6 +30,10 @@ const _module = {
|
|
|
20
30
|
return new exports.Pipeline(name, undefined, { urn });
|
|
21
31
|
case "buildkite:Pipeline/schedule:Schedule":
|
|
22
32
|
return new exports.Schedule(name, undefined, { urn });
|
|
33
|
+
case "buildkite:Pipeline/team:Team":
|
|
34
|
+
return new exports.Team(name, undefined, { urn });
|
|
35
|
+
case "buildkite:Pipeline/template:Template":
|
|
36
|
+
return new exports.Template(name, undefined, { urn });
|
|
23
37
|
default:
|
|
24
38
|
throw new Error(`unknown resource type ${type}`);
|
|
25
39
|
}
|
|
@@ -27,4 +41,6 @@ const _module = {
|
|
|
27
41
|
};
|
|
28
42
|
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/pipeline", _module);
|
|
29
43
|
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/schedule", _module);
|
|
44
|
+
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/team", _module);
|
|
45
|
+
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/template", _module);
|
|
30
46
|
//# sourceMappingURL=index.js.map
|
package/pipeline/index.js.map
CHANGED
|
@@ -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,C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