Skip to content

Commit 7b1a001

Browse files
authored
fix: minor fixes to add-e2e-profiles (#4138)
1 parent 61da863 commit 7b1a001

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

scripts/add-e2e-profiles.sh

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ set -euo pipefail
1919
./bin/atlas config init -P __e2e
2020
./bin/atlas config set output plaintext -P __e2e
2121
./bin/atlas config set telemetry_enabled false -P __e2e
22+
./bin/atlas config set ops_manager_url https://cloud-dev.mongodb.com/ -P __e2e
2223

2324
./bin/atlas config delete __e2e_snapshot --force >/dev/null 2>&1 || true
2425

@@ -28,14 +29,14 @@ CONFIG_PATH=$(./bin/atlas config edit 2>/dev/null)
2829
cat <<EOF >> "$CONFIG_PATH"
2930
3031
[__e2e_snapshot]
31-
org_id = 'a0123456789abcdef012345a'
32-
project_id = 'b0123456789abcdef012345b'
33-
public_api_key = 'ABCDEF01'
34-
private_api_key = '12345678-abcd-ef01-2345-6789abcdef01'
35-
ops_manager_url = 'http://localhost:8080/'
36-
service = 'cloud'
37-
telemetry_enabled = false
38-
output = 'plaintext'
32+
org_id = 'a0123456789abcdef012345a'
33+
project_id = 'b0123456789abcdef012345b'
34+
public_api_key = 'ABCDEF01'
35+
private_api_key = '12345678-abcd-ef01-2345-6789abcdef01'
36+
ops_manager_url = 'http://localhost:8080/'
37+
service = 'cloud'
38+
telemetry_enabled = false
39+
output = 'plaintext'
3940
EOF
4041

4142
echo "Added e2e profiles to $CONFIG_PATH"

0 commit comments

Comments
 (0)