summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMathew Robinson <chasinglogic@gmail.com>2019-02-07 15:11:02 -0500
committerMathew Robinson <chasinglogic@gmail.com>2019-02-08 09:44:17 -0500
commitb2ab47954087c481722607483cc9868a6cc713e8 (patch)
tree9a9c9fd788463625c9de2a9b93896320cf269b86 /etc
parent87ea6539360b6003aa75a1f40c0e294a8ae4a359 (diff)
downloadmongo-b2ab47954087c481722607483cc9868a6cc713e8.tar.gz
SERVER-39075 Add cache debugging for shared scons cache
Diffstat (limited to 'etc')
-rw-r--r--etc/evergreen.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml
index 72dc58f680b..b01888d8e71 100644
--- a/etc/evergreen.yml
+++ b/etc/evergreen.yml
@@ -1431,6 +1431,10 @@ functions:
extra_args="$extra_args --jlink=${num_scons_link_jobs_available|}"
fi
+ if [ "${scons_cache_scope|}" = "shared" ]; then
+ extra_args="$extra_args --cache-debug=scons_cache.log"
+ fi
+
${activate_virtualenv}
python2 -m pip install -r ./etc/pip/compile-requirements.txt
@@ -3489,6 +3493,17 @@ tasks:
# We only need to upload the source tarball from one of the build variants
# because it should be the same everywhere, so just use rhel70/windows-64-2k8-ssl.
build_variants: [ rhel70, windows-64-2k8-ssl ]
+ - command: s3.put
+ params:
+ optional: true
+ aws_key: ${aws_key}
+ aws_secret: ${aws_secret}
+ local_file: src/scons_cache.log
+ content_type: text/plain
+ remote_file: ${project}/${build_variant}/${revision}/cache.log
+ bucket: mciuploads
+ permissions: public-read
+ display_name: SCons cache debug log
# For patch builds that bypass compile, we upload links to pre-existing tarballs, except for the
# artifacts.tgz.
- command: attach.artifacts