diff --git a/api/controllers/v2/github.ts b/api/controllers/v2/github.ts index db4880496..372d136f6 100644 --- a/api/controllers/v2/github.ts +++ b/api/controllers/v2/github.ts @@ -158,17 +158,14 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: `Build on branch - ${body.workflow_run.head_branch} - is not complete and will not trigger smoke test site deployments`, + body: `Build on branch ${body.workflow_run.head_branch} is not complete and will not trigger smoke test site deployments`, }; if (body.workflow_run.name != 'Deploy Staging ECS') return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: `Workflow - ${body.workflow_run.name} completed successfully but only Deploy Staging ECS workflow completion will trigger smoke test site deployments`, + body: `Workflow ${body.workflow_run.name} completed successfully but only Deploy Staging ECS workflow completion will trigger smoke test site deployments`, }; // if the build was not building main branch, no need for smoke test sites @@ -244,7 +241,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr return { statusCode: 202, headers: { 'Content-Type': 'text/plain' }, - body: 'Smoke Test Jobs Queued with the following Job Ids' + returnVal, + body: 'Smoke Test Jobs Queued with the following Job Ids ' + returnVal, }; }; diff --git a/cdk-infra/static/api/config/default.json b/cdk-infra/static/api/config/default.json index 28d596fe5..3758dea37 100644 --- a/cdk-infra/static/api/config/default.json +++ b/cdk-infra/static/api/config/default.json @@ -20,7 +20,6 @@ "entitlementCollection": "USER_ENTITLEMENT_COL_NAME", "repoBranchesCollection": "REPO_BRANCHES_COL_NAME", "docsetsCollection": "DOCSETS_COL_NAME", - "projectsCollection": "PROJECTS_COL_NAME", "MONGO_TIMEOUT_S": 15, "JOB_TIMEOUT_S": 900, "RETRY_TIMEOUT_MS": 5000, diff --git a/config/default.json b/config/default.json index ae9b5f9a7..8a089b421 100644 --- a/config/default.json +++ b/config/default.json @@ -12,7 +12,6 @@ "githubBotPW": "q1w", "fastlyDochubMap": "devfslydochubmap", "entitlementCollection": "entitlements", - "projectsCollection": "projects", "docsetsCollection": "docsets", "MONGO_TIMEOUT_S": 1500, "JOB_TIMEOUT_S": 900,