Skip to content

Commit 9b2dac1

Browse files
authored
chore: allow turbo remote cache write only on AWS Codebuild (#6481)
1 parent cd53ac9 commit 9b2dac1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

scripts/turbo/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ const runTurbo = async (task, args, apiSecret, apiEndpoint) => {
1919
TURBO_TOKEN: apiSecret,
2020
TURBO_TEAM: "aws-sdk-js",
2121
}),
22+
...(!process.env.CODEBUILD_BUILD_ARN && {
23+
TURBO_REMOTE_CACHE_READ_ONLY: "1",
24+
}),
2225
},
2326
});
2427
} catch (error) {

0 commit comments

Comments
 (0)