@@ -600,11 +600,17 @@ functions:
600600 COMPASS_E2E_TEST_GROUPS : ${e2e_test_groups}
601601 COMPASS_E2E_TEST_GROUP : ${e2e_test_group}
602602 ATLAS_LOCAL_VERSION : latest
603+ ARTIFACTORY_USERNAME : ${artifactory_username}
604+ ARTIFACTORY_PASSWORD : ${artifactory_password}
605+ DOCKER_REGISTRY : artifactory.corp.mongodb.com
603606 script : |
604607 set -e
605608 # Load environment variables
606609 eval $(.evergreen/print-compass-env.sh)
607610
611+ # Authenticate with the Artifactory docker registry
612+ echo "${ARTIFACTORY_PASSWORD}" | docker login "${DOCKER_REGISTRY}" --username "${ARTIFACTORY_USERNAME}" --password-stdin
613+
608614 # Start atlas local to test Atlas Search
609615 source .evergreen/start-atlas-local.sh
610616
@@ -690,14 +696,24 @@ functions:
690696 MCLI_ORG_ID : ${e2e_tests_mcli_org_id}
691697 MCLI_PROJECT_ID : ${e2e_tests_mcli_project_id}
692698 MCLI_OPS_MANAGER_URL : ${e2e_tests_mcli_ops_manager_url}
699+ ARTIFACTORY_USERNAME : ${artifactory_username}
700+ ARTIFACTORY_PASSWORD : ${artifactory_password}
701+ DOCKER_REGISTRY : artifactory.corp.mongodb.com
693702 script : |
694703 set -e
704+
695705 # Load environment variables
696706 eval $(.evergreen/print-compass-env.sh)
707+
708+ # Authenticate with the Artifactory docker registry
709+ echo "${ARTIFACTORY_PASSWORD}" | docker login "${DOCKER_REGISTRY}" --username "${ARTIFACTORY_USERNAME}" --password-stdin
710+
697711 # Create Atlas cluster for test project
698712 source .evergreen/start-atlas-cloud-cluster.sh
713+
699714 # Run the tests
700715 echo "Starting e2e tests..."
716+
701717 # We're only running a special subset of tests as provisioning atlas
702718 # clusters in CI is both pricey and flakey, so we want to limit the
703719 # coverage to reduce those factors (at least for now)
0 commit comments