From 6f935b368d27ee5d52fc57a18c8829c2d2682ec9 Mon Sep 17 00:00:00 2001 From: David Bradford Date: Wed, 30 Oct 2019 22:04:39 +0000 Subject: SERVER-44312: Setup evergreen authentication for performance tests (cherry picked from commit e9061ddf0622ccf379223dbae94d01505e4ee8ce) --- etc/perf.yml | 15 +++++++++++++- etc/system_perf.yml | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 70 insertions(+), 2 deletions(-) diff --git a/etc/perf.yml b/etc/perf.yml index 966303c717f..51b7eddb537 100644 --- a/etc/perf.yml +++ b/etc/perf.yml @@ -157,12 +157,25 @@ functions: dsi_analysis_atlas_pw: "${dsi_analysis_atlas_pw}" EOF chmod 400 runtime_secret.yml + - command: shell.exec + params: + working_dir: src + silent: true + script: | + set -o errexit + + # Create the Evergreen API credentials + cat > .evergreen.yml < .evergreen.yml < post_run_check.status + - command: shell.exec + params: + working_dir: work + script: | + ../src/dsi/dsi/run-dsi detect-outliers --evergreen-api-config .evergreen.yml + - command: shell.exec + type: setup + params: + working_dir: work + script: | + set -o verbose + filename=rejects.json + if [ -s "$filename" ]; then + echo "Rejecting task due to the following outliers:" + cat "$filename" + exit ${detected_outlier_exit_code|0} + fi + - command: shell.exec + type: test + params: + working_dir: work + script: | + set -o verbose + exit $(cat post_run_check.status) + + "upload pip requirements": + command: s3.put + params: + aws_key: ${aws_key} + aws_secret: ${aws_secret} + local_file: pip-requirements.txt + remote_file: ${project}/${build_variant}/${revision}/pip-requirements-${task_id}-${execution}.txt + bucket: mciuploads + permissions: public-read + content_type: atext-plain + display_name: Pip Requirements +>>>>>>> e9061ddf06... SERVER-44312: Setup evergreen authentication for performance tests ####################################### # Tasks # -- cgit v1.2.1