Last active
July 27, 2017 13:34
-
-
Save tobz/03e88ba0c49a6ae7f4fc612aeb8e7fc2 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
# AWS/SSH credentials. | |
export ANSIBLE_PRIVATE_KEY_FILE="~/.ssh/id_rsa" | |
export AWS_ACCESS_KEY_ID="My_ID" | |
export AWS_SECRET_ACCESS_KEY="My_Key" | |
# Workflow configuration. | |
export FROM_DATE=2017-04-01 | |
export TO_DATE=`date +%Y-%m-%d` | |
export NUM_REDUCE_TASKS=4 | |
export WEEKS=4 | |
# Create a new workspace to make sure we're getting a clean run. | |
CURRENT_TS=`date +%s` | |
export WORKSPACE="/tmp/pipeline/run-$CURRENT_TS" | |
mkdir -p $WORKSPACE | |
/var/tmp/analytics/analytics-configuration/automation/run-automated-task.sh --verbose |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment