stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lasi...@apache.org
Subject stratos git commit: Adding PCA git clone config params to docker
Date Sun, 02 Aug 2015 06:20:21 GMT
Repository: stratos
Updated Branches:
  refs/heads/master 569394863 -> 6c960c7e9


Adding PCA git clone config params to docker


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/6c960c7e
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/6c960c7e
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/6c960c7e

Branch: refs/heads/master
Commit: 6c960c7e964cc55fda8a6401650b89c2b65dd8d1
Parents: 5693948
Author: lasinducharith <lasinducharith@gmail.com>
Authored: Sun Aug 2 11:49:50 2015 +0530
Committer: lasinducharith <lasinducharith@gmail.com>
Committed: Sun Aug 2 11:49:50 2015 +0530

----------------------------------------------------------------------
 .../cartridge-docker-images/base-image/files/run        | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/6c960c7e/tools/docker-images/cartridge-docker-images/base-image/files/run
----------------------------------------------------------------------
diff --git a/tools/docker-images/cartridge-docker-images/base-image/files/run b/tools/docker-images/cartridge-docker-images/base-image/files/run
index b3d9f8f..ee71b11 100755
--- a/tools/docker-images/cartridge-docker-images/base-image/files/run
+++ b/tools/docker-images/cartridge-docker-images/base-image/files/run
@@ -114,6 +114,18 @@ else
 	sed -i "s/ARTFCT_UPDATE_INT/${ARTFCT_UPDATE_INT}/g" ${PCA_HOME}/agent.conf
 fi
 
+if [ -z "${ARTFCT_CLONE_RETRIES}" ]; then
+	sed -i "s/ARTFCT_CLONE_RETRIES/5/g" ${PCA_HOME}/agent.conf
+else
+	sed -i "s/ARTFCT_CLONE_RETRIES/${ARTFCT_CLONE_RETRIES}/g" ${PCA_HOME}/agent.conf
+fi
+
+if [ -z "${ARTFCT_CLONE_INT}" ]; then
+	sed -i "s/ARTFCT_CLONE_INT/10/g" ${PCA_HOME}/agent.conf
+else
+	sed -i "s/ARTFCT_CLONE_INT/${ARTFCT_CLONE_INT}/g" ${PCA_HOME}/agent.conf
+fi
+
 if [ -z "${PORT_CHECK_TIMEOUT}" ]; then
 	sed -i "s/PORT_CHECK_TIMEOUT/600000/g" ${PCA_HOME}/agent.conf
 else


Mime
View raw message