-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOP-4097]: Ensure we use the --no-caching flag for production builds #940
Conversation
The URL for your feature branch webhook is https://obrs6yxld6.execute-api.us-east-2.amazonaws.com/prod/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments below! LGTM with the changes targeted for meta branch
@@ -18,5 +23,9 @@ export async function nextGenParse({ repoDir, patchId, commitHash }: NextGenPars | |||
commandArgs.push(patchId); | |||
} | |||
|
|||
if (isProd) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IIUC, this is for when we do use this export fn nextGenParse
for prod, since this is not being used yet. can we add a comment for this?
src/job/stagingJobHandler.ts
Outdated
@@ -60,6 +60,7 @@ export class StagingJobHandler extends JobHandler { | |||
|
|||
prepStageSpecificNextGenCommands(): void { | |||
if (this.currJob.buildCommands) { | |||
// TODO: Remove no-caching after done testing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor, can remove!
Ticket
DOP-4097
Notes
To verify, I have added the flag for staging jobs to ensure that the flag is passed into the makefile without error. Here is a link to a job that has run with the
--no-caching
flag.The shared.mk PR can be found here.