@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
package/pipeline/pipeline.js
CHANGED
|
@@ -6,121 +6,19 @@ exports.Pipeline = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ## # Resource: pipeline
|
|
10
|
-
*
|
|
11
9
|
* This resource allows you to create and manage pipelines for repositories.
|
|
12
10
|
*
|
|
13
|
-
*
|
|
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 Archive On Delete
|
|
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
|
-
* const testNew = new buildkite.pipeline.Pipeline("testNew", {
|
|
74
|
-
* repository: "https://github.com/buildkite/terraform-provider-buildkite.git",
|
|
75
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
76
|
-
* archiveOnDelete: true,
|
|
77
|
-
* });
|
|
78
|
-
* ```
|
|
79
|
-
*
|
|
80
|
-
* `archiveOnDelete` will archive the **pipeline** when `destroy` is called. Attached resources, such as `schedules` will still be destroyed. In order to delete the pipeline, `archiveOnDelete` must be set to `false` in the configuration, then `destroy` must be called again.
|
|
81
|
-
* ### With GitHub Provider Settings
|
|
82
|
-
*
|
|
83
|
-
* ```typescript
|
|
84
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
85
|
-
* import * as buildkite from "@pulumiverse/buildkite";
|
|
86
|
-
* import * as fs from "fs";
|
|
87
|
-
*
|
|
88
|
-
* // Pipeline that should not be triggered from a GitHub webhook
|
|
89
|
-
* const repo2_deploy = new buildkite.pipeline.Pipeline("repo2-deploy", {
|
|
90
|
-
* repository: "git@github.com:org/repo2",
|
|
91
|
-
* steps: fs.readFileSync("./deploy-steps.yml"),
|
|
92
|
-
* providerSettings: {
|
|
93
|
-
* triggerMode: "none",
|
|
94
|
-
* },
|
|
95
|
-
* });
|
|
96
|
-
* // Release pipeline (triggered only when tags are pushed)
|
|
97
|
-
* const repo2_release = new buildkite.pipeline.Pipeline("repo2-release", {
|
|
98
|
-
* repository: "git@github.com:org/repo2",
|
|
99
|
-
* steps: fs.readFileSync("./release-steps.yml"),
|
|
100
|
-
* providerSettings: {
|
|
101
|
-
* buildBranches: false,
|
|
102
|
-
* buildTags: true,
|
|
103
|
-
* buildPullRequests: false,
|
|
104
|
-
* triggerMode: "code",
|
|
105
|
-
* },
|
|
106
|
-
* });
|
|
107
|
-
* ```
|
|
11
|
+
* More information on pipelines can be found in the [documentation](https://buildkite.com/docs/pipelines).
|
|
108
12
|
*
|
|
109
13
|
* ## Import
|
|
110
14
|
*
|
|
111
|
-
*
|
|
15
|
+
* import a pipeline resource using the pipelines GraphQL ID
|
|
16
|
+
*
|
|
17
|
+
* GraphQL ID for a pipeline can be found on its settings page
|
|
112
18
|
*
|
|
113
19
|
* ```sh
|
|
114
|
-
*
|
|
20
|
+
* $ pulumi import buildkite:Pipeline/pipeline:Pipeline pipeline UGlwZWxpbmUtLS00MzVjYWQ1OC1lODFkLTQ1YWYtODYzNy1iMWNmODA3MDIzOGQ=
|
|
115
21
|
* ```
|
|
116
|
-
*
|
|
117
|
-
* 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 {
|
|
118
|
-
*
|
|
119
|
-
* pipeline(slug"ORGANIZATION_SLUG/PIPELINE_SLUG") {
|
|
120
|
-
*
|
|
121
|
-
* id
|
|
122
|
-
*
|
|
123
|
-
* } }
|
|
124
22
|
*/
|
|
125
23
|
class Pipeline extends pulumi.CustomResource {
|
|
126
24
|
/**
|
|
@@ -151,18 +49,20 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
151
49
|
if (opts.id) {
|
|
152
50
|
const state = argsOrState;
|
|
153
51
|
resourceInputs["allowRebuilds"] = state ? state.allowRebuilds : undefined;
|
|
154
|
-
resourceInputs["archiveOnDelete"] = state ? state.archiveOnDelete : undefined;
|
|
155
52
|
resourceInputs["badgeUrl"] = state ? state.badgeUrl : undefined;
|
|
156
53
|
resourceInputs["branchConfiguration"] = state ? state.branchConfiguration : undefined;
|
|
157
54
|
resourceInputs["cancelIntermediateBuilds"] = state ? state.cancelIntermediateBuilds : undefined;
|
|
158
55
|
resourceInputs["cancelIntermediateBuildsBranchFilter"] = state ? state.cancelIntermediateBuildsBranchFilter : undefined;
|
|
159
56
|
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
57
|
+
resourceInputs["color"] = state ? state.color : undefined;
|
|
160
58
|
resourceInputs["defaultBranch"] = state ? state.defaultBranch : undefined;
|
|
59
|
+
resourceInputs["defaultTeamId"] = state ? state.defaultTeamId : undefined;
|
|
161
60
|
resourceInputs["defaultTimeoutInMinutes"] = state ? state.defaultTimeoutInMinutes : undefined;
|
|
162
|
-
resourceInputs["deletionProtection"] = state ? state.deletionProtection : undefined;
|
|
163
61
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
62
|
+
resourceInputs["emoji"] = state ? state.emoji : undefined;
|
|
164
63
|
resourceInputs["maximumTimeoutInMinutes"] = state ? state.maximumTimeoutInMinutes : undefined;
|
|
165
64
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
65
|
+
resourceInputs["pipelineTemplateId"] = state ? state.pipelineTemplateId : undefined;
|
|
166
66
|
resourceInputs["providerSettings"] = state ? state.providerSettings : undefined;
|
|
167
67
|
resourceInputs["repository"] = state ? state.repository : undefined;
|
|
168
68
|
resourceInputs["skipIntermediateBuilds"] = state ? state.skipIntermediateBuilds : undefined;
|
|
@@ -170,7 +70,7 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
170
70
|
resourceInputs["slug"] = state ? state.slug : undefined;
|
|
171
71
|
resourceInputs["steps"] = state ? state.steps : undefined;
|
|
172
72
|
resourceInputs["tags"] = state ? state.tags : undefined;
|
|
173
|
-
resourceInputs["
|
|
73
|
+
resourceInputs["uuid"] = state ? state.uuid : undefined;
|
|
174
74
|
resourceInputs["webhookUrl"] = state ? state.webhookUrl : undefined;
|
|
175
75
|
}
|
|
176
76
|
else {
|
|
@@ -179,26 +79,28 @@ class Pipeline extends pulumi.CustomResource {
|
|
|
179
79
|
throw new Error("Missing required property 'repository'");
|
|
180
80
|
}
|
|
181
81
|
resourceInputs["allowRebuilds"] = args ? args.allowRebuilds : undefined;
|
|
182
|
-
resourceInputs["archiveOnDelete"] = args ? args.archiveOnDelete : undefined;
|
|
183
82
|
resourceInputs["branchConfiguration"] = args ? args.branchConfiguration : undefined;
|
|
184
83
|
resourceInputs["cancelIntermediateBuilds"] = args ? args.cancelIntermediateBuilds : undefined;
|
|
185
84
|
resourceInputs["cancelIntermediateBuildsBranchFilter"] = args ? args.cancelIntermediateBuildsBranchFilter : undefined;
|
|
186
85
|
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
86
|
+
resourceInputs["color"] = args ? args.color : undefined;
|
|
187
87
|
resourceInputs["defaultBranch"] = args ? args.defaultBranch : undefined;
|
|
88
|
+
resourceInputs["defaultTeamId"] = args ? args.defaultTeamId : undefined;
|
|
188
89
|
resourceInputs["defaultTimeoutInMinutes"] = args ? args.defaultTimeoutInMinutes : undefined;
|
|
189
|
-
resourceInputs["deletionProtection"] = args ? args.deletionProtection : undefined;
|
|
190
90
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
91
|
+
resourceInputs["emoji"] = args ? args.emoji : undefined;
|
|
191
92
|
resourceInputs["maximumTimeoutInMinutes"] = args ? args.maximumTimeoutInMinutes : undefined;
|
|
192
93
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
94
|
+
resourceInputs["pipelineTemplateId"] = args ? args.pipelineTemplateId : undefined;
|
|
193
95
|
resourceInputs["providerSettings"] = args ? args.providerSettings : undefined;
|
|
194
96
|
resourceInputs["repository"] = args ? args.repository : undefined;
|
|
195
97
|
resourceInputs["skipIntermediateBuilds"] = args ? args.skipIntermediateBuilds : undefined;
|
|
196
98
|
resourceInputs["skipIntermediateBuildsBranchFilter"] = args ? args.skipIntermediateBuildsBranchFilter : undefined;
|
|
197
99
|
resourceInputs["steps"] = args ? args.steps : undefined;
|
|
198
100
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
199
|
-
resourceInputs["teams"] = args ? args.teams : undefined;
|
|
200
101
|
resourceInputs["badgeUrl"] = undefined /*out*/;
|
|
201
102
|
resourceInputs["slug"] = undefined /*out*/;
|
|
103
|
+
resourceInputs["uuid"] = undefined /*out*/;
|
|
202
104
|
resourceInputs["webhookUrl"] = undefined /*out*/;
|
|
203
105
|
}
|
|
204
106
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/pipeline/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../pipeline/pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../../pipeline/pipeline.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAE1C;;;;;;;;;;;;;;GAcG;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,IAA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/**
|
|
3
|
-
*
|
|
3
|
+
* A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
|
|
5
|
+
* You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
|
|
8
6
|
*
|
|
9
7
|
* ## Example Usage
|
|
10
8
|
*
|
|
@@ -12,29 +10,30 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
12
10
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
11
|
* import * as buildkite from "@pulumiverse/buildkite";
|
|
14
12
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
13
|
+
* // create a pipeline
|
|
14
|
+
* const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
|
|
15
|
+
* // schedule a build at midnight every day
|
|
16
|
+
* const nightly = new buildkite.pipeline.Schedule("nightly", {
|
|
17
|
+
* pipelineId: buildkite_pipeline.repo.id,
|
|
17
18
|
* label: "Nightly build",
|
|
18
19
|
* cronline: "@midnight",
|
|
19
|
-
* branch: buildkite_pipeline.
|
|
20
|
+
* branch: buildkite_pipeline.repo.default_branch,
|
|
20
21
|
* });
|
|
21
22
|
* ```
|
|
22
23
|
*
|
|
23
24
|
* ## Import
|
|
24
25
|
*
|
|
25
|
-
*
|
|
26
|
+
* import a pipeline schedule resource using the schedules GraphQL ID
|
|
26
27
|
*
|
|
27
|
-
*
|
|
28
|
-
* $ pulumi import buildkite:Pipeline/schedule:Schedule test myorg/test/1be3e7c7-1e03-4011-accf-b2d8eec90222
|
|
29
|
-
* ```
|
|
28
|
+
* #
|
|
30
29
|
*
|
|
31
|
-
*
|
|
30
|
+
* you can use this query to find the schedule:
|
|
32
31
|
*
|
|
33
|
-
*
|
|
32
|
+
* query getPipelineScheduleId {
|
|
34
33
|
*
|
|
35
|
-
* organization(slug"ORGANIZATION_SLUG") {
|
|
34
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
36
35
|
*
|
|
37
|
-
* pipelines(
|
|
36
|
+
* pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
|
|
38
37
|
*
|
|
39
38
|
* edges{
|
|
40
39
|
*
|
|
@@ -46,11 +45,13 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
46
45
|
*
|
|
47
46
|
* edges{
|
|
48
47
|
*
|
|
49
|
-
*
|
|
48
|
+
* node{
|
|
49
|
+
*
|
|
50
|
+
* id
|
|
50
51
|
*
|
|
51
|
-
*
|
|
52
|
+
* }
|
|
52
53
|
*
|
|
53
|
-
*
|
|
54
|
+
* }
|
|
54
55
|
*
|
|
55
56
|
* }
|
|
56
57
|
*
|
|
@@ -64,7 +65,9 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
64
65
|
*
|
|
65
66
|
* }
|
|
66
67
|
*
|
|
67
|
-
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
|
|
70
|
+
* ```
|
|
68
71
|
*/
|
|
69
72
|
export declare class Schedule extends pulumi.CustomResource {
|
|
70
73
|
/**
|
|
@@ -83,38 +86,41 @@ export declare class Schedule extends pulumi.CustomResource {
|
|
|
83
86
|
*/
|
|
84
87
|
static isInstance(obj: any): obj is Schedule;
|
|
85
88
|
/**
|
|
86
|
-
* The branch
|
|
89
|
+
* The branch that the schedule should run on.
|
|
87
90
|
*/
|
|
88
91
|
readonly branch: pulumi.Output<string>;
|
|
89
92
|
/**
|
|
90
|
-
* The commit
|
|
93
|
+
* The commit that the schedule should run on.
|
|
91
94
|
*/
|
|
92
|
-
readonly commit: pulumi.Output<string
|
|
95
|
+
readonly commit: pulumi.Output<string>;
|
|
93
96
|
/**
|
|
94
|
-
*
|
|
97
|
+
* The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
|
|
95
98
|
*/
|
|
96
99
|
readonly cronline: pulumi.Output<string>;
|
|
97
100
|
/**
|
|
98
|
-
* Whether the schedule
|
|
101
|
+
* Whether the schedule is enabled or not.
|
|
99
102
|
*/
|
|
100
|
-
readonly enabled: pulumi.Output<boolean
|
|
103
|
+
readonly enabled: pulumi.Output<boolean>;
|
|
101
104
|
/**
|
|
102
|
-
*
|
|
105
|
+
* The environment variables that scheduled builds should use.
|
|
103
106
|
*/
|
|
104
107
|
readonly env: pulumi.Output<{
|
|
105
108
|
[key: string]: string;
|
|
106
109
|
} | undefined>;
|
|
107
110
|
/**
|
|
108
|
-
*
|
|
111
|
+
* A label to describe the schedule.
|
|
109
112
|
*/
|
|
110
113
|
readonly label: pulumi.Output<string>;
|
|
111
114
|
/**
|
|
112
|
-
* The message
|
|
115
|
+
* The message the builds show for builds created by this schedule.
|
|
116
|
+
*/
|
|
117
|
+
readonly message: pulumi.Output<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The GraphQL ID of the pipeline that this schedule belongs to.
|
|
113
120
|
*/
|
|
114
|
-
readonly message: pulumi.Output<string>;
|
|
115
121
|
readonly pipelineId: pulumi.Output<string>;
|
|
116
122
|
/**
|
|
117
|
-
* The UUID of the
|
|
123
|
+
* The UUID of the schedule.
|
|
118
124
|
*/
|
|
119
125
|
readonly uuid: pulumi.Output<string>;
|
|
120
126
|
/**
|
|
@@ -131,38 +137,41 @@ export declare class Schedule extends pulumi.CustomResource {
|
|
|
131
137
|
*/
|
|
132
138
|
export interface ScheduleState {
|
|
133
139
|
/**
|
|
134
|
-
* The branch
|
|
140
|
+
* The branch that the schedule should run on.
|
|
135
141
|
*/
|
|
136
142
|
branch?: pulumi.Input<string>;
|
|
137
143
|
/**
|
|
138
|
-
* The commit
|
|
144
|
+
* The commit that the schedule should run on.
|
|
139
145
|
*/
|
|
140
146
|
commit?: pulumi.Input<string>;
|
|
141
147
|
/**
|
|
142
|
-
*
|
|
148
|
+
* The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
|
|
143
149
|
*/
|
|
144
150
|
cronline?: pulumi.Input<string>;
|
|
145
151
|
/**
|
|
146
|
-
* Whether the schedule
|
|
152
|
+
* Whether the schedule is enabled or not.
|
|
147
153
|
*/
|
|
148
154
|
enabled?: pulumi.Input<boolean>;
|
|
149
155
|
/**
|
|
150
|
-
*
|
|
156
|
+
* The environment variables that scheduled builds should use.
|
|
151
157
|
*/
|
|
152
158
|
env?: pulumi.Input<{
|
|
153
159
|
[key: string]: pulumi.Input<string>;
|
|
154
160
|
}>;
|
|
155
161
|
/**
|
|
156
|
-
*
|
|
162
|
+
* A label to describe the schedule.
|
|
157
163
|
*/
|
|
158
164
|
label?: pulumi.Input<string>;
|
|
159
165
|
/**
|
|
160
|
-
* The message
|
|
166
|
+
* The message the builds show for builds created by this schedule.
|
|
161
167
|
*/
|
|
162
168
|
message?: pulumi.Input<string>;
|
|
169
|
+
/**
|
|
170
|
+
* The GraphQL ID of the pipeline that this schedule belongs to.
|
|
171
|
+
*/
|
|
163
172
|
pipelineId?: pulumi.Input<string>;
|
|
164
173
|
/**
|
|
165
|
-
* The UUID of the
|
|
174
|
+
* The UUID of the schedule.
|
|
166
175
|
*/
|
|
167
176
|
uuid?: pulumi.Input<string>;
|
|
168
177
|
}
|
|
@@ -171,34 +180,37 @@ export interface ScheduleState {
|
|
|
171
180
|
*/
|
|
172
181
|
export interface ScheduleArgs {
|
|
173
182
|
/**
|
|
174
|
-
* The branch
|
|
183
|
+
* The branch that the schedule should run on.
|
|
175
184
|
*/
|
|
176
185
|
branch: pulumi.Input<string>;
|
|
177
186
|
/**
|
|
178
|
-
* The commit
|
|
187
|
+
* The commit that the schedule should run on.
|
|
179
188
|
*/
|
|
180
189
|
commit?: pulumi.Input<string>;
|
|
181
190
|
/**
|
|
182
|
-
*
|
|
191
|
+
* The cronline that describes when the schedule should run. See[here](https://buildkite.com/docs/pipelines/scheduled-builds#schedule-intervals) for supported syntax.
|
|
183
192
|
*/
|
|
184
193
|
cronline: pulumi.Input<string>;
|
|
185
194
|
/**
|
|
186
|
-
* Whether the schedule
|
|
195
|
+
* Whether the schedule is enabled or not.
|
|
187
196
|
*/
|
|
188
197
|
enabled?: pulumi.Input<boolean>;
|
|
189
198
|
/**
|
|
190
|
-
*
|
|
199
|
+
* The environment variables that scheduled builds should use.
|
|
191
200
|
*/
|
|
192
201
|
env?: pulumi.Input<{
|
|
193
202
|
[key: string]: pulumi.Input<string>;
|
|
194
203
|
}>;
|
|
195
204
|
/**
|
|
196
|
-
*
|
|
205
|
+
* A label to describe the schedule.
|
|
197
206
|
*/
|
|
198
207
|
label: pulumi.Input<string>;
|
|
199
208
|
/**
|
|
200
|
-
* The message
|
|
209
|
+
* The message the builds show for builds created by this schedule.
|
|
201
210
|
*/
|
|
202
211
|
message?: pulumi.Input<string>;
|
|
212
|
+
/**
|
|
213
|
+
* The GraphQL ID of the pipeline that this schedule belongs to.
|
|
214
|
+
*/
|
|
203
215
|
pipelineId: pulumi.Input<string>;
|
|
204
216
|
}
|
package/pipeline/schedule.js
CHANGED
|
@@ -6,11 +6,9 @@ exports.Schedule = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* A pipeline schedule is a schedule that triggers a pipeline to run at a specific time.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* Buildkite Documentation: https://buildkite.com/docs/pipelines/scheduled-builds
|
|
11
|
+
* You can find more information in the [documentation](https://buildkite.com/docs/pipelines/scheduled-builds).
|
|
14
12
|
*
|
|
15
13
|
* ## Example Usage
|
|
16
14
|
*
|
|
@@ -18,29 +16,30 @@ const utilities = require("../utilities");
|
|
|
18
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
17
|
* import * as buildkite from "@pulumiverse/buildkite";
|
|
20
18
|
*
|
|
21
|
-
*
|
|
22
|
-
*
|
|
19
|
+
* // create a pipeline
|
|
20
|
+
* const pipeline = new buildkite.pipeline.Pipeline("pipeline", {repository: "https://github.com/..."});
|
|
21
|
+
* // schedule a build at midnight every day
|
|
22
|
+
* const nightly = new buildkite.pipeline.Schedule("nightly", {
|
|
23
|
+
* pipelineId: buildkite_pipeline.repo.id,
|
|
23
24
|
* label: "Nightly build",
|
|
24
25
|
* cronline: "@midnight",
|
|
25
|
-
* branch: buildkite_pipeline.
|
|
26
|
+
* branch: buildkite_pipeline.repo.default_branch,
|
|
26
27
|
* });
|
|
27
28
|
* ```
|
|
28
29
|
*
|
|
29
30
|
* ## Import
|
|
30
31
|
*
|
|
31
|
-
*
|
|
32
|
+
* import a pipeline schedule resource using the schedules GraphQL ID
|
|
32
33
|
*
|
|
33
|
-
*
|
|
34
|
-
* $ pulumi import buildkite:Pipeline/schedule:Schedule test myorg/test/1be3e7c7-1e03-4011-accf-b2d8eec90222
|
|
35
|
-
* ```
|
|
34
|
+
* #
|
|
36
35
|
*
|
|
37
|
-
*
|
|
36
|
+
* you can use this query to find the schedule:
|
|
38
37
|
*
|
|
39
|
-
*
|
|
38
|
+
* query getPipelineScheduleId {
|
|
40
39
|
*
|
|
41
|
-
* organization(slug"ORGANIZATION_SLUG") {
|
|
40
|
+
* organization(slug: "ORGANIZATION_SLUG") {
|
|
42
41
|
*
|
|
43
|
-
* pipelines(
|
|
42
|
+
* pipelines(first: 5, search: "PIPELINE_SEARCH_TERM") {
|
|
44
43
|
*
|
|
45
44
|
* edges{
|
|
46
45
|
*
|
|
@@ -52,11 +51,11 @@ const utilities = require("../utilities");
|
|
|
52
51
|
*
|
|
53
52
|
* edges{
|
|
54
53
|
*
|
|
55
|
-
*
|
|
54
|
+
* node{
|
|
56
55
|
*
|
|
57
|
-
*
|
|
56
|
+
* id
|
|
58
57
|
*
|
|
59
|
-
*
|
|
58
|
+
* }
|
|
60
59
|
*
|
|
61
60
|
* }
|
|
62
61
|
*
|
|
@@ -70,7 +69,11 @@ const utilities = require("../utilities");
|
|
|
70
69
|
*
|
|
71
70
|
* }
|
|
72
71
|
*
|
|
73
|
-
* }
|
|
72
|
+
* }
|
|
73
|
+
*
|
|
74
|
+
* ```sh
|
|
75
|
+
* $ pulumi import buildkite:Pipeline/schedule:Schedule test UGlwZWxpgm5Tf2hhZHVsZ35tLWRk4DdmN7c4LTA5M2ItNDM9YS0gMWE0LTAwZDUgYTAxYvRf49==
|
|
76
|
+
* ```
|
|
74
77
|
*/
|
|
75
78
|
class Schedule extends pulumi.CustomResource {
|
|
76
79
|
/**
|
package/pipeline/schedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../pipeline/schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../pipeline/schedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqEG;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,O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