File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed
Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The scripts in this folder are used to setup and teardown Atlas clusters.
55## Prerequisites
66
77See [ Secrets Handling] ( ../secrets_handling/README.md ) for details on how to access the secrets
8- from the ` drivers/atlas-dev ` or ` drivers/atlas ` vault.
8+ from the ` drivers/atlas-qa ` , ` drivers/atlas- dev` or ` drivers/atlas ` vault.
99
1010## Usage
1111
@@ -48,5 +48,5 @@ An example task group running on a Linux EVG host might look like:
4848If other OSes are needed, use the ` setup-secrets.sh` script in this directory with the full `ec2.assume_role`
4949method described in [Secrets Handling](../secrets_handling/README.md).
5050
51- By default, it will use the `drivers/atlas-dev ` credentials for Cloud Dev . You can pass `atlas` to
52- either `setup-secrets.sh` or `setup.sh` to use a Prod environment instead.
51+ By default, it will use the `drivers/atlas-qa ` credentials for Cloud QA . You can pass `atlas` or `atlas-dev ` to
52+ either `setup-secrets.sh` or `setup.sh` to use a Prod or Dev environment instead.
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ create_deployment ()
2828 ATLAS_BASE_URL=${ATLAS_BASE_URL:- " https://account-dev.mongodb.com/api/atlas/v1.0" }
2929 TYPE=${DEPLOYMENT_TYPE:- " clusters" }
3030 echo " Creating new Atlas Deployment in Group $ATLAS_GROUP_ID ..." 1>&2
31+ echo " Using Atlas base url: $ATLAS_BASE_URL " 1>&2
3132 RESP=$( curl -sS -L \
3233 --digest -u " ${ATLAS_PUBLIC_API_KEY} :${ATLAS_PRIVATE_API_KEY} " \
3334 -d " ${DEPLOYMENT_DATA} " \
Original file line number Diff line number Diff line change 55SCRIPT_DIR=$( dirname ${BASH_SOURCE[0]} )
66. $SCRIPT_DIR /../handle-paths.sh
77pushd $SCRIPT_DIR
8- VAULT_NAME=" ${1:- atlas-dev } "
8+ VAULT_NAME=" ${1:- atlas-qa } "
99. $SCRIPT_DIR /../secrets_handling/setup-secrets.sh drivers/$VAULT_NAME
1010popd
Original file line number Diff line number Diff line change 33See the [ FaaS Automated Testing specification] ( https://github.com/mongodb/specifications/blob/master/source/faas-automated-testing/faas-automated-testing.rst ) for details.
44
55See [ Secrets Handling README] ( ../secrets-handling/README.md ) for details on how to access the secrets
6- from the ` drivers/atlas-dev ` vault.
6+ from the ` drivers/atlas-qa ` vault.
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ The `setup-secrets.sh` script in this folder can be used for other vaults such a
1717| drivers/adl | Used in [ ` atlas_data_lake ` ] ( ../atlas_data_lake/README.md ) for Atlas Data Lake testing. |
1818| drivers/atlas | Can be manually used in conjunction with [ ` atlas ` ] ( ../atlas/README.md ) to launch an atlas cluster in the prod environment. |
1919| drivers/atlas-dev | Used in [ ` atlas ` ] ( ../atlas/README.md ) to launch an atlas cluster in the dev environment. |
20+ | drivers/atlas-qa | Used in [ ` atlas ` ] ( ../atlas/README.md ) to launch an atlas cluster in the qa environment. |
2021| drivers/atlas_connect | Has the URIs used in the Atlas Connect Drivers tests. |
2122| drivers/aws_auth | Used in [ ` auth_aws ` ] ( ../auth_aws/README.md ) for AWS Auth testing. |
2223| drives/azurekms | Used in [ ` csfle/azurekms ` ] ( ../csfle/azurekms/README.md ) for Azure KMS testing. |
You can’t perform that action at this time.
0 commit comments