Advertisement
dcuddihy-acr-me

repair-spammed-staging-events

Feb 17th, 2014
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. # Repair staging events that got spammed by issu-105.
  2. # (These events match the IDs of the spammed events, but have their
  3. # contents taken from staging. The number of events fetched from
  4. # staging matches so we can assume that this script restores all
  5. # spammed events)
  6. set -x
  7.  
  8. echo "Started: " $(date)
  9.  
  10. source /etc/portion.env
  11. source /etc/profile.d/runtime-context.sh
  12.  
  13. echo $RUNTIME_CONTEXT
  14. echo $PYTHONPATH
  15. export PATH=$PATH:/opt/bbthyme/current/bin
  16.  
  17. curl "https://dl.dropboxusercontent.com/s/iqhrn88onhcie8m/prod-events.xml?dl=1&token_hash=AAFD3azqWzATcYjEDaVEZjZKRL_jym8LFhkDsnN3bt1d9Q" | tx-post-deal-events
  18.  
  19. echo "Finished: " $(date)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement