File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,16 @@ ATLAS_CLUSTER_NAME="${_ATLAS_CLOUD_TEST_CLUSTER_NAME:-$DEFAULT_ATLAS_CLOUD_TEST_
6161ATLAS_TEST_DB_USERNAME=" testuser-$RUN_ID "
6262ATLAS_TEST_DB_PASSWORD=" $( head -c 32 /dev/urandom | base64 | tr -dc ' a-zA-Z0-9' ) "
6363
64+ DOCKER_REGISTRY=" artifactory.corp.mongodb.com/dockerhub/library"
65+
6466function atlascli() {
6567 docker run \
6668 -e MCLI_PUBLIC_API_KEY \
6769 -e MCLI_PRIVATE_API_KEY \
6870 -e MCLI_ORG_ID \
6971 -e MCLI_PROJECT_ID \
7072 -e MCLI_OPS_MANAGER_URL \
71- mongodb/atlas atlas $@
73+ $DOCKER_REGISTRY / mongodb/atlas atlas $@
7274}
7375
7476cleanup () {
Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ cleanup() {
2020trap cleanup EXIT
2121
2222# Image name with version
23- IMAGE_NAME=" mongodb/mongodb-atlas-local:$ATLAS_LOCAL_VERSION "
23+ DOCKER_REGISTRY=" artifactory.corp.mongodb.com/dockerhub/library"
24+ IMAGE_NAME=" $DOCKER_REGISTRY /mongodb/mongodb-atlas-local:$ATLAS_LOCAL_VERSION "
2425echo docker run --rm --name $CONTAINER_NAME -d -e DO_NOT_TRACK=1 -P " $IMAGE_NAME "
2526
2627# Start the Docker container
You can’t perform that action at this time.
0 commit comments