summaryrefslogtreecommitdiff
path: root/evergreen/generate_version.sh
blob: db38741fbbd43973e5484f73d8ca6d3f5699b181 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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.6/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 \
  $@