Skip to content

Commit

Permalink
Scripts to deploy and monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Butz committed Dec 5, 2019
1 parent 72dfb8e commit c4fd546
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash
set -ex

cf blue-green-deploy apod-proxy
8 changes: 8 additions & 0 deletions monitor.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
set -e

while true; do
curl -s -o /dev/null -w "%{http_code}" http:https://apod-proxy.cfapps.io
printf "\n"
sleep 1
done

0 comments on commit c4fd546

Please sign in to comment.