From c2609ed3ed2cc080a8dd8a86ebe5370e5a821f66 Mon Sep 17 00:00:00 2001 From: David Bradford Date: Mon, 25 Oct 2021 13:09:12 -0400 Subject: SERVER-60971: Remove calls to BF Suggestion service (cherry picked from commit bb31ac84744de48a5013ee747c08ee942e317eb3) (cherry picked from commit 7a12fd9ac4550bfb35f2fa5bfb7d193cf8ea6156) (cherry picked from commit 634311b8a994379b727e8e2adec4aa25ab670c5b) (cherry picked from commit 794a300754eab0e53f69a2119ea0f2a722d221e9) (cherry picked from commit 5da2ce69f7c863d14ddd0b1e2d36d2a675785ab2) (cherry picked from commit fb199b640b0419b5f6189f48b62508a98bb6e812) --- etc/evergreen.yml | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/etc/evergreen.yml b/etc/evergreen.yml index 43a8185ce83..e8d250c512c 100644 --- a/etc/evergreen.yml +++ b/etc/evergreen.yml @@ -433,31 +433,6 @@ functions: https_validate_certificates = False EOF - "call BF Suggestion service": - command: shell.exec - params: - working_dir: src - shell: bash - silent: true - script: | - 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 - "upload debugsymbols" : &upload_debugsymbols command: s3.put params: @@ -2068,7 +2043,6 @@ post: - src/archive.json - func: "save ec2 task artifacts" - - func: "call BF Suggestion service" - func: "kill processes" - func: "save local client logs" # Print out any Out of Memory killed process messages. -- cgit v1.2.1