MCPcopy Create free account
hub / github.com/PRX/Infrastructure / codebuildUrl

Function codebuildUrl

ci/src/slack-message-handler/builder.mjs:12–21  ·  view source on GitHub ↗
(event)

Source from the content-addressed store, hash-verified

10}
11
12function codebuildUrl(event) {
13 const region = event.region;
14 const accountId = event.account;
15 const project = event.detail['project-name'];
16 const uuid = event.detail['build-id'].split('/')[1].split(':')[1];
17
18 const codeBuildUrl = `https://${region}.console.aws.amazon.com/codesuite/codebuild/${accountId}/projects/${project}/build/${project}%3A${uuid}?region=${region}`;
19
20 return deepLink(accountId, codeBuildUrl);
21}
22
23export async function statusBlocks(event) {
24 const blox = [];

Callers 1

statusBlocksFunction · 0.85

Calls 1

deepLinkFunction · 0.85

Tested by

no test coverage detected