summaryrefslogtreecommitdiffstats
path: root/auth/docker/drun.sh
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-08-14 13:55:32 -0500
committerInstrumental <jonathan.gathman@att.com>2018-08-14 13:55:40 -0500
commit567a963d429b04f61692885dc0cd78bdd40210db (patch)
tree4ba6a16945e7b7e9f8cc15b4106e7d4fa4668ee7 /auth/docker/drun.sh
parentffc0215047407cce0f30ca609195658d9efe8715 (diff)
Tag Image for Repo push in Script
Issue-ID: AAF-433 Change-Id: Ifd25242465dd5d202400bafd814db445a01d24f7 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/drun.sh')
-rw-r--r--auth/docker/drun.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh
index c62adfc2..8cedbcc4 100644
--- a/auth/docker/drun.sh
+++ b/auth/docker/drun.sh
@@ -2,6 +2,15 @@
# Pull in Variables from d.props
. ./d.props
+# Only need Cassandra Link Info when initializing the container.
+if [ ! -e ./cass.props ]; then
+ cp cass.props.init cass.props
+ echo "Edit appropriate Cassandra Link Info into cass.props"
+ exit
+fi
+
+. ./cass.props
+
if [ "$1" == "" ]; then
AAF_COMPONENTS=$(ls -r ../aaf_${VERSION}/bin | grep -v '\.')
else