(low priority) I'm having trouble figuring out how...
# troubleshoot
f
(low priority) I'm having trouble figuring out how to fix this issue with whitespace in environment variables. Anyone have some spare time to take a look at it? Basically,
docker compose
v2 is throwing an error when the environment variables have whitespace in them. The command also appears to throw an error when there is a dot (.) in the key of shell variable. Shirshanka mentioned there was just one file to change, but I can't figure out how to do it. I thought about putting escaped quotes around the values in/around line 50 of
generate_docker_quickstart.py
but I dont know how it would affect numerical values like ip addresses or port numbers. Another area I'm unsure of is the Actions/build & test. Its failing at quickstart-compose-validation, but I'm not really getting what's happening. Is the script running
quickstart_docker_quickstart.sh
that is in
docker/quickstart
in order to generate the
temp.quickstart.yml
and generating/comparing it to a fresh copy generated by
generate_docker_quickstart.py
. Or is there something else happening? (Like the temp.quickstart.yml getting pulled from some preconfigured folder out of sight). PR: https://github.com/linkedin/datahub/pull/3522 Any thoughts would be appreciated. If you want to test it on your system load docker, turn on v2 docker compose in the settings and try and run
docker/dev.sh
. In my case, I got an error: https://datahubproject.io/docs/docker/development#unexpected-character
e
Added some comments there
Sorry about the confusion
all yaml files under docker/quickstart should be generated by the python script. Unfortunately, a PR went in for M1 which breaks this contract. Nevertheless, the formatting change for yaml files should by applied through the python script.