Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Crash on swap with multi-line env vars (container method) #301
What were you trying to do?
run telepresence with
(the version run locally with telepresence will in fact ignore it in favor of a file; but the swapped out version needs the env var; obviously in this case in can be worked around by using e.g.
What did you expect to happen?
The telepresence proxy container to run and proxy the variable, regardless of whether it is a single line or multiple lines
What happened instead?
In general the approach of
I would suggest as an alternative looking at the contents of
Automatically included information
FWIW, this will still not work with the container method because Docker does not support multi-line values in its env-file format. Perhaps we can do something like this comment suggests. In short, for multi-line values, we set the key/value pairs in the calling environment and then pass
We have removed testing of our fixes to this. See tests/parameterize_utils.py:
# XXXX # Container method doesn't support multi-line environment variables. # Therefore disable this for all methods or the container tests all # fail... # XXXX
Let's make that test work correctly when we fix this.