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 3a6c918 commit c9a40ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
const jobTitle = 'Smoke Test' + repoName;
const repoInfo = await docsetsRepository.getRepo(repoName, path);
const projectEntry = await projectsRepository.getProjectEntry(repoName);
return projectEntry.github.organization;
const repoOwner = projectEntry.github.organization;

//add commit hash- how do you get commit hash??
Expand All @@ -202,6 +201,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr

const payload = await createPayload(repoName, true, jobPrefix, repoBranchesRepository, repoInfo, repoOwner);
//add logic for getting master branch, latest stable branch
return payload;
const job = await prepGithubPushPayload(body, payload, jobTitle);
deployable.push(job);
}
Expand Down

0 comments on commit c9a40ea

Please sign in to comment.