# buildvariant "mongodump_passthrough_v" is used only for mongodump passthrough testing
#
# This maps to the same amazon2-arm64 platform used for mongosync passthrough testing.

buildvariants:
  # We use a strange name here so that the Build Baron context rules can steer
  # the mongodump passthrough tests, and only those tests, to context "mongodump_passthrough".
  #
  # This name must also match some name in mongo-tools/release/platform/platform.go,
  # so if you change the name here you also need to change that.
  - name: mongodump_passthru_v
    # Use this name to get it sorted near the top of the list in spruce UI.
    display_name: "# V mongodump_passthru_v (arm64)"
    # We don't run passthrough tests for every commit in waterfall.
    # This only runs on manual patches or periodic builds.
    allowed_requesters: ["ad_hoc", "patch"]
    tasks:
      - name: compile_coverage
      - name: compile_verifier
      - name: mongodump_suites_up_to_date
      - name: .mongodump_passthrough_task_generator
    run_on:
      - amazon2-arm64-latest-small
    expansions:
      python_override: /opt/mongodbtoolchain/v4/bin/python3
    modules:
      # git.get_project will only fetch modules that are declared in the variant.
      - migration-verifier
      - mongosync
