Skip to content

Commit

Permalink
Add target arch to Slack message
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Dec 21, 2024
1 parent 17cfbaf commit 2aea143
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/src/slack-message-handler/builder.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export async function statusBlocks(event) {
const branch = allEnvVars.PRX_BRANCH;
const pr = allEnvVars.PRX_GITHUB_PR;
const codeBucket = allEnvVars.PRX_APPLICATION_CODE_BUCKET;
const targetArch = allEnvVars.PRX_TARGET_ARCHITECTURE;

const verb = {
IN_PROGRESS: 'Building',
Expand All @@ -58,6 +59,7 @@ export async function statusBlocks(event) {
`${regionNickname} » <${codebuildUrl(event)}|${
verb[event.detail['build-status']]
}>`,
targetArch,
ownerAndRepo,
pr
? `<https://github.com/${ownerAndRepo}/pull/${pr}|#${pr}>`
Expand Down

0 comments on commit 2aea143

Please sign in to comment.