Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PRX/Infrastructure
/ functions
Functions
43 in github.com/PRX/Infrastructure
⨍
Functions
43
◇
Types & classes
0
↓ 5 callers
Function
emoji
(executionId)
spire/cd/src/pipeline-events-listener/etc/execution-emoji.js:57
↓ 4 callers
Function
digest
(key, msg)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:55
↓ 4 callers
Function
eventIsPullRequest
* @param {*} event * @returns {event is GitHubPullRequestWebhookPayload}
ci/src/build-handler/index.mjs:62
↓ 3 callers
Function
deepLink
(accountId, url)
ci/src/slack-message-handler/builder.mjs:5
↓ 3 callers
Function
startBuild
* * @param {GitHubPullRequestWebhookPayload|GitHubPushWebhookPayload} event * @param {string} buildspec * @param {object} environmentVariables * @
ci/src/build-handler/index.mjs:78
↓ 2 callers
Function
getAllParametersByPath
* Recursively pages through all Parameter Store parameters under a given path * @param {string} path
spire/cd/src/production-parameter-promotion/index.js:28
↓ 2 callers
Function
handleCiEvent
* * @param {GitHubPullRequestWebhookPayload|GitHubPushWebhookPayload} event
ci/src/build-handler/index.mjs:307
↓ 2 callers
Function
listItem
(delta, noLinks = false)
spire/cd/src/pipeline-events-listener/deltas/deltas.js:16
↓ 2 callers
Function
signing_credentials
(signing_time)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:25
↓ 2 callers
Function
updateParameters
* @param {object} environmentVariables - All environment variables present in a build result * @param {string} environmentVariableName - The name of
ci/src/parameter-store-updater/index.mjs:47
↓ 1 callers
Function
aws_v4_signature
(signing_time, string_to_sign)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:76
↓ 1 callers
Function
aws_v4_signing_key
(access_key, date_stamp, region, service)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:62
↓ 1 callers
Function
buildAttachments
(event)
ci/src/slack-message-handler/index.mjs:19
↓ 1 callers
Function
buildMessage
* Constructs a Slack message payload with information about stack parameter * changes, and interactive buttons to approve or reject a deploy. If ther
spire/cd/src/pipeline-events-listener/production-approval.js:38
↓ 1 callers
Function
codebuildUrl
(event)
ci/src/slack-message-handler/builder.mjs:12
↓ 1 callers
Function
compareCommits
(ownerAndRepo, before, after)
ci/src/slack-message-handler/github.mjs:5
↓ 1 callers
Function
getAllResolveParameters
* Returns an object, where each key is the name of a parameter in Parameter * Store, and each value is the value of that parameter at the time * Clo
spire/cd/src/parameter-capture/index.js:68
↓ 1 callers
Function
getBuildspecContentJson
* Hits the GitHub repot contents API to determine if the commit that triggered * event supports the PRX CI system by looking for a buildspec.yml file
ci/src/build-handler/index.mjs:242
↓ 1 callers
Function
getStackHierarchy
* Returns an array of all stacks that are related to some root stack through * nesting, including the root stack. The elements of the array are the o
spire/cd/src/parameter-capture/index.js:35
↓ 1 callers
Function
handlePullRequestEvent
* We'll want to trigger a build when actions on the pull request represent * a change that requires CI, such as opening, synchornizing, or moving fro
ci/src/build-handler/index.mjs:324
↓ 1 callers
Function
handlePushEvent
* Push events will get delivered for any branch. For pushes to pull requests, * there will be an additional `pull_request` event that we will use to
ci/src/build-handler/index.mjs:341
↓ 1 callers
Function
parameterDeltasList
* Returns a multi-line string describing the parameters that have changed * @param {ParameterDeltas} deltas * @returns {String}
spire/cd/src/pipeline-events-listener/deltas/deltas.js:11
↓ 1 callers
Function
put_job_failure
(job, message)
spire/cd/src/template-copy/lambda_function.py:23
↓ 1 callers
Function
s3_post_policy
(signing_time, ttl=60)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:35
↓ 1 callers
Function
statusBlocks
(event)
ci/src/slack-message-handler/builder.mjs:23
↓ 1 callers
Function
statusColor
(event)
ci/src/slack-message-handler/color.mjs:1
↓ 1 callers
Function
triggerBuild
* `startBuild` returns a Build object * https://docs.aws.amazon.com/codebuild/latest/APIReference/API_Build.html * @param {string} ciContentsRespons
ci/src/build-handler/index.mjs:110
↓ 1 callers
Function
updateSsmParameter
* Updates a Parameter Store parameter with the given value, if the parameter * appears to be one that should be updated when new code artifacts are c
ci/src/parameter-store-updater/index.mjs:29
Function
changeSetFamily
* @param {string} stackName * @param {string} changeSetName * @returns {Promise<DescribeChangeSetOutput[]>}
spire/cd/src/pipeline-events-listener/deltas/change-set-family.js:29
Function
executionConsoleUrl
(region, pipelineName, executionId)
spire/cd/src/pipeline-events-listener/etc/urls.js:5
Function
handler
(event, context)
etc/auto-redirect/index.mjs:52
Function
handler
(event)
cdn/publicfeeds-cdn/src/origin-request-lambda/index.mjs:1
Function
handler
(event)
ci/src/parameter-store-updater/index.mjs:86
Function
handler
(event)
ci/src/slack-message-handler/index.mjs:31
Function
handler
(event)
ci/src/github-webhook-endpoint/index.mjs:33
Function
handler
(event)
ci/src/build-handler/index.mjs:354
Function
lambda_handler
(event, context)
etc/serverless-s3-upload/lambdas/WebsiteApiFunction/lambda_function.py:91
Function
lambda_handler
(event, context)
etc/serverless-s3-upload/lambdas/StaticWebsiteFunction/lambda_function.py:1
Function
lambda_handler
(event, context)
etc/serverless-s3-upload/lambdas/StaticWebsiteAuthorizerFunction/lambda_function.py:10
Function
lambda_handler
(event, context)
spire/cd/src/template-copy/lambda_function.py:31
Function
pipelineConsoleUrl
(region, pipelineName)
spire/cd/src/pipeline-events-listener/etc/urls.js:2
Function
report
(stackName, changeSetName)
spire/cd/src/pipeline-events-listener/deltas/deltas.js:59
Function
stackFamily
* @param {string} stackName * @returns {Promise<Stack[]>}
spire/cd/src/pipeline-events-listener/deltas/stack-family.js:27