Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include an error message if the ppp-infra directory is not linked correctly #1553

Merged
merged 3 commits into from Jan 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .envrc
Expand Up @@ -128,7 +128,7 @@ require HERE_MAPS_APP_ID "See https://docs.google.com/document/d/16ZomLuR6BPEIK4
require HERE_MAPS_APP_CODE "See https://docs.google.com/document/d/16ZomLuR6BPEIK4enfMcqu31oiJYZWNDe9Znyf9e88dg"

# Transcom ppp-infra repo path
require PPP_INFRA_PATH "Set to your local checkout of https://github.com/transcom/ppp-infra (e.g., ~/git/ppp-infra)."
require PPP_INFRA_PATH "Set to your local checkout of https://github.com/transcom/ppp-infra (e.g., ~/your-personal-repo-directory/ppp-infra)."

# GEX integration config
export GEX_BASIC_AUTH_USERNAME="mymovet"
Expand Down Expand Up @@ -166,6 +166,8 @@ fi
if [ -e "$PPP_INFRA_PATH"/transcom-ppp/.envrc ]
then
source_env "$PPP_INFRA_PATH"/transcom-ppp/.envrc
else
log_error "Unable to find the transcom-ppp/.envrc file. Please check PPP_INFRA_PATH if aws commands don't work."
fi

# Check that all required environment variables are set
Expand Down