<commit_before>#######################################
#       C Driver Config for MCI       #
#######################################

## Some variables for convenience:

c_driver_variables:

  test_list: &std_tests
    - name: "compile"
    - name: "integration-test-latest"

  ## Note that the in 3.0, the default storage engine is MMAPv1 and
  ## WiredTiger is opt-in, but in latest as of MongoDB 3.1.4, the
  ## default is WiredTiger and MMAPv1 is opt-in.
  storage_engine_test_list: &storage_engine_tests
    - name: "compile"
    - name: "integration-test-3.0"
    - name: "integration-test-3.0-with-WiredTiger"
    - name: "integration-test-latest"
    - name: "integration-test-latest-with-MMAPv1"

  release_archive: &release_archive_builder
    - name: "releasearchive"

  just_compile: &just_compile
    - name: "compile"

  topology_test_list: &topology_tests
    - name: "compile"
    - name: "integration-test-2.4"
    - name: "integration-test-2.4-replica-set"
    - name: "integration-test-2.4-sharded"
    - name: "integration-test-2.6"
    - name: "integration-test-2.6-replica-set"
    - name: "integration-test-2.6-sharded"
    - name: "integration-test-3.0"
    - name: "integration-test-3.0-replica-set"
    - name: "integration-test-3.0-sharded"
    - name: "integration-test-latest"
    - name: "integration-test-latest-replica-set"
    - name: "integration-test-latest-sharded"

  topology_test_no_auth_list: &topology_tests_no_auth
    - name: "compile"
    - name: "integration-test-2.4-no-auth"
    - name: "integration-test-2.4-replica-set-no-auth"
    - name: "integration-test-2.4-sharded-no-auth"
    - name: "integration-test-2.6-no-auth"
    - name: "integration-test-2.6-replica-set-no-auth"
    - name: "integration-test-2.6-sharded-no-auth"
    - name: "integration-test-3.0-no-auth"
    - name: "integration-test-3.0-replica-set-no-auth"
    - name: "integration-test-3.0-sharded-no-auth"
    - name: "integration-test-latest-no-auth"
    - name: "integration-test-latest-replica-set-no-auth"
    - name: "integration-test-latest-sharded-no-auth"

  topology_test_latest: &topology_tests_latest
    - name: "compile"
    - name: "integration-test-latest"
    - name: "integration-test-latest-no-auth"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"
    - name: "integration-test-latest-replica-set"
    - name: "integration-test-latest-replica-set-no-auth"
    - name: "integration-test-latest-sharded"
    - name: "integration-test-latest-sharded-no-auth"

## We don't have OSX SSL (Enterprise) Builds until 3.1.x
  ssl_osx_test_list: &ssl_osx_tests
    - name: "compile"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"

  ssl_test_list: &ssl_tests
    - name: "compile"
    - name: "integration-test-3.0-ssl"
    - name: "integration-test-3.0-ssl-no-auth"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"

