summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTausif Rahman <tausif.rahman@mongodb.com>2022-06-13 16:13:20 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-06-13 17:29:12 +0000
commit8c3c18c8d00c6abc84d7157f991168e943b02d45 (patch)
tree85e9fc98131307f35be5b51cb5cf6490771b9b17
parentd3c2f7f9a6df0dabb0038fbb83c29c9e24721d82 (diff)
downloadmongo-8c3c18c8d00c6abc84d7157f991168e943b02d45.tar.gz
SERVER-66804 Remove check_binary_version from test setup
-rw-r--r--etc/evergreen_yml_components/definitions.yml12
-rwxr-xr-xevergreen/functions/binary_version_check.sh16
2 files changed, 0 insertions, 28 deletions
diff --git a/etc/evergreen_yml_components/definitions.yml b/etc/evergreen_yml_components/definitions.yml
index 6a9e9edb4cb..b44c1ff5fda 100644
--- a/etc/evergreen_yml_components/definitions.yml
+++ b/etc/evergreen_yml_components/definitions.yml
@@ -510,13 +510,6 @@ functions:
params:
file: src/version_expansions.yml
- "check binary version": &check_binary_version
- command: subprocess.exec
- params:
- binary: bash
- args:
- - "src/evergreen/functions/binary_version_check.sh"
-
"fetch benchmarks": &fetch_benchmarks
command: s3.get
params:
@@ -846,9 +839,6 @@ functions:
- *adjust_venv
- *fetch_binaries
- *extract_binaries
- - *apply_version_expansions
- - *f_expansions_write
- - *check_binary_version
- *get_buildnumber
- *f_expansions_write
- *set_up_credentials
@@ -2241,8 +2231,6 @@ tasks:
- "./etc/repo_config.yaml"
- "./etc/scons/**"
- "buildscripts/**"
- - "version_expansions.yml"
- - "compile_expansions.yml"
- "all_feature_flags.txt" # Must correspond to the definition in buildscripts/idl/lib.py.
- "jstests/**"
- "patch_files.txt"
diff --git a/evergreen/functions/binary_version_check.sh b/evergreen/functions/binary_version_check.sh
deleted file mode 100755
index a83aa0dc203..00000000000
--- a/evergreen/functions/binary_version_check.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
-. "$DIR/../prelude.sh"
-
-cd src
-
-set -o errexit
-mongo_binary=dist-test/bin/mongo${exe}
-activate_venv
-bin_ver=$($python -c "import yaml; print(yaml.safe_load(open('version_expansions.yml'))['version']);" | tr -d '[ \r\n]')
-# Due to SERVER-23810, we cannot use $mongo_binary --quiet --nodb --eval "version();"
-mongo_ver=$($mongo_binary --version | perl -pe '/version v([^\"]*)/; $_ = $1;' | tr -d '[ \r\n]')
-# The versions must match
-if [ "$bin_ver" != "$mongo_ver" ]; then
- echo "The mongo version is $mongo_ver, expected version is $bin_ver"
- exit 1
-fi