diff options
author | David Bradford <david.bradford@mongodb.com> | 2021-10-25 13:09:12 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-10-25 18:53:26 +0000 |
commit | 7a12fd9ac4550bfb35f2fa5bfb7d193cf8ea6156 (patch) | |
tree | 722c3e8e5459043d9b1c7ec4d04bd08bd767f732 | |
parent | 527670d7a6dd9b156ff21ba3784ecbd39b422aa0 (diff) | |
download | mongo-7a12fd9ac4550bfb35f2fa5bfb7d193cf8ea6156.tar.gz |
SERVER-60971: Remove calls to BF Suggestion servicer5.1.0-rc2
(cherry picked from commit bb31ac84744de48a5013ee747c08ee942e317eb3)
-rw-r--r-- | etc/evergreen.yml | 10 | ||||
-rw-r--r-- | etc/query.yml | 10 | ||||
-rwxr-xr-x | evergreen/functions/bf_suggestion_service_call.sh | 22 |
3 files changed, 0 insertions, 42 deletions
diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 712eaffb0bc..5bd678d2b8c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -714,15 +714,6 @@ functions: - *f_expansions_write - *set_up_remote_credentials - "call BF Suggestion service": - - *f_expansions_write - - command: subprocess.exec - params: - binary: bash - silent: true - args: - - "./src/evergreen/functions/bf_suggestion_service_call.sh" - "upload debugsymbols": &upload_debugsymbols command: s3.put params: @@ -1982,7 +1973,6 @@ post: - func: "attach report" - func: "attach artifacts" - func: "save ec2 task artifacts" - - func: "call BF Suggestion service" - func: "attach wiki page" - func: "kill processes" - func: "save local client logs" diff --git a/etc/query.yml b/etc/query.yml index 4f188133a00..d101006a7b5 100644 --- a/etc/query.yml +++ b/etc/query.yml @@ -680,15 +680,6 @@ functions: - *f_expansions_write - *set_up_remote_credentials - "call BF Suggestion service": - - *f_expansions_write - - command: subprocess.exec - params: - binary: bash - silent: true - args: - - "./src/evergreen/functions/bf_suggestion_service_call.sh" - "upload debugsymbols": &upload_debugsymbols command: s3.put params: @@ -1877,7 +1868,6 @@ post: - func: "attach report" - func: "attach artifacts" - func: "save ec2 task artifacts" - - func: "call BF Suggestion service" - func: "attach wiki page" - func: "kill processes" - func: "save local client logs" diff --git a/evergreen/functions/bf_suggestion_service_call.sh b/evergreen/functions/bf_suggestion_service_call.sh deleted file mode 100755 index ebc3004a6c4..00000000000 --- a/evergreen/functions/bf_suggestion_service_call.sh +++ /dev/null @@ -1,22 +0,0 @@ -DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)" -. "$DIR/../prelude.sh" - -cd src - -report_file="report.json" -# Check if the report file exists and has failures. -if [ -f $report_file ] && grep -Eq "\"failures\": [1-9]" $report_file; then - # Calling the BF Suggestion server endpoint to start feature extraction. - payload="{\"task_id\": \"${task_id}\", \"execution\": ${execution}}" - echo "Sending task info to the BF suggestion service" - # The --user option is passed through stdin to avoid showing in process list. - user_option="--user ${bfsuggestion_user}:${bfsuggestion_password}" - curl --header "Content-Type: application/json" \ - --data "$payload" \ - --max-time 10 \ - --silent \ - --show-error \ - --config - \ - https://bfsuggestion.corp.mongodb.com/tasks <<< $user_option - echo "Request to BF Suggestion service status: $?" -fi |