Commit c68a5ef 1 parent 38b485e commit c68a5ef Copy full SHA for c68a5ef
File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -35,13 +35,6 @@ function wipe_non_cache_docker_state {
35
35
EARTHLY_RUN_STATS_JSON=" earthly-run-stats.json"
36
36
# Run earthly with our necesary secrets initialized
37
37
# AWS credentials can be blank, however we will not use the S3 cache at all if so.
38
- if [ " $( git rev-parse --abbrev-ref HEAD) " = master ] || [ " $( git rev-parse --abbrev-ref HEAD) " = * build-cache* ] ; then
39
- # We upload to S3 on master. Meant for CI on master.
40
- S3_BUILD_CACHE_UPLOAD=true
41
- else
42
- # Don't upload to S3 on pull request branches (for now, at least)
43
- S3_BUILD_CACHE_UPLOAD=false
44
- fi
45
38
46
39
EARTHLY_ARGS=" "
47
40
@@ -52,7 +45,7 @@ function run_earthly() {
52
45
--secret AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID:- } \
53
46
--secret AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY:- } \
54
47
--secret S3_BUILD_CACHE_MINIO_URL=" " \
55
- --secret S3_BUILD_CACHE_UPLOAD=" $S3_BUILD_CACHE_UPLOAD " \
48
+ --secret S3_BUILD_CACHE_UPLOAD=" true " \
56
49
--secret S3_BUILD_CACHE_DOWNLOAD=" true" \
57
50
--secret AZTEC_BOT_COMMENTER_GITHUB_TOKEN=${AZTEC_BOT_GITHUB_TOKEN:- } \
58
51
$EARTHLY_ARGS \
You can’t perform that action at this time.
0 commit comments