summaryrefslogtreecommitdiff
path: root/evergreen
diff options
context:
space:
mode:
authorDavid Bradford <david.bradford@mongodb.com>2022-04-20 11:36:50 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-04-25 13:09:03 +0000
commitc1638c0ae38d4ca3c807af83811bac4fa780f096 (patch)
tree7cb9ee2d9b5bf9697b1383bf422a2b2fba9c3abd /evergreen
parent3fa0fc56ce574b8de2b555d76396b1a7043ffe35 (diff)
downloadmongo-c1638c0ae38d4ca3c807af83811bac4fa780f096.tar.gz
SERVER-64731: Use version level task generation
Diffstat (limited to 'evergreen')
-rw-r--r--evergreen/generate_build_variant.sh15
-rw-r--r--evergreen/generate_version.sh18
2 files changed, 18 insertions, 15 deletions
diff --git a/evergreen/generate_build_variant.sh b/evergreen/generate_build_variant.sh
deleted file mode 100644
index 1c245b6ca72..00000000000
--- a/evergreen/generate_build_variant.sh
+++ /dev/null
@@ -1,15 +0,0 @@
-DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
-. "$DIR/prelude.sh"
-
-cd src
-
-set -o errexit
-
-activate_venv
-PATH=$PATH:$HOME:/ $python buildscripts/evergreen_gen_build_variant.py \
- --expansion-file ../expansions.yml \
- --evg-api-config ./.evergreen.yml \
- --evg-project-config ${evergreen_config_file_path} \
- --output-file ${build_variant}.json \
- --verbose \
- $@
diff --git a/evergreen/generate_version.sh b/evergreen/generate_version.sh
new file mode 100644
index 00000000000..60416385b6e
--- /dev/null
+++ b/evergreen/generate_version.sh
@@ -0,0 +1,18 @@
+DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
+. "$DIR/prelude.sh"
+
+cd src
+
+set -o errexit
+set -o verbose
+
+curl -L https://github.com/mongodb/mongo-task-generator/releases/download/v0.3.0/mongo-task-generator --output mongo-task-generator
+chmod +x mongo-task-generator
+
+activate_venv
+PATH=$PATH:$HOME:/ ./mongo-task-generator \
+ --expansion-file ../expansions.yml \
+ --evg-auth-file ./.evergreen.yml \
+ --evg-project-file ${evergreen_config_file_path} \
+ --generate-sub-tasks-config etc/generate_subtasks_config.yml \
+ $@