openwhisk-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msciaba...@apache.org
Subject [incubator-openwhisk-deploy-kube] branch master updated: propagate DB_PROTOCOL to ansible jobs (#454)
Date Wed, 24 Apr 2019 05:54:12 GMT
This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-deploy-kube.git


The following commit(s) were added to refs/heads/master by this push:
     new 03b073f  propagate DB_PROTOCOL to ansible jobs (#454)
03b073f is described below

commit 03b073f727000a3dff6da931dade1e8a67d9110e
Author: David Grove <dgrove-oss@users.noreply.github.com>
AuthorDate: Wed Apr 24 01:54:08 2019 -0400

    propagate DB_PROTOCOL to ansible jobs (#454)
    
    Fixes #453.
---
 helm/openwhisk/configMapFiles/initCouchDB/initdb.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helm/openwhisk/configMapFiles/initCouchDB/initdb.sh b/helm/openwhisk/configMapFiles/initCouchDB/initdb.sh
index d6171e5..9755f24 100755
--- a/helm/openwhisk/configMapFiles/initCouchDB/initdb.sh
+++ b/helm/openwhisk/configMapFiles/initCouchDB/initdb.sh
@@ -25,6 +25,7 @@ pushd /openwhisk/ansible
     ansible-playbook -i environments/local setup.yml
     ansible-playbook -i environments/local couchdb.yml --tags ini \
                      -e db_prefix=$DB_PREFIX \
+                     -e db_protocol=$DB_PROTOCOL \
                      -e db_host=$DB_HOST \
                      -e db_username=$COUCHDB_USER \
                      -e db_password=$COUCHDB_PASSWORD \
@@ -51,6 +52,7 @@ curl --silent -X PUT -u "$COUCHDB_USER:$COUCHDB_PASSWORD" $DB_PROTOCOL://$DB_HOS
 pushd /openwhisk/ansible
     ansible-playbook -i environments/local initdb.yml \
                      -e db_prefix=$DB_PREFIX \
+                     -e db_protocol=$DB_PROTOCOL \
                      -e db_host=$DB_HOST \
                      -e db_username=$COUCHDB_USER \
                      -e db_password=$COUCHDB_PASSWORD \
@@ -59,6 +61,7 @@ pushd /openwhisk/ansible
 
     ansible-playbook -i environments/local wipe.yml \
                      -e db_prefix=$DB_PREFIX \
+                     -e db_protocol=$DB_PROTOCOL \
                      -e db_host=$DB_HOST \
                      -e db_username=$COUCHDB_USER \
                      -e db_password=$COUCHDB_PASSWORD \


Mime
View raw message