diff --git a/.evergreen/functions.yml b/.evergreen/functions.yml index b4dc14846d3..3fc873e4cb9 100644 --- a/.evergreen/functions.yml +++ b/.evergreen/functions.yml @@ -683,7 +683,6 @@ functions: env: <<: *compass-env DEBUG: ${debug|} - COMPASS_E2E_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG: 'qa' COMPASS_E2E_ATLAS_CLOUD_SANDBOX_USERNAME: ${e2e_tests_compass_web_atlas_username} COMPASS_E2E_ATLAS_CLOUD_SANDBOX_PASSWORD: ${e2e_tests_compass_web_atlas_password} COMPASS_E2E_ATLAS_CLOUD_SANDBOX_DBUSER_USERNAME: ${e2e_tests_compass_web_atlas_db_username} diff --git a/.evergreen/start-atlas-cloud-cluster.sh b/.evergreen/start-atlas-cloud-cluster.sh index 8f9acaaec2c..0b1b48bd540 100644 --- a/.evergreen/start-atlas-cloud-cluster.sh +++ b/.evergreen/start-atlas-cloud-cluster.sh @@ -95,7 +95,7 @@ atlascli clusters watch $ATLAS_CLUSTER_NAME echo "Getting connection string for provisioned cluster..." CONNECTION_STRINGS_JSON="$(atlascli clusters connectionStrings describe $ATLAS_CLUSTER_NAME -o json)" -export COMPASS_E2e_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG=$( +export COMPASS_E2E_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG=$( if [[ "$MCLI_OPS_MANAGER_URL" =~ "-dev" ]]; then echo "dev" elif [[ "$MCLI_OPS_MANAGER_URL" =~ "-qa" ]]; then @@ -104,7 +104,7 @@ export COMPASS_E2e_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG=$( echo "prod" fi ) -echo "Cloud config: $COMPASS_E2e_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG" +echo "Cloud config: $COMPASS_E2E_ATLAS_CLOUD_SANDBOX_CLOUD_CONFIG" export COMPASS_E2E_ATLAS_CLOUD_SANDBOX_DEFAULT_CONNECTIONS="{\"$ATLAS_CLUSTER_NAME\": $CONNECTION_STRINGS_JSON}" echo "Cluster connections: $COMPASS_E2E_ATLAS_CLOUD_SANDBOX_DEFAULT_CONNECTIONS"