[rt18107] added better filtering of production servers
authorLiam Whalen <liam.whalen@bc.libraries.coop>
Fri, 13 Dec 2013 23:48:21 +0000 (15:48 -0800)
committerLiam Whalen <liam.whalen@bc.libraries.coop>
Fri, 13 Dec 2013 23:49:54 +0000 (15:49 -0800)
commitc554d43bcaecb329bb3f6c8271c845a53513b1f7
tree6a9a4d1d1c08d0a13917f51ac4dfd7f8d19e0b7e
parentd8d64308bc4139f14d82fb009876d9dd35c34477
[rt18107] added better filtering of production servers

These changes make sure using a server like
app1-1.catalogue.libraries.coop will not deploy currently while testing.
To do this, the script looks at the hostname and compares it to a list
of production servers defined at the start of the script.  If the
hostname is within the list of production servers then it aborts sending
the file.
deployment/git-deploy.sh