deis / deis/workflow-cli

config:push with .env doesn't handle export or double quotes

Open
#289 4 comments 0 reactions 0 assignees View on GitHub
client v2
Dominant language
Go
Stars
31
Forks
42
PR merge metrics
No merged PRs in 30d

Description

_From @glenwong on June 4, 2015 23:19_

If you have environment variables in your .env file that are surrounded by double quotes or start with an export they aren't handled correctly when pushed to deis. For example:

export REDIS_URL="redis://localhost:6379"

ends up as

export REDIS_URL: "redis://localhost:6379"

Where "export REDIS_URL" is the key and the value is still surrounded by double quotes which can then cause things to fail when the config is referenced.

_Copied from original issue: deis/deis#3796_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.