Skip to content
This repository was archived by the owner on Aug 6, 2025. It is now read-only.

Commit d21b958

Browse files
authored
Add missing repo branches collection name (#897)
1 parent d521d48 commit d21b958

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cdk-infra/lib/constructs/api/webhook-env-construct.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ export class WebhookEnvConstruct extends Construct {
2121

2222
const dbName = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/dbname`);
2323
const snootyDbName = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/collections/snooty`);
24+
const repoBranchesCollection = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/collections/repo`);
2425
const dbUsername = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/username`);
2526
const dbHost = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/host`);
2627
const jobCollection = StringParameter.valueFromLookup(this, `${ssmPrefix}/atlas/collections/job/queue`);
@@ -37,6 +38,7 @@ export class WebhookEnvConstruct extends Construct {
3738
MONGO_ATLAS_URL: `mongodb+srv://${dbUsername}:${dbPassword}@${dbHost}/admin?retryWrites=true`,
3839
DB_NAME: dbName,
3940
SNOOTY_DB_NAME: snootyDbName,
41+
REPO_BRANCHES_COL_NAME: repoBranchesCollection,
4042
JOB_QUEUE_COL_NAME: jobCollection,
4143
NODE_CONFIG_DIR: './config',
4244
JOBS_QUEUE_URL: jobsQueue.queueUrl,

0 commit comments

Comments
 (0)