message: Upload mongo orchestration logs to evergreen
diff: @@ -363,6 +363,23 @@ functions:
  content_type: ${content_type|application/x-gzip}
  display_name: "working-dir.tar.gz"
  + "upload mongo orchestration artifacts":
  + - command: shell.exec
  + params:
  + working_dir: "."
  + script: |
  + find . -name \*.log | xargs tar czf mongodb-logs.tar.gz
  + - command: s3.put
  + params:
  + aws_key: ${aws_key}
  + aws_secret: ${aws_secret}
  + local_file: mongodb-logs.tar.gz
  + remote_file: mongo-cxx-driver/${build_variant}/${revision}/${version_id}/${build_id}/logs/${task_id}-${execution}-mongodb-logs.tar.gz
  + bucket: mciuploads
  + permissions: public-read
  + content_type: ${content_type|application/x-gzip}
  + display_name: "mongodb-logs.tar.gz"
  +
  #######################################
  # Pre Task #
  #######################################
  @@ -371,6 +388,7 @@ post:
  - func: "stop_mongod"
  - func: "backtrace"
  - func: "upload working dir"
  + - func: "upload mongo orchestration artifacts"
  #######################################
  # Tasks #
  