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.
5
5
## Prerequisites
6
6
7
7
See [ 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.
9
9
10
10
## Usage
11
11
@@ -48,5 +48,5 @@ An example task group running on a Linux EVG host might look like:
48
48
If other OSes are needed, use the ` setup-secrets.sh` script in this directory with the full `ec2.assume_role`
49
49
method described in [Secrets Handling](../secrets_handling/README.md).
50
50
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 ()
28
28
ATLAS_BASE_URL=${ATLAS_BASE_URL:- " https://account-dev.mongodb.com/api/atlas/v1.0" }
29
29
TYPE=${DEPLOYMENT_TYPE:- " clusters" }
30
30
echo " Creating new Atlas Deployment in Group $ATLAS_GROUP_ID ..." 1>&2
31
+ echo " Using Atlas base url: $ATLAS_BASE_URL " 1>&2
31
32
RESP=$( curl -sS -L \
32
33
--digest -u " ${ATLAS_PUBLIC_API_KEY} :${ATLAS_PRIVATE_API_KEY} " \
33
34
-d " ${DEPLOYMENT_DATA} " \
Original file line number Diff line number Diff line change 5
5
SCRIPT_DIR=$( dirname ${BASH_SOURCE[0]} )
6
6
. $SCRIPT_DIR /../handle-paths.sh
7
7
pushd $SCRIPT_DIR
8
- VAULT_NAME=" ${1:- atlas-dev } "
8
+ VAULT_NAME=" ${1:- atlas-qa } "
9
9
. $SCRIPT_DIR /../secrets_handling/setup-secrets.sh drivers/$VAULT_NAME
10
10
popd
Original file line number Diff line number Diff line change 3
3
See the [ FaaS Automated Testing specification] ( https://github.com/mongodb/specifications/blob/master/source/faas-automated-testing/faas-automated-testing.rst ) for details.
4
4
5
5
See [ 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
17
17
| drivers/adl | Used in [ ` atlas_data_lake ` ] ( ../atlas_data_lake/README.md ) for Atlas Data Lake testing. |
18
18
| drivers/atlas | Can be manually used in conjunction with [ ` atlas ` ] ( ../atlas/README.md ) to launch an atlas cluster in the prod environment. |
19
19
| 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. |
20
21
| drivers/atlas_connect | Has the URIs used in the Atlas Connect Drivers tests. |
21
22
| drivers/aws_auth | Used in [ ` auth_aws ` ] ( ../auth_aws/README.md ) for AWS Auth testing. |
22
23
| 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