Compare commits

...

7 Commits

Author SHA1 Message Date
Robert Guo
ac459eee58 SERVER-50802 fix lint 2020-09-09 12:16:03 -04:00
Zakhar Kleyman
75cb2b8a3e SERVER-50817 Update signing key to 4.7 2020-09-09 11:51:15 -04:00
Robert Guo
c9836d0ea3 SERVER-50719 Fix verify_versions_test.js for 4.7.0 2020-09-09 10:56:58 -04:00
Robert Guo
598bd617db SERVER-50802 Remove wt develop from system-perf.yml and evergreen.yml 2020-09-09 10:56:58 -04:00
Robert Guo
ba31e37094 SERVER-50720 Update filename suffix to v4.7.0-latest for nightly builds for 4.7.0 branch 2020-09-09 10:31:12 -04:00
Robert Guo
6fcc68702d SERVER-50713 Branch perf.yml and system_perf.yml for 4.7.0 2020-09-09 10:28:24 -04:00
Robert Guo
5240cf5ed8 SERVER-50723 Branch evergreen.yml for 4.7.0 2020-09-09 10:16:37 -04:00
6 changed files with 13 additions and 110 deletions

View File

@@ -60,8 +60,8 @@ def generate_version_expansions():
raise ValueError("Unable to parse version from stdin and no version.json provided")
if version_parts[0]:
expansions["suffix"] = "latest"
expansions["src_suffix"] = "latest"
expansions["suffix"] = "v4.7-latest"
expansions["src_suffix"] = "v4.7-latest"
expansions["is_release"] = "false"
else:
expansions["suffix"] = version_line

View File

@@ -60,8 +60,8 @@ def generate_version_expansions():
raise ValueError("Unable to parse version from stdin and no version.json provided")
if version_parts[0]:
expansions["suffix"] = "latest"
expansions["src_suffix"] = "latest"
expansions["suffix"] = "v4.7-latest"
expansions["src_suffix"] = "v4.7-latest"
expansions["is_release"] = "false"
else:
expansions["suffix"] = version_line

View File

@@ -378,7 +378,6 @@ variables:
- enterprise-windows-inmem
- enterprise-windows-nopush-template
- enterprise-windows-required
- enterprise-windows-wtdevelop
- ubuntu1804-debug-asan
- ubuntu1804-debug-ubsan
- ubuntu1804-debug-aubsan-lite
@@ -508,7 +507,6 @@ functions:
directory: ${git_project_directory|src}
revisions: # for each module include revision as <module_name> : ${<module_name>_rev}
enterprise: ${enterprise_rev}
wtdevelop: ${wtdevelop_rev}
"fetch artifacts": &fetch_artifacts
command: s3.get
@@ -637,7 +635,7 @@ functions:
"get buildnumber": &get_buildnumber
command: keyval.inc
params:
key: "${build_variant}_master"
key: "${build_variant}_v4.7"
destination: "builder_num"
"run diskstats": &run_diskstats
@@ -768,12 +766,12 @@ functions:
set -o errexit
cat <<EOF > notary_env.sh
export NOTARY_TOKEN=${signing_auth_token_46}
export NOTARY_TOKEN=${signing_auth_token_47}
export BARQUE_USERNAME=${barque_user}
export BARQUE_API_KEY=${barque_api_key}
EOF
echo "${signing_auth_token_46}" > signing_auth_token
echo "${signing_auth_token_47}" > signing_auth_token
"set up remote credentials": &set_up_remote_credentials
command: shell.exec
@@ -7797,7 +7795,7 @@ tasks:
mv distsrc.${ext|tgz} mongodb-src-${src_suffix}.${ext|tar.gz} || true
/usr/bin/find build/ -type f | grep msi$ | xargs -I original_filename cp original_filename mongodb-${push_name}-${push_arch}-${suffix}.msi || true
/usr/local/bin/notary-client.py --key-name "server-4.6" --auth-token-file ${workdir}/src/signing_auth_token --comment "Evergreen Automatic Signing ${revision} - ${build_variant} - ${branch_name}" --notary-url http://notary-service.build.10gen.cc:5000 --skip-missing mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-${suffix}.msi mongodb-src-${src_suffix}.${ext|tar.gz} mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
/usr/local/bin/notary-client.py --key-name "server-4.7" --auth-token-file ${workdir}/src/signing_auth_token --comment "Evergreen Automatic Signing ${revision} - ${build_variant} - ${branch_name}" --notary-url http://notary-service.build.10gen.cc:5000 --skip-missing mongodb-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-shell-${push_name}-${push_arch}-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-debugsymbols-${suffix}.${ext|tgz} mongodb-${push_name}-${push_arch}-${suffix}.msi mongodb-src-${src_suffix}.${ext|tar.gz} mongodb-cryptd-${push_name}-${push_arch}-${suffix}.${ext|tgz}
# Put the binaries tarball/zipfile
- command: s3.put
@@ -8571,12 +8569,7 @@ modules:
- name: enterprise
repo: git@github.com:10gen/mongo-enterprise-modules.git
prefix: src/mongo/db/modules
branch: master
- name: wtdevelop
repo: git@github.com:wiredtiger/wiredtiger.git
prefix: src/third_party
branch: develop
branch: v4.7
#######################################
# Buildvariants #
@@ -8672,18 +8665,6 @@ buildvariants:
- name: server_discovery_and_monitoring_json_test_TG
- name: server_selection_json_test_TG
- <<: *linux-64-debug-template
name: linux-64-debug-wtdevelop
display_name: "~ Linux DEBUG WiredTiger develop"
batchtime: 240 # 4 hours
modules:
- wtdevelop
expansions:
use_wt_develop: true
resmoke_jobs_factor: 0.5 # Avoid starting too many mongod's
compile_flags: --dbg=on --opt=on -j$(grep -c ^processor /proc/cpuinfo) --variables-files=etc/scons/mongodbtoolchain_v3_gcc.vars --enable-free-mon=off --enable-http-client=off
test_flags: --excludeWithAnyTags=requires_http_client
- name: linux-64-duroff
display_name: Linux (No Journal)
run_on:
@@ -9761,17 +9742,6 @@ buildvariants:
- windows-64-vs2019-large
- name: .benchmarks
- <<: *enterprise-windows-nopush-template
name: enterprise-windows-wtdevelop
display_name: "~ Enterprise Windows WiredTiger develop"
batchtime: 240 # 4 hours
modules:
- enterprise
- wtdevelop
expansions:
<<: *enterprise-windows-nopush-expansions-template
use_wt_develop: true
- name: enterprise-windows-inmem
display_name: Enterprise Windows (inMemory)
modules:

