Skip to content

Commit

Permalink
chore: allow turbo remote cache write only on AWS Codebuild (#6481)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr committed Sep 16, 2024
1 parent cd53ac9 commit 9b2dac1
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 9b2dac1

Please sign in to comment.