[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"
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
REPO=$2
# setting config variables with spaces is broken at the moment. ref: 820
# ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test HELLO=\"Hello world\"
dokku config:set "$REPO" CONFTEST=config-test HELLO="Hello world"
GREETING=$(printf "Hello
'world'" | base64)
ssh "$REMOTE" config:set "$REPO" CONFTEST=config-test
ssh "$REMOTE" config:set --encoded "$REPO" HELLO="$GREETING"