View File

@@ -43,7 +43,7 @@ modules:
- name: enterprise
repo: git@github.com:10gen/mongo-enterprise-modules.git
prefix: src/mongo/db/modules
branch: master
branch: v4.7
- name: mongo-perf
repo: git@github.com:mongodb/mongo-perf.git
prefix: ../../src

View File

@@ -46,7 +46,6 @@ variables:
_modules: &modules
- enterprise
- mongo-tools
- wtdevelop
- dsi
- signal-processing
@@ -74,10 +73,6 @@ modules:
repo: git@github.com:10gen/workloads.git
prefix: workloads
branch: master
- name: wtdevelop
repo: git@github.com:wiredtiger/wiredtiger.git
prefix: src/third_party
branch: develop
- name: linkbench
repo: git@github.com:10gen/linkbench.git
prefix: linkbench
@@ -92,7 +87,7 @@ modules:
- name: enterprise
repo: git@github.com:10gen/mongo-enterprise-modules.git
prefix: src/mongo/db/modules
branch: master
branch: v4.7
- name: mongo-tools
repo: git@github.com:mongodb/mongo-tools.git
prefix: mongo-tools/src/github.com/mongodb
@@ -915,17 +910,6 @@ buildvariants:
- name: bestbuy_agg_merge_wordcount
- name: bestbuy_query
- <<: *compile-amazon2
name: wtdevelop-compile-amazon2
display_name: WT Develop Compile
modules: *modules
expansions:
<<: *compile-expansions
compile-variant: -wtdevelop
tasks:
- name: compile
- name: compile-rhel70
display_name: Compile for Atlas-like
modules: *modules
@@ -1500,54 +1484,3 @@ buildvariants:
- name: linkbench
- name: genny_patch_tasks
- name: genny_auto_tasks
- name: wtdevelop-1-node-replSet
display_name: WT Develop 1-Node ReplSet
batchtime: 10080 # 7 days
modules: *modules
expansions:
mongodb_setup: single-replica
infrastructure_provisioning: single
platform: linux
project_dir: *project_dir
compile-variant: -wtdevelop
authentication: enabled
storageEngine: wiredTiger
run_on:
- "rhel70-perf-single"
depends_on: *_compile_wtdevelop_amazon2
tasks: *1nodetasks
- name: wtdevelop-standalone
display_name: WT Develop Standalone
batchtime: 10080 # 7 days
modules: *modules
expansions:
mongodb_setup: standalone
infrastructure_provisioning: single
platform: linux
project_dir: *project_dir
compile-variant: -wtdevelop
authentication: enabled
storageEngine: wiredTiger
run_on:
- "rhel70-perf-single"
depends_on: *_compile_wtdevelop_amazon2
tasks: *standalonetasks
- name: wtdevelop-3-node-replSet
display_name: WT Develop 3-Node ReplSet
batchtime: 10080 # 7 days
modules: *modules
expansions:
mongodb_setup: replica
infrastructure_provisioning: replica
platform: linux
project_dir: *project_dir
compile-variant: -wtdevelop
authentication: enabled
storageEngine: wiredTiger
run_on:
- "rhel70-perf-replset"
depends_on: *_compile_wtdevelop_amazon2
tasks: *3nodetasks

View File

@@ -42,8 +42,8 @@ function assertBinVersionComparesEqual(v1, v2) {
// The current version is in the 4.5 series. This has to be changed very time we bump
// the major version pair, but it provides a useful test of assumptions.
assertBinVersionsEqual("4.5", version());
assertBinVersionComparesEqual("4.5", version());
assertBinVersionsEqual("4.7", version());
assertBinVersionComparesEqual("4.7", version());
// "latest" is the same version as the shell, "last-lts" is not.
assertBinVersionsEqual("latest", version());