0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

SERVER-44312: Setup evergreen authentication for performance tests

This commit is contained in:
David Bradford 2019-10-30 21:21:50 +00:00 committed by evergreen
parent 384d11c0ee
commit e9061ddf06
2 changed files with 30 additions and 3 deletions

View File

@ -168,8 +168,21 @@ functions:
- command: shell.exec
params:
working_dir: src
silent: true
script: |
./dsi/run-dsi detect-changes
set -o errexit
# Create the Evergreen API credentials
cat > .evergreen.yml <<END_OF_CREDS
api_server_host: https://evergreen.mongodb.com/api
api_key: "${evergreen_api_key}"
user: "${evergreen_api_user}"
END_OF_CREDS
- command: shell.exec
params:
working_dir: src
script: |
./dsi/run-dsi detect-changes --evergreen-api-config .evergreen.yml
- command: shell.exec
type: test
params:

View File

@ -326,8 +326,22 @@ functions:
- command: shell.exec
params:
working_dir: work
silent: true
script: |
../src/dsi/dsi/run-dsi detect-changes
set -o errexit
# Create the Evergreen API credentials
cat > .evergreen.yml <<END_OF_CREDS
api_server_host: https://evergreen.mongodb.com/api
api_key: "${evergreen_api_key}"
user: "${evergreen_api_user}"
END_OF_CREDS
- command: shell.exec
params:
working_dir: work
script: |
../src/dsi/dsi/run-dsi detect-changes --evergreen-api-config .evergreen.yml
- command: shell.exec
type: test
params:
@ -343,7 +357,7 @@ functions:
params:
working_dir: work
script: |
../src/dsi/dsi/run-dsi detect-outliers
../src/dsi/dsi/run-dsi detect-outliers --evergreen-api-config .evergreen.yml
- command: shell.exec
type: setup
params: