@pulumiverse/buildkite 2.3.1 → 3.0.2
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 +13 -19
- package/agent/agentToken.js +6 -6
- package/agent/agentToken.js.map +1 -1
- package/cluster/cluster.d.ts +76 -20
- package/cluster/cluster.js +56 -6
- package/cluster/cluster.js.map +1 -1
- package/cluster/clusterAgentToken.d.ts +51 -15
- package/cluster/clusterAgentToken.js +28 -8
- package/cluster/clusterAgentToken.js.map +1 -1
- package/cluster/clusterDefaultQueue.d.ts +132 -0
- package/cluster/clusterDefaultQueue.js +123 -0
- package/cluster/clusterDefaultQueue.js.map +1 -0
- package/cluster/clusterQueue.d.ts +44 -50
- package/cluster/clusterQueue.js +37 -43
- package/cluster/clusterQueue.js.map +1 -1
- package/cluster/getCluster.d.ts +52 -5
- package/cluster/getCluster.js +44 -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 +9 -7
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/getMeta.d.ts +55 -1
- package/getMeta.js +55 -1
- package/getMeta.js.map +1 -1
- package/index.d.ts +1 -0
- package/index.js +3 -2
- package/index.js.map +1 -1
- package/organization/banner.d.ts +106 -0
- package/organization/banner.js +104 -0
- package/organization/banner.js.map +1 -0
- package/organization/getOrganization.d.ts +12 -21
- package/organization/getOrganization.js +9 -21
- package/organization/getOrganization.js.map +1 -1
- package/organization/index.d.ts +4 -3
- package/organization/index.js +8 -7
- package/organization/index.js.map +1 -1
- package/organization/organization.d.ts +31 -13
- package/organization/organization.js +12 -10
- package/organization/organization.js.map +1 -1
- package/package.json +2 -3
- package/package.json.bak +1 -2
- package/pipeline/getPipeline.d.ts +26 -18
- package/pipeline/getPipeline.js +12 -14
- package/pipeline/getPipeline.js.map +1 -1
- package/pipeline/getSignedSteps.d.ts +143 -0
- package/pipeline/getSignedSteps.js +95 -0
- package/pipeline/getSignedSteps.js.map +1 -0
- package/pipeline/getTemplate.d.ts +120 -0
- package/pipeline/getTemplate.js +83 -0
- package/pipeline/getTemplate.js.map +1 -0
- package/pipeline/index.d.ts +9 -0
- package/pipeline/index.js +12 -1
- package/pipeline/index.js.map +1 -1
- package/pipeline/pipeline.d.ts +116 -101
- package/pipeline/pipeline.js +18 -16
- package/pipeline/pipeline.js.map +1 -1
- package/pipeline/schedule.d.ts +64 -53
- package/pipeline/schedule.js +38 -27
- package/pipeline/schedule.js.map +1 -1
- package/pipeline/team.d.ts +42 -31
- package/pipeline/team.js +34 -23
- package/pipeline/team.js.map +1 -1
- package/pipeline/template.d.ts +157 -0
- package/pipeline/template.js +125 -0
- package/pipeline/template.js.map +1 -0
- package/provider.d.ts +23 -9
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/team/getTeam.d.ts +33 -34
- package/team/getTeam.js +18 -16
- package/team/getTeam.js.map +1 -1
- package/team/member.d.ts +44 -44
- package/team/member.js +33 -33
- package/team/team.d.ts +45 -43
- package/team/team.js +26 -24
- package/team/team.js.map +1 -1
- package/testsuite/team.d.ts +48 -52
- package/testsuite/team.js +43 -47
- package/testsuite/team.js.map +1 -1
- package/testsuite/testSuite.d.ts +21 -27
- package/testsuite/testSuite.js +6 -12
- package/testsuite/testSuite.js.map +1 -1
- package/types/input.d.ts +37 -21
- package/types/output.d.ts +34 -18
- package/utilities.d.ts +4 -0
- package/utilities.js +33 -1
- package/utilities.js.map +1 -1
- package/organization/settings.d.ts +0 -80
- package/organization/settings.js +0 -81
- package/organization/settings.js.map +0 -1
- package/scripts/install-pulumi-plugin.js +0 -26
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;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,120 @@
|
|
|
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
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
|
+
* ```typescript
|
|
11
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
13
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
14
|
+
*
|
|
15
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
16
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
17
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
18
|
+
* });
|
|
19
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
20
|
+
* name: "Frontend app template",
|
|
21
|
+
* });
|
|
22
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
23
|
+
* repository: repository,
|
|
24
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
25
|
+
* });
|
|
26
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
27
|
+
* repository: repository,
|
|
28
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
29
|
+
* });
|
|
30
|
+
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
32
|
+
*/
|
|
33
|
+
export declare function getTemplate(args?: GetTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetTemplateResult>;
|
|
34
|
+
/**
|
|
35
|
+
* A collection of arguments for invoking getTemplate.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetTemplateArgs {
|
|
38
|
+
/**
|
|
39
|
+
* The GraphQL ID of the pipeline template.
|
|
40
|
+
*/
|
|
41
|
+
id?: string;
|
|
42
|
+
/**
|
|
43
|
+
* The name of the pipeline template.
|
|
44
|
+
*/
|
|
45
|
+
name?: string;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* A collection of values returned by getTemplate.
|
|
49
|
+
*/
|
|
50
|
+
export interface GetTemplateResult {
|
|
51
|
+
/**
|
|
52
|
+
* If the pipeline template is available for assignment by non admin users.
|
|
53
|
+
*/
|
|
54
|
+
readonly available: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The YAML step configuration for the pipeline template.
|
|
57
|
+
*/
|
|
58
|
+
readonly configuration: string;
|
|
59
|
+
/**
|
|
60
|
+
* The description for the pipeline template.
|
|
61
|
+
*/
|
|
62
|
+
readonly description: string;
|
|
63
|
+
/**
|
|
64
|
+
* The GraphQL ID of the pipeline template.
|
|
65
|
+
*/
|
|
66
|
+
readonly id: string;
|
|
67
|
+
/**
|
|
68
|
+
* The name of the pipeline template.
|
|
69
|
+
*/
|
|
70
|
+
readonly name: string;
|
|
71
|
+
/**
|
|
72
|
+
* The UUID of the pipeline template.
|
|
73
|
+
*/
|
|
74
|
+
readonly uuid: string;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
78
|
+
*
|
|
79
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
80
|
+
*
|
|
81
|
+
* ## Example Usage
|
|
82
|
+
*
|
|
83
|
+
* <!--Start PulumiCodeChooser -->
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
87
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
88
|
+
*
|
|
89
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
90
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
91
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
92
|
+
* });
|
|
93
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
94
|
+
* name: "Frontend app template",
|
|
95
|
+
* });
|
|
96
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
97
|
+
* repository: repository,
|
|
98
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
99
|
+
* });
|
|
100
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
101
|
+
* repository: repository,
|
|
102
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
103
|
+
* });
|
|
104
|
+
* ```
|
|
105
|
+
* <!--End PulumiCodeChooser -->
|
|
106
|
+
*/
|
|
107
|
+
export declare function getTemplateOutput(args?: GetTemplateOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTemplateResult>;
|
|
108
|
+
/**
|
|
109
|
+
* A collection of arguments for invoking getTemplate.
|
|
110
|
+
*/
|
|
111
|
+
export interface GetTemplateOutputArgs {
|
|
112
|
+
/**
|
|
113
|
+
* The GraphQL ID of the pipeline template.
|
|
114
|
+
*/
|
|
115
|
+
id?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* The name of the pipeline template.
|
|
118
|
+
*/
|
|
119
|
+
name?: pulumi.Input<string>;
|
|
120
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
19
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
20
|
+
*
|
|
21
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
22
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
23
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
24
|
+
* });
|
|
25
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
26
|
+
* name: "Frontend app template",
|
|
27
|
+
* });
|
|
28
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
29
|
+
* repository: repository,
|
|
30
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
31
|
+
* });
|
|
32
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
33
|
+
* repository: repository,
|
|
34
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
35
|
+
* });
|
|
36
|
+
* ```
|
|
37
|
+
* <!--End PulumiCodeChooser -->
|
|
38
|
+
*/
|
|
39
|
+
function getTemplate(args, opts) {
|
|
40
|
+
args = args || {};
|
|
41
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
42
|
+
return pulumi.runtime.invoke("buildkite:Pipeline/getTemplate:getTemplate", {
|
|
43
|
+
"id": args.id,
|
|
44
|
+
"name": args.name,
|
|
45
|
+
}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getTemplate = getTemplate;
|
|
48
|
+
/**
|
|
49
|
+
* Use this data source to retrieve a pipeline template by its ID or name.
|
|
50
|
+
*
|
|
51
|
+
* More information on pipeline templates can be found in the [documentation](https://buildkite.com/docs/pipelines/templates).
|
|
52
|
+
*
|
|
53
|
+
* ## Example Usage
|
|
54
|
+
*
|
|
55
|
+
* <!--Start PulumiCodeChooser -->
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as buildkite from "@pulumi/buildkite";
|
|
59
|
+
* import * as buildkite from "@pulumiverse/buildkite";
|
|
60
|
+
*
|
|
61
|
+
* const repository = "git@github.com:my-org/my-repo.git";
|
|
62
|
+
* const devTemplate = buildkite.Pipeline.getTemplate({
|
|
63
|
+
* id: buildkite_pipeline_template.template_dev.id,
|
|
64
|
+
* });
|
|
65
|
+
* const frontendTemplate = buildkite.Pipeline.getTemplate({
|
|
66
|
+
* name: "Frontend app template",
|
|
67
|
+
* });
|
|
68
|
+
* const apiv2Dev = new buildkite.pipeline.Pipeline("apiv2Dev", {
|
|
69
|
+
* repository: repository,
|
|
70
|
+
* pipelineTemplateId: devTemplate.then(devTemplate => devTemplate.id),
|
|
71
|
+
* });
|
|
72
|
+
* const frontend = new buildkite.pipeline.Pipeline("frontend", {
|
|
73
|
+
* repository: repository,
|
|
74
|
+
* pipelineTemplateId: frontendTemplate.then(frontendTemplate => frontendTemplate.id),
|
|
75
|
+
* });
|
|
76
|
+
* ```
|
|
77
|
+
* <!--End PulumiCodeChooser -->
|
|
78
|
+
*/
|
|
79
|
+
function getTemplateOutput(args, opts) {
|
|
80
|
+
return pulumi.output(args).apply((a) => getTemplate(a, opts));
|
|
81
|
+
}
|
|
82
|
+
exports.getTemplateOutput = getTemplateOutput;
|
|
83
|
+
//# 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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;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,6 +1,12 @@
|
|
|
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;
|
|
@@ -10,3 +16,6 @@ export declare const Schedule: typeof import("./schedule").Schedule;
|
|
|
10
16
|
export { TeamArgs, TeamState } from "./team";
|
|
11
17
|
export type Team = import("./team").Team;
|
|
12
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,18 +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.Team = 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"));
|
|
15
21
|
exports.Team = null;
|
|
16
22
|
utilities.lazyLoad(exports, ["Team"], () => require("./team"));
|
|
23
|
+
exports.Template = null;
|
|
24
|
+
utilities.lazyLoad(exports, ["Template"], () => require("./template"));
|
|
17
25
|
const _module = {
|
|
18
26
|
version: utilities.getVersion(),
|
|
19
27
|
construct: (name, type, urn) => {
|
|
@@ -24,6 +32,8 @@ const _module = {
|
|
|
24
32
|
return new exports.Schedule(name, undefined, { urn });
|
|
25
33
|
case "buildkite:Pipeline/team:Team":
|
|
26
34
|
return new exports.Team(name, undefined, { urn });
|
|
35
|
+
case "buildkite:Pipeline/template:Template":
|
|
36
|
+
return new exports.Template(name, undefined, { urn });
|
|
27
37
|
default:
|
|
28
38
|
throw new Error(`unknown resource type ${type}`);
|
|
29
39
|
}
|
|
@@ -32,4 +42,5 @@ const _module = {
|
|
|
32
42
|
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/pipeline", _module);
|
|
33
43
|
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/schedule", _module);
|
|
34
44
|
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/team", _module);
|
|
45
|
+
pulumi.runtime.registerResourceModule("buildkite", "Pipeline/template", _module);
|
|
35
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,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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