Skip to content

Commit 87c823e

Browse files
author
awstools
committed
feat(client-codebuild): Added support for CodeBuild self-hosted Buildkite runner builds
1 parent cc1cbaf commit 87c823e

File tree

7 files changed

+9425
-9414
lines changed

7 files changed

+9425
-9414
lines changed

clients/client-codebuild/src/commands/BatchGetProjectsCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ export interface BatchGetProjectsCommandOutput extends BatchGetProjectsOutput, _
184184
* // },
185185
* // ],
186186
* // ],
187-
* // buildType: "BUILD" || "BUILD_BATCH",
187+
* // buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
188188
* // manualCreation: true || false,
189189
* // lastModifiedSecret: new Date("TIMESTAMP"),
190190
* // scopeConfiguration: { // ScopeConfiguration

clients/client-codebuild/src/commands/CreateProjectCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export interface CreateProjectCommandOutput extends CreateProjectOutput, __Metad
351351
* // },
352352
* // ],
353353
* // ],
354-
* // buildType: "BUILD" || "BUILD_BATCH",
354+
* // buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
355355
* // manualCreation: true || false,
356356
* // lastModifiedSecret: new Date("TIMESTAMP"),
357357
* // scopeConfiguration: { // ScopeConfiguration

clients/client-codebuild/src/commands/CreateWebhookCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad
5757
* },
5858
* ],
5959
* ],
60-
* buildType: "BUILD" || "BUILD_BATCH",
60+
* buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
6161
* manualCreation: true || false,
6262
* scopeConfiguration: { // ScopeConfiguration
6363
* name: "STRING_VALUE", // required
@@ -82,7 +82,7 @@ export interface CreateWebhookCommandOutput extends CreateWebhookOutput, __Metad
8282
* // },
8383
* // ],
8484
* // ],
85-
* // buildType: "BUILD" || "BUILD_BATCH",
85+
* // buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
8686
* // manualCreation: true || false,
8787
* // lastModifiedSecret: new Date("TIMESTAMP"),
8888
* // scopeConfiguration: { // ScopeConfiguration

clients/client-codebuild/src/commands/UpdateProjectCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ export interface UpdateProjectCommandOutput extends UpdateProjectOutput, __Metad
351351
* // },
352352
* // ],
353353
* // ],
354-
* // buildType: "BUILD" || "BUILD_BATCH",
354+
* // buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
355355
* // manualCreation: true || false,
356356
* // lastModifiedSecret: new Date("TIMESTAMP"),
357357
* // scopeConfiguration: { // ScopeConfiguration

clients/client-codebuild/src/commands/UpdateWebhookCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad
5252
* },
5353
* ],
5454
* ],
55-
* buildType: "BUILD" || "BUILD_BATCH",
55+
* buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
5656
* };
5757
* const command = new UpdateWebhookCommand(input);
5858
* const response = await client.send(command);
@@ -71,7 +71,7 @@ export interface UpdateWebhookCommandOutput extends UpdateWebhookOutput, __Metad
7171
* // },
7272
* // ],
7373
* // ],
74-
* // buildType: "BUILD" || "BUILD_BATCH",
74+
* // buildType: "BUILD" || "BUILD_BATCH" || "RUNNER_BUILDKITE_BUILD",
7575
* // manualCreation: true || false,
7676
* // lastModifiedSecret: new Date("TIMESTAMP"),
7777
* // scopeConfiguration: { // ScopeConfiguration

clients/client-codebuild/src/models/models_0.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -3740,6 +3740,7 @@ export type ProjectVisibilityType = (typeof ProjectVisibilityType)[keyof typeof
37403740
export const WebhookBuildType = {
37413741
BUILD: "BUILD",
37423742
BUILD_BATCH: "BUILD_BATCH",
3743+
RUNNER_BUILDKITE_BUILD: "RUNNER_BUILDKITE_BUILD",
37433744
} as const;
37443745

37453746
/**
@@ -3770,7 +3771,7 @@ export const WebhookFilterType = {
37703771
export type WebhookFilterType = (typeof WebhookFilterType)[keyof typeof WebhookFilterType];
37713772

37723773
/**
3773-
* <p> A filter used to determine which webhooks trigger a build. </p>
3774+
* <p>A filter used to determine which webhooks trigger a build. </p>
37743775
* @public
37753776
*/
37763777
export interface WebhookFilter {
@@ -3913,6 +3914,10 @@ export interface WebhookFilter {
39133914
* <note>
39143915
* <p> Works with <code>WORKFLOW_JOB_QUEUED</code> events only. </p>
39153916
* </note>
3917+
* <note>
3918+
* <p>For CodeBuild-hosted Buildkite runner builds, WORKFLOW_NAME
3919+
* filters will filter by pipeline name.</p>
3920+
* </note>
39163921
* </li>
39173922
* </ul>
39183923
* </li>

0 commit comments

Comments
 (0)