diff options
author | Alexander Neben <alexander.neben@mongodb.com> | 2022-05-13 01:10:38 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-05-13 01:48:10 +0000 |
commit | 3645d402d741e56a1f99dce10ef1bded3a16cef1 (patch) | |
tree | 13e665881049429a10661d97009ac47d337521fa /etc | |
parent | 465ca1e4592f08f940e311b7852efe6147077486 (diff) | |
download | mongo-3645d402d741e56a1f99dce10ef1bded3a16cef1.tar.gz |
SERVER-64352 mongo shell no longer built by default
(cherry picked from commit f59190ee55876c17de0ba92aaae9d2b369cdf901)
Diffstat (limited to 'etc')
-rw-r--r-- | etc/evergreen_yml_components/definitions.yml | 110 | ||||
-rw-r--r-- | etc/perf.yml | 2 | ||||
-rwxr-xr-x | etc/system_perf.yml | 2 |
3 files changed, 15 insertions, 99 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml index a2b5f4b1322..4a84342dfb6 100644 --- a/etc/evergreen_yml_components/definitions.yml +++ b/etc/evergreen_yml_components/definitions.yml @@ -84,7 +84,7 @@ modules: ## Some variables for convenience: variables: -# Used when the tests it runs depend only on mongod, mongos, the mongo shell and the tools. +# Used when the tests it runs depend only on mongod, mongos, the jstestshell and the tools. - &task_template name: template depends_on: @@ -766,10 +766,10 @@ functions: value: ${project}/${build_variant}/${revision}/debugsymbols/mh-debugsymbols-${build_id}.${ext|tgz} - key: mongo_debugsymbols value: ${project}/${build_variant}/${revision}/debugsymbols/debugsymbols-${build_id}.${ext|tgz} - - key: mongo_shell - value: ${project}/${build_variant}/${revision}/binaries/mongo-shell-${build_id}.${ext|tgz} - - key: mongo_shell_debugsymbols - value: ${project}/${build_variant}/${revision}/binaries/mongo-shell-debugsymbols-${build_id}.${ext|tgz} + - key: mongo_jstestshell + value: ${project}/${build_variant}/${revision}/binaries/mongo-jstestshell-${build_id}.${ext|tgz} + - key: mongo_jstestshell_debugsymbols + value: ${project}/${build_variant}/${revision}/binaries/mongo-jstestshell-debugsymbols-${build_id}.${ext|tgz} - key: mongo_fuzzer_corpus_mciuploads value: ${project}/${build_variant}/${revision}/libfuzzer-corpora/corpora-${build_id}.${ext|tgz} - key: mongo_fuzzer_corpus @@ -6320,8 +6320,8 @@ tasks: distsrc-${ext|tgz} archive-dist archive-dist-debug - archive-shell - archive-shell-debug + archive-jstestshell + archive-jstestshell-debug ${additional_package_targets|} task_compile_flags: >- --legacy-tarball @@ -6368,26 +6368,24 @@ tasks: display_name: Dist Debugsymbols - command: s3.put params: - optional: true aws_key: ${aws_key} aws_secret: ${aws_secret} - local_file: src/mongodb-shell.${ext|tgz} - remote_file: ${mongo_shell} + local_file: src/mongodb-jstestshell.${ext|tgz} + remote_file: ${mongo_jstestshell} bucket: mciuploads permissions: public-read content_type: ${content_type|application/gzip} - display_name: Shell + display_name: Jstestshell - command: s3.put params: - optional: true aws_key: ${aws_key} aws_secret: ${aws_secret} - local_file: src/mongodb-shell-debugsymbols.${ext|tgz} - remote_file: ${mongo_shell_debugsymbols} + local_file: src/mongodb-jstestshell-debugsymbols.${ext|tgz} + remote_file: ${mongo_jstestshell_debugsymbols} bucket: mciuploads permissions: public-read content_type: ${content_type|application/gzip} - display_name: Shell Debugsymbols + display_name: Jstestshell Debugsymbols - command: s3.put params: optional: true @@ -6505,14 +6503,6 @@ tasks: - func: "set up venv" - func: "fetch packages" - func: "fetch dist tarball" - # Fetch the shell - - command: s3.get - params: - aws_key: ${aws_key} - aws_secret: ${aws_secret} - remote_file: ${mongo_shell} - bucket: mciuploads - local_file: src/mongo-shell.tgz # Fetch mongocryptd - command: s3.get params: @@ -6566,16 +6556,6 @@ tasks: permissions: public-read content_type: ${content_type|application/gzip} remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz} - # Put the shell tarball/zipfile - - command: s3.put - params: - aws_secret: ${aws_secret} - local_file: src/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz} - aws_key: ${aws_key} - bucket: build-push-testing - permissions: public-read - content_type: ${content_type|application/gzip} - remote_file: ${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz} # Put the cryptd tarball/zipfile - command: s3.put params: @@ -6634,17 +6614,6 @@ tasks: content_type: ${content_type|application/gzip} remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sig - # Put the shell tarball signature - - command: s3.put - params: - aws_secret: ${aws_secret} - local_file: src/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig - aws_key: ${aws_key} - bucket: build-push-testing - permissions: public-read - content_type: ${content_type|application/gzip} - remote_file: ${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sig - # Put the cryptd tarball signature - command: s3.put params: @@ -6704,17 +6673,6 @@ tasks: content_type: text/plain remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha1 - # Put the shell tarball sha1 - - command: s3.put - params: - aws_secret: ${aws_secret} - local_file: src/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1 - aws_key: ${aws_key} - permissions: public-read - bucket: build-push-testing - content_type: text/plain - remote_file: ${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha1 - # Put the cryptd tarball sha1 - command: s3.put params: @@ -6774,17 +6732,6 @@ tasks: content_type: text/plain remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha256 - # Put the shell tarball sha256 - - command: s3.put - params: - aws_secret: ${aws_secret} - local_file: src/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256 - permissions: public-read - aws_key: ${aws_key} - bucket: build-push-testing - content_type: text/plain - remote_file: ${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha256 - # Put the cryptd tarball sha256 - command: s3.put params: @@ -6844,17 +6791,6 @@ tasks: content_type: text/plain remote_file: ${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.md5 - # Put the shell tarball md5 - - command: s3.put - params: - aws_secret: ${aws_secret} - local_file: src/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5 - aws_key: ${aws_key} - bucket: build-push-testing - permissions: public-read - content_type: text/plain - remote_file: ${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.md5 - # Put the cryptd tarball md5 - command: s3.put params: @@ -6912,10 +6848,6 @@ tasks: - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}', 'bucket': '${push_bucket}'}} - #Shell - - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}', 'bucket': 'build-push-testing'}, - 'destination': {'path': '${push_path}/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}', 'bucket': '${push_bucket}'}} - #Cryptd - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}', 'bucket': '${push_bucket}'}, @@ -6940,10 +6872,6 @@ tasks: - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sig', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig', 'bucket': '${push_bucket}'}} - #Shell Signature - - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sig', 'bucket': 'build-push-testing'}, - 'destination': {'path': '${push_path}/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig', 'bucket': '${push_bucket}'}} - #Cryptd Signature - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sig', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sig', 'bucket': '${push_bucket}'}, @@ -6958,10 +6886,6 @@ tasks: - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha1', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1', 'bucket': '${push_bucket}'}} - #SHA1 for shell - - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha1', 'bucket': 'build-push-testing'}, - 'destination': {'path': '${push_path}/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1', 'bucket': '${push_bucket}'}} - #SHA1 for cryptd - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha1', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha1', 'bucket': '${push_bucket}'}, @@ -6981,10 +6905,6 @@ tasks: - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha256', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256', 'bucket': '${push_bucket}'}} - #SHA256 for shell - - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha256', 'bucket': 'build-push-testing'}, - 'destination': {'path': '${push_path}/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256', 'bucket': '${push_bucket}'}} - #SHA256 for cryptd - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.sha256', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.sha256', 'bucket': '${push_bucket}'}, @@ -7004,10 +6924,6 @@ tasks: - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.md5', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5', 'bucket': '${push_bucket}'}} - #MD5 for shell - - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-shell-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.md5', 'bucket': 'build-push-testing'}, - 'destination': {'path': '${push_path}/mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5', 'bucket': '${push_bucket}'}} - #MD5 for cryptd - {'source': {'path': '${push_path}-STAGE/${push_name}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}-${task_id}.${ext|tgz}.md5', 'bucket': 'build-push-testing'}, 'destination': {'path': '${push_path}/mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}.md5', 'bucket': '${push_bucket}'}, diff --git a/etc/perf.yml b/etc/perf.yml index a3590a8cb5b..8fa1e65aa77 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -320,7 +320,7 @@ functions: set -o errexit set -o verbose source "${workdir}/compile_venv/bin/activate" - python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb ${patch_compile_flags|} + python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core install-jstestshell MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb ${patch_compile_flags|} mkdir -p mongodb/jstests/hooks if [ -d jstests/hooks ] then diff --git a/etc/system_perf.yml b/etc/system_perf.yml index 303f20f8867..8b98bcc4724 100755 --- a/etc/system_perf.yml +++ b/etc/system_perf.yml @@ -346,7 +346,7 @@ functions: set -o errexit set -o verbose source "${workdir}/compile_venv/bin/activate" - python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb ${patch_compile_flags|} + python ./buildscripts/scons.py ${compile_flags|} ${scons_cache_args|} install-core install-jstestshell MONGO_VERSION=${version} DESTDIR=$(pwd)/mongodb ${patch_compile_flags|} mkdir -p mongodb/jstests/hooks if [ -d jstests/hooks ] then |