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 b4bca05 commit 783dd3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/controllers/v2/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,10 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
// const prefix = ammendedJobPrefix;

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

try {
Expand All @@ -227,7 +227,7 @@ export const triggerSmokeTestAutomatedBuild = async (event: APIGatewayEvent): Pr
return {
statusCode: 202,
headers: { 'Content-Type': 'text/plain' },
body: 'Jobs Queued 2' + projectEntry,
body: 'Jobs Queued 1' + projectEntry,
};
} catch (err) {
return {
Expand Down

0 comments on commit 783dd3b

Please sign in to comment.