[config] update test-deploy-config to include odd characters
This commit is contained in:
@@ -12,4 +12,5 @@ test_url () {
|
||||
|
||||
base_url="$1"
|
||||
test_url / "config-test"
|
||||
test_url /hello "Hello world"
|
||||
test_url /hello "Hello
|
||||
'world'"
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user