## Common download urls (merge in as hashes)
  mongo_download_url_prefixes:
    linuxppc64le: &mongo_url_linuxppc64le
      mongo_url_prefix: "http://downloads.10gen.com/linux/mongodb-linux-ppc64le-enterprise-"
    linux64: &mongo_url_linux64
      mongo_url_prefix: "http://downloads.mongodb.org/linux/mongodb-linux-x86_64-"
    ubuntu1204: &mongo_url_ubuntu1204
      mongo_url_platform: "ubuntu1204-"
      <<: *mongo_url_linux64
    ubuntu1404: &mongo_url_ubuntu1404
      mongo_url_platform: "ubuntu1404-"
      <<: *mongo_url_linux64
    windows64: &mongo_url_windows64
      mongo_url_prefix: "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-"
      mongo_url_platform: ""
    windows32: &mongo_url_windows32
      mongo_url_prefix: "http://downloads.mongodb.org/win32/mongodb-win32-i386-"
    rhel70: &mongo_url_rhel70
      mongo_url_platform: "rhel70-"
      <<: *mongo_url_linux64
    rhel62: &mongo_url_rhel62
      mongo_url_platform: "rhel62-"
      <<: *mongo_url_linux64
    rhel55: &mongo_url_rhel55
      mongo_url_platform: "rhel55-"
      <<: *mongo_url_linux64
    rhel55_32: &mongo_url_rhel55_32
      mongo_url_prefix: "http://downloads.mongodb.org/linux/mongodb-linux-i686-"
    osx-1010: &mongo_url_osx_1010
      mongo_url_prefix: "http://downloads.mongodb.org/osx/mongodb-osx-x86_64-"
    osx-1010: &mongo_url_osx_1010_enterprise
      mongo_url_prefix: "http://downloads.mongodb.com/osx/mongodb-osx-x86_64-enterprise-"
    solaris: &mongo_url_solaris
      mongo_url_prefix: "http://downloads.mongodb.org/sunos5/mongodb-sunos5-x86_64-"
    rhel71_ppc64le: &mongo_url_ppc64le_rhel71
      mongo_url_platform: "rhel71-"
      <<: *mongo_url_linuxppc64le

  ## Common sets of CFLAGS
  cflags:
    standard: &cflags_power8
      cflags: "-mcpu=power8 -mtune=power8 -mcmodel=medium -Werror"
    standard: &cflags_64
      cflags: "-m64 -march=x86-64 -Werror"
    standard_no_werror: &cflags_64_no_werror
      cflags: "-m64 -march=x86-64"
    standard_32: &cflags_32
      cflags: "-m32 -march=i386 -Werror"
    osx_1010: &cflags_osx_1010
      cflags: "-m64 -march=x86-64"
    solaris_64: &cflags_solaris_64
      cflags: "-m64 -march=x86-64"

  ## Extra $PATH entries
  paths:
    unix_path: &unix_path
      extra_path:
    osx_path: &osx_path
      extra_path:
    windows_path: &windows_path
      extra_path: /cygdrive/c/mongo-c-driver/bin:/cygdrive/c/openssl/bin
    solaris_path: &solaris_path
      extra_path: /opt/mongodbtoolchain/bin

  ## Scripts that are shared between buildvariants
  scripts:
    mongo_orchestration:
      windows: &mongo_orchestration_windows
        start_mongo_orchestration: |
          echo "Starting Mongo Orchestration..."
          export MONGO_ORCHESTRATION_HOME=/tmp/orchestration-home
          if [ -f "/cygdrive/c/tmp/orchestration-home/server.pid" ]; then
            echo "Prior Mongo Orchestration?"
            mongo-orchestration stop
          fi
          echo 'foo' > /cygdrive/c/tmp/orchestration-home/server.log
          mkdir -p /cygdrive/c/tmp/orchestration-home
          rm -f /cygdrive/c/$MONGO_ORCHESTRATION_HOME/server.pid
          echo "{ \"releases\": { \"default\": \"c:\\\\mongodb\\\\bin\" }}" > orchestration.config
          mongo-orchestration -f orchestration.config -e default -s wsgiref start --socket-timeout-ms=60000 --bind=127.0.0.1 --enable-majority-read-concern
          curl -s http://localhost:8889/
      unix: &mongo_orchestration_unix
        start_mongo_orchestration: |
          echo "Starting Mongo Orchestration..."
          export MONGO_ORCHESTRATION_HOME=/tmp/orchestration-home
          if [ -f /tmp/orchestration-home/server.pid ]; then
            echo "Prior Mongo Orchestration?"
            mongo-orchestration stop
          fi
          mkdir -p $MONGO_ORCHESTRATION_HOME
          rm -f $MONGO_ORCHESTRATION_HOME/server.pid
          echo "{ \"releases\": { \"default\": \"`pwd`/mongodb/bin\" } }" > orchestration.config
          TMPDIR=/data/db mongo-orchestration -f orchestration.config -e default start --socket-timeout-ms=60000 --bind=127.0.0.1  --enable-majority-read-concern
          curl -s http://localhost:8889/
      start_topology_command: &start_topology_command
        start_topology: |<commit_msg>make orchestration home dir earlier<commit_after>#######################################
#       C Driver Config for MCI       #
#######################################

## Some variables for convenience:

