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

Adds cfpb.env and associated commands to deploy scripts #646

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions deploy/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,3 +112,7 @@ $ANALYTICS_ROOT_PATH/bin/analytics --verbose --write-to-database --output /tmp
# Executive Office of the President
source $ANALYTICS_ROOT_PATH/deploy/envs/executive-office-president.env
$ANALYTICS_ROOT_PATH/bin/analytics --verbose --write-to-database --output /tmp

# Consumer Financial Protection Bureau
source $ANALYTICS_ROOT_PATH/deploy/envs/cfpb.env
$ANALYTICS_ROOT_PATH/bin/analytics --verbose --write-to-database --output /tmp
5 changes: 5 additions & 0 deletions deploy/daily.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,8 @@ $ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=daily --slim --verbose
source $ANALYTICS_ROOT_PATH/deploy/envs/executive-office-president.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=daily --slim --verbose
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=daily --slim --verbose --csv

# Consumer Financial Protection Bureau
source $ANALYTICS_ROOT_PATH/deploy/envs/cfpb.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=daily --slim --verbose
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=daily --slim --verbose --csv
4 changes: 4 additions & 0 deletions deploy/envs/cfpb.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Consumer Financial Protection Bureau
export ANALYTICS_REPORT_IDS="ga:108686116"
export AGENCY_NAME=cfpb
export AWS_BUCKET_PATH=data/cfpb
4 changes: 4 additions & 0 deletions deploy/hourly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,3 +110,7 @@ $ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=hourly --slim --verbose
# Executive Office of the President
source $ANALYTICS_ROOT_PATH/deploy/envs/executive-office-president.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=hourly --slim --verbose

# Consumer Financial Protection Bureau
source $ANALYTICS_ROOT_PATH/deploy/envs/cfpb.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=hourly --slim --verbose
5 changes: 5 additions & 0 deletions deploy/realtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,8 @@ $ANALYTICS_ROOT_PATH/bin/analytics --publish --only=all-pages-realtime --slim --
source $ANALYTICS_ROOT_PATH/deploy/envs/executive-office-president.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=realtime --slim --verbose
$ANALYTICS_ROOT_PATH/bin/analytics --publish --only=all-pages-realtime --slim --verbose --csv

# Consumer Financial Protection Bureau
source $ANALYTICS_ROOT_PATH/deploy/envs/cfpb.env
$ANALYTICS_ROOT_PATH/bin/analytics --publish --frequency=realtime --slim --verbose
$ANALYTICS_ROOT_PATH/bin/analytics --publish --only=all-pages-realtime --slim --verbose --csv