Skip to content

Commit

Permalink
DOP-4414 testing lambda
Browse files Browse the repository at this point in the history
  • Loading branch information
anabellabuckvar committed Mar 13, 2024
1 parent b420a80 commit 14280a6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,11 +187,11 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr

for (const s in SMOKETEST_SITES) {
//ensure repoTitle is consistent with other type of title
const jobTitle = 'Smoke Test' + s;
const repoName = SMOKETEST_SITES[s];
const jobTitle = 'Smoke Test' + repoName;
const repoInfo = await docsetsRepository.getRepo(s, path);
const repoName = s;
const projectEntry = await projectsRepository.getProjectEntry(s);
return s;
return repoName;
const repoOwner = projectEntry.github.organization;

//add commit hash- how do you get commit hash??
Expand Down Expand Up @@ -226,7 +226,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
return {
statusCode: 202,
headers: { 'Content-Type': 'text/plain' },
body: 'Jobs Queued 5' + projectEntry,
body: 'Jobs Queued 1' + projectEntry,
};
} catch (err) {
return {
Expand Down

0 comments on commit 14280a6

Please sign in to comment.