Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-127

Variables in evergreen yml not correctly passed to mongo-orchestration

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.1
    • Affects Version/s: None
    • Component/s: Testing
    • None

      The evergreen function used to start mongo-orchesteration:

        bootstrap-mongo-orchestration:                                                
          - command: shell.exec                                                       
            params:                                                                   
              script: |                                                               
                ${PREPARE_SHELL}                                                      
                MONGODB_VERSION=${VERSION} TOPOLOGY=${TOPOLOGY} AUTH=${AUTH} SSL=${SSL} sh ${DRIVERS_TOOLS}/.evergreen/run-orchestration.sh
          - command: expansions.update                                                
            params:                                                                   
              file: mo-expansion.yml 
      

      This function requires variables VERSION,TOPOLOGY,AUTH, etc. to determine how to start the cluster.

      Currently, we don't pass args to it, only to the run-tests function, and as a result are not correctly starting up the cluster we think were are.
      Ex:

          - name: test-replicaset-auth-nossl                                          
            tags: ["test", "replicaset"]                                              
            commands:                                                                 
              - func: bootstrap-mongo-orchestration                                   
              - func: run-tests                                                       
                vars:                                                                 
                  TOPOLOGY: "replica_set"                                             
                  AUTH: "auth"                                                        
                  SSL: "nossl"    
      

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            william.banfield William Banfield
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: