mongodb/mongo-ruby-driver

View on GitHub
.evergreen/config/axes.yml.erb

Summary

Maintainability
Test Coverage
axes:

  - id: preload
    display_name: Preload server
    values:
      - id: nopreload
        display_name: Do not preload
      - id: preload
        display_name: Preload
        variables:
          PRELOAD_ARG: -p

  - id: "mongodb-version"
    display_name: MongoDB Version
    values:
      - id: "latest"
        display_name: "latest"
        variables:
          MONGODB_VERSION: "latest"
      - id: "5.0"
        display_name: "5.0"
        variables:
          MONGODB_VERSION: "5.0"
      - id: "4.4"
        display_name: "4.4"
        variables:
          MONGODB_VERSION: "4.4"
      - id: "4.2"
        display_name: "4.2"
        variables:
          MONGODB_VERSION: "4.2"
      - id: "4.0"
        display_name: "4.0"
        variables:
          MONGODB_VERSION: "4.0"
      - id: "3.6"
        display_name: "3.6"
        variables:
          MONGODB_VERSION: "3.6"

  - id: fcv
    display_name: FCV
    values:
      - id: '3.4'
        display_name: '3.4'
        variables:
          FCV: '3.4'

  - id: "topology"
    display_name: Topology
    values:
      - id: "standalone"
        display_name: Standalone
        variables:
          TOPOLOGY: standalone
      - id: "replica-set"
        display_name: Replica Set
        variables:
          TOPOLOGY: replica-set
      - id: "sharded-cluster"
        display_name: Sharded
        variables:
          TOPOLOGY: sharded-cluster
      - id: "load-balanced"
        display_name: Load Balanced
        variables:
          TOPOLOGY: load-balanced

  - id: "single-mongos"
    display_name: Single Mongos
    values:
      - id: "single-mongos"
        display_name: Single Mongos
        variables:
          SINGLE_MONGOS: 'true'

  - id: "auth-and-ssl"
    display_name: Authentication and SSL
    values:
      - id: "auth-and-ssl"
        display_name: Auth SSL
        variables:
          AUTH: "auth"
          SSL: "ssl"
      - id: "auth-and-nossl"
        display_name: Auth NoSSL
        variables:
          AUTH: "auth"
      - id: "noauth-and-ssl"
        display_name: NoAuth SSL
        variables:
          SSL: "ssl"
      - id: "noauth-and-nossl"
        display_name: NoAuth NoSSL
      - id: "x509"
        display_name: X.509
        variables:
          AUTH: "x509"
          SSL: "ssl"
      - id: kerberos
        display_name: Kerberos
        variables:
          AUTH: kerberos
      - id: aws-regular
        display_name: AWS Auth Regular Credentials
        variables:
          AUTH: aws-regular
      - id: aws-assume-role
        display_name: AWS Auth Assume Role
        variables:
          AUTH: aws-assume-role
      - id: aws-ec2
        display_name: AWS Auth EC2 Role
        variables:
          AUTH: aws-ec2
      - id: aws-ecs
        display_name: AWS Auth ECS Task
        variables:
          AUTH: aws-ecs

  - id: "ruby"
    display_name: Ruby Version
    values:
      - id: "ruby-3.1"
        display_name: ruby-3.1
        variables:
          RVM_RUBY: "ruby-3.1"
      - id: "ruby-3.0"
        display_name: ruby-3.0
        variables:
          RVM_RUBY: "ruby-3.0"
      - id: "ruby-2.7"
        display_name: ruby-2.7
        variables:
          RVM_RUBY: "ruby-2.7"
      - id: "ruby-2.6"
        display_name: ruby-2.6
        variables:
          RVM_RUBY: "ruby-2.6"
      - id: "ruby-2.5"
        display_name: ruby-2.5
        variables:
          RVM_RUBY: "ruby-2.5"
      - id: "ruby-head"
        display_name: ruby-head
        variables:
          RVM_RUBY: "ruby-head"
      - id: "jruby-9.2"
        display_name: jruby-9.2
        variables:
          RVM_RUBY: "jruby-9.2"

  - id: "os"
    display_name: OS
    values:
      - id: ubuntu2004
        display_name: "Ubuntu 20.04"
        run_on: ubuntu2004-small
      - id: ubuntu1804
        display_name: "Ubuntu 18.04"
        run_on: ubuntu1804-small
      - id: ubuntu1604
        display_name: "Ubuntu 16.04"
        run_on: ubuntu1604-small
      - id: rhel80
        display_name: "RHEL 8"
        run_on: rhel80-small
      - id: rhel70
        display_name: "RHEL 7"
        run_on: rhel70-small
      - id: rhel62
        display_name: "RHEL 6"
        run_on: rhel62-small

  - id: docker-distro
    display_name: Docker Distro
    values:
      <% %w(debian92 debian10).each do |distro| %>
        - id: <%= distro %>
          display_name: <%= distro %>
          variables:
            DOCKER_DISTRO: <%= distro %>
      <% end %>

  - id: "compressor"
    display_name: Compressor
    values:
      - id: "zlib"
        display_name: Zlib
        variables:
          COMPRESSOR: "zlib"
      - id: "snappy"
        display_name: Snappy
        variables:
          COMPRESSOR: "snappy"
      - id: "zstd"
        display_name: Zstd
        variables:
          COMPRESSOR: "zstd"

  - id: retry-reads
    display_name: Retry Reads
    values:
      - id: no-retry-reads
        display_name: No Retry Reads
        variables:
          RETRY_READS: 'false'

  - id: retry-writes
    display_name: Retry Writes
    values:
      - id: no-retry-writes
        display_name: No Retry Writes
        variables:
          RETRY_WRITES: 'false'

  - id: lint
    display_name: Lint
    values:
      - id: on
        display_name: On
        variables:
          LINT: '1'

  - id: stress
    display_name: Stress
    values:
      - id: on
        display_name: On
        variables:
          STRESS: '1'

  - id: fork
    display_name: Fork
    values:
      - id: on
        display_name: On
        variables:
          FORK: '1'

  - id: solo
    display_name: Solo
    values:
      - id: on
        display_name: On
        variables:
          SOLO: '1'

  - id: "as"
    display_name: ActiveSupport
    values:
      - id: "as"
        display_name: AS
        variables:
          WITH_ACTIVE_SUPPORT: true

  - id: bson
    display_name: BSON
    values:
      - id: master
        display_name: master
        variables:
          BSON: master
      - id: min
        display_name: min
        variables:
          BSON: min

  - id: storage-engine
    display_name: Storage Engine
    values:
      - id: mmapv1
        display_name: MMAPv1
        run_on: ubuntu1604-small
        variables:
          MMAPV1: 'true'

  - id: "fle"
    display_name: FLE
    values:
      - id: "fle"
        display_name: FLE
        variables:
          FLE: true

  - id: ocsp-algorithm
    display_name: OCSP Algorithm
    values:
      - id: rsa
        display_name: RSA
        variables:
          OCSP_ALGORITHM: rsa
      - id: ecdsa
        display_name: ECDSA
        variables:
          OCSP_ALGORITHM: ecdsa

  - id: ocsp-status
    display_name: OCSP Status
    values:
      - id: valid
        display_name: Valid
      - id: revoked
        display_name: Revoked
        variables:
          OCSP_STATUS: revoked
      - id: unknown
        display_name: Unknown
        variables:
          OCSP_STATUS: unknown

  - id: ocsp-delegate
    display_name: OCSP Delegate
    values:
      - id: on
        display_name: on
        variables:
          OCSP_DELEGATE: 1

  - id: ocsp-must-staple
    display_name: OCSP Must Staple
    values:
      - id: on
        display_name: on
        variables:
          OCSP_MUST_STAPLE: 1

  - id: ocsp-verifier
    display_name: OCSP Verifier
    values:
      - id: true
        display_name: true
        variables:
          OCSP_VERIFIER: 1

  - id: ocsp-connectivity
    display_name: OCSP Connectivity
    values:
      <% %w(pass fail).each do |value| %>
      - id: <%= value %>
        display_name: <%= value %>
        variables:
          OCSP_CONNECTIVITY: <%= value %>
      <% end %>

  - id: extra-uri-options
    display_name: extra URI options
    values:
      - id: none
        display_name: None
      <% %w(tlsInsecure=true tlsAllowInvalidCertificates=true).each do |value| %>
      - id: "<%= value %>"
        variables:
          EXTRA_URI_OPTIONS: "<%= value %>"
      <% end %>

  - id: api-version-required
    display_name: API version required
    values:
      - id: yes
        display_name: Yes
        variables:
          API_VERSION_REQUIRED: 1
      - id: no
        display_name: No