Skip to content

Commit

Permalink
chore: allow turbo remote cache write only on AWS Codebuild (aws#6481)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored and Ran Vaknin committed Sep 21, 2024
1 parent b48d955 commit 3ee6fc7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/turbo/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const runTurbo = async (task, args, apiSecret, apiEndpoint) => {
TURBO_TOKEN: apiSecret,
TURBO_TEAM: "aws-sdk-js",
}),
...(!process.env.CODEBUILD_BUILD_ARN && {
TURBO_REMOTE_CACHE_READ_ONLY: "1",
}),
},
});
} catch (error) {
Expand Down

0 comments on commit 3ee6fc7

Please sign in to comment.