-
-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use bash script for cmd to allow easier switching files run (#767)
- Loading branch information
1 parent
f4d0a54
commit 8ec6f60
Showing
6 changed files
with
24 additions
and
342 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
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 |
---|---|---|
|
@@ -339,6 +339,5 @@ ASALocalRun/ | |
# BeatPulse healthcheck temp database | ||
healthchecksdb | ||
|
||
.idea | ||
.DS_Store | ||
*git.store |
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
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,16 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
command="$1" | ||
if [ -z "$command" ]; then | ||
echo "usage: run [updater-script|fetch_files|update_files]" | ||
exit 1 | ||
fi | ||
|
||
# Tell hex to use the system-wide CA bundle | ||
export HEX_CACERTS_PATH=/etc/ssl/certs/ca-certificates.crt | ||
|
||
# Tell python to use the system-wide CA bundle | ||
export REQUESTS_CA_BUNDLE=/etc/ssl/certs/ca-certificates.crt | ||
|
||
bundle exec ruby "bin/${command}.rb" |