c_driver_variables:

  test_list: &std_tests
    - name: "compile"
    - name: "integration-test-latest"

  ## Note that the in 3.0, the default storage engine is MMAPv1 and
  ## WiredTiger is opt-in, but in latest as of MongoDB 3.1.4, the
  ## default is WiredTiger and MMAPv1 is opt-in.
  storage_engine_test_list: &storage_engine_tests
    - name: "compile"
    - name: "integration-test-3.0"
    - name: "integration-test-3.0-with-WiredTiger"
    - name: "integration-test-latest"
    - name: "integration-test-latest-with-MMAPv1"

  release_archive: &release_archive_builder
    - name: "releasearchive"

  just_compile: &just_compile
    - name: "compile"

  topology_test_list: &topology_tests
    - name: "compile"
    - name: "integration-test-2.4"
    - name: "integration-test-2.4-replica-set"
    - name: "integration-test-2.4-sharded"
    - name: "integration-test-2.6"
    - name: "integration-test-2.6-replica-set"
    - name: "integration-test-2.6-sharded"
    - name: "integration-test-3.0"
    - name: "integration-test-3.0-replica-set"
    - name: "integration-test-3.0-sharded"
    - name: "integration-test-latest"
    - name: "integration-test-latest-replica-set"
    - name: "integration-test-latest-sharded"

  topology_test_no_auth_list: &topology_tests_no_auth
    - name: "compile"
    - name: "integration-test-2.4-no-auth"
    - name: "integration-test-2.4-replica-set-no-auth"
    - name: "integration-test-2.4-sharded-no-auth"
    - name: "integration-test-2.6-no-auth"
    - name: "integration-test-2.6-replica-set-no-auth"
    - name: "integration-test-2.6-sharded-no-auth"
    - name: "integration-test-3.0-no-auth"
    - name: "integration-test-3.0-replica-set-no-auth"
    - name: "integration-test-3.0-sharded-no-auth"
    - name: "integration-test-latest-no-auth"
    - name: "integration-test-latest-replica-set-no-auth"
    - name: "integration-test-latest-sharded-no-auth"

  topology_test_latest: &topology_tests_latest
    - name: "compile"
    - name: "integration-test-latest"
    - name: "integration-test-latest-no-auth"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"
    - name: "integration-test-latest-replica-set"
    - name: "integration-test-latest-replica-set-no-auth"
    - name: "integration-test-latest-sharded"
    - name: "integration-test-latest-sharded-no-auth"

## We don't have OSX SSL (Enterprise) Builds until 3.1.x
  ssl_osx_test_list: &ssl_osx_tests
    - name: "compile"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"

  ssl_test_list: &ssl_tests
    - name: "compile"
    - name: "integration-test-3.0-ssl"
    - name: "integration-test-3.0-ssl-no-auth"
    - name: "integration-test-latest-ssl"
    - name: "integration-test-latest-ssl-no-auth"

## Common download urls (merge in as hashes)
  mongo_download_url_prefixes:
    linuxppc64le: &mongo_url_linuxppc64le
      mongo_url_prefix: "http://downloads.10gen.com/linux/mongodb-linux-ppc64le-enterprise-"
    linux64: &mongo_url_linux64
      mongo_url_prefix: "http://downloads.mongodb.org/linux/mongodb-linux-x86_64-"
    ubuntu1204: &mongo_url_ubuntu1204
      mongo_url_platform: "ubuntu1204-"
      <<: *mongo_url_linux64
    ubuntu1404: &mongo_url_ubuntu1404
      mongo_url_platform: "ubuntu1404-"
      <<: *mongo_url_linux64
    windows64: &mongo_url_windows64
      mongo_url_prefix: "http://downloads.mongodb.org/win32/mongodb-win32-x86_64-"
      mongo_url_platform: ""
    windows32: &mongo_url_windows32
      mongo_url_prefix: "http://downloads.mongodb.org/win32/mongodb-win32-i386-"
    rhel70: &mongo_url_rhel70
      mongo_url_platform: "rhel70-"
      <<: *mongo_url_linux64
    rhel62: &mongo_url_rhel62
      mongo_url_platform: "rhel62-"
      <<: *mongo_url_linux64
    rhel55: &mongo_url_rhel55
      mongo_url_platform: "rhel55-"
      <<: *mongo_url_linux64
    rhel55_32: &mongo_url_rhel55_32
      mongo_url_prefix: "http://downloads.mongodb.org/linux/mongodb-linux-i686-"
    osx-1010: &mongo_url_osx_1010
      mongo_url_prefix: "http://downloads.mongodb.org/osx/mongodb-osx-x86_64-"
    osx-1010: &mongo_url_osx_1010_enterprise
      mongo_url_prefix: "http://downloads.mongodb.com/osx/mongodb-osx-x86_64-enterprise-"
    solaris: &mongo_url_solaris
      mongo_url_prefix: "http://downloads.mongodb.org/sunos5/mongodb-sunos5-x86_64-"
    rhel71_ppc64le: &mongo_url_ppc64le_rhel71
      mongo_url_platform: "rhel71-"
      <<: *mongo_url_linuxppc64le

  ## Common sets of CFLAGS
  cflags:
    standard: &cflags_power8
      cflags: "-mcpu=power8 -mtune=power8 -mcmodel=medium -Werror"
    standard: &cflags_64
      cflags: "-m64 -march=x86-64 -Werror"
    standard_no_werror: &cflags_64_no_werror
      cflags: "-m64 -march=x86-64"
    standard_32: &cflags_32
      cflags: "-m32 -march=i386 -Werror"
    osx_1010: &cflags_osx_1010
      cflags: "-m64 -march=x86-64"
    solaris_64: &cflags_solaris_64
      cflags: "-m64 -march=x86-64"

  ## Extra $PATH entries
  paths:
    unix_path: &unix_path
      extra_path:
    osx_path: &osx_path
      extra_path:
    windows_path: &windows_path
      extra_path: /cygdrive/c/mongo-c-driver/bin:/cygdrive/c/openssl/bin
    solaris_path: &solaris_path
      extra_path: /opt/mongodbtoolchain/bin

  ## Scripts that are shared between buildvariants
  scripts:
    mongo_orchestration:
      windows: &mongo_orchestration_windows
        start_mongo_orchestration: |
          echo "Starting Mongo Orchestration..."
          export MONGO_ORCHESTRATION_HOME=/tmp/orchestration-home
          if [ -f "/cygdrive/c/tmp/orchestration-home/server.pid" ]; then
            echo "Prior Mongo Orchestration?"
            mongo-orchestration stop
          fi
          mkdir -p /cygdrive/c/tmp/orchestration-home
          echo 'foo' > /cygdrive/c/tmp/orchestration-home/server.log
          rm -f /cygdrive/c/$MONGO_ORCHESTRATION_HOME/server.pid
          echo "{ \"releases\": { \"default\": \"c:\\\\mongodb\\\\bin\" }}" > orchestration.config
          mongo-orchestration -f orchestration.config -e default -s wsgiref start --socket-timeout-ms=60000 --bind=127.0.0.1 --enable-majority-read-concern
          curl -s http://localhost:8889/
      unix: &mongo_orchestration_unix
        start_mongo_orchestration: |
          echo "Starting Mongo Orchestration..."
          export MONGO_ORCHESTRATION_HOME=/tmp/orchestration-home
          if [ -f /tmp/orchestration-home/server.pid ]; then
            echo "Prior Mongo Orchestration?"
            mongo-orchestration stop
          fi
          mkdir -p $MONGO_ORCHESTRATION_HOME
          rm -f $MONGO_ORCHESTRATION_HOME/server.pid
          echo "{ \"releases\": { \"default\": \"`pwd`/mongodb/bin\" } }" > orchestration.config
          TMPDIR=/data/db mongo-orchestration -f orchestration.config -e default start --socket-timeout-ms=60000 --bind=127.0.0.1  --enable-majority-read-concern
          curl -s http://localhost:8889/
      start_topology_command: &start_topology_command
        start_topology: |
{'fraction_non_alphanumeric': 0.1397790055248619, 'fraction_numerical': 0.03867403314917127, 'mean_word_length': 2.9837689133425034, 'pattern_counts': {'":': 8, '<': 27, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 21, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1280073', 'n_tokens_mistral': 5809, 'n_tokens_neox': 5353, 'n_words': 810}