[config] update test-deploy-config to include odd characters

This commit is contained in:
Alex Quick committed 2017-09-27 23:56:40 -04:00
1 parent 416b499670
commit 21b091ab14
2 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -12,4 +12,5 @@ test_url () {
base_url="$1" base_url="$1"
test_url / "config-test" test_url / "config-test"
test_url /hello "Hello world" test_url /hello "Hello
'world'"
+4 -3
View File
@@ -4,6 +4,7 @@ set -ex;
REMOTE=$1 REMOTE=$1
REPO=$2 REPO=$2
# setting config variables with spaces is broken at the moment. ref: 820 GREETING=$(printf "Hello
# ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test HELLO=\"Hello world\" 'world'" | base64)
dokku config:set "$REPO" CONFTEST=config-test HELLO="Hello world" ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test
ssh "$REMOTE" config:set --encoded "$REPO" HELLO="$GREETING"