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:
parent
384d11c0ee
commit
e9061ddf06
15
etc/perf.yml
15
etc/perf.yml
@ -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:
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user