-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Eric Mann
committed
May 8, 2017
1 parent
60e2c58
commit 4e6b9a1
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
# The purpose of this file is to install a default | ||
# e3db profile configuration so tests can execute | ||
# against a live server. | ||
|
||
set -e | ||
|
||
# Check if the config is already set | ||
if [ ! -d "$HOME/.tozny/integration-test" ]; then | ||
mkdir -p "$HOME/.tozny/integration-test" | ||
fi | ||
|
||
cat > "$HOME/.tozny/integration-test/e3db.json" <<EOT | ||
{ | ||
"version":1, | ||
"api_url":"${API_URL}", | ||
"api_key_id":"${API_KEY_ID}", | ||
"api_secret":"${API_SECRET}", | ||
"client_id":"${CLIENT_ID}", | ||
"client_email":"${CLIENT_EMAIL}", | ||
"public_key":"${PUBLIC_KEY}", | ||
"private_key":"${PRIVATE_KEY}" | ||
} | ||
EOT |