Created
February 12, 2014 08:40
-
-
Save jwalsh/8951929 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 | |
| cd ~/sandbox/autotomie | |
| for A in backend cas user_service payment_service donations dashboard admin | |
| do | |
| echo $A | |
| # We need to force any local modification | |
| cap apps:$A:staging deploy | |
| done | |
| export CURL='curl -s -u booster:booster123' | |
| # is_it_working | |
| $CURL http://do2.sparkcommerce.com/is_it_working | |
| $CURL http://admin.sparkcommerce.com/is_it_working | |
| $CURL http://cas.b.sparkcommerce.com/is_it_working | |
| # Check a simple status | |
| # donations | |
| curl -s -u booster:booster123 http://do2.sparkcommerce.com/ | grep '>Donation<' | |
| # admin | |
| curl -s -u booster:booster123 http://admin.sparkcommerce.com/ | grep 'auth/booster_cas' | |
| # CAS | |
| curl -L -s -u booster:booster123 http://admin.sparkcommerce.com/ | grep '>CasServer<' | |
| # dashboard | |
| curl -s -u booster:booster123 http://dashboard.b.sparkcommerce.com/ | grep '>Dashboard<' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment