Open johnbizokk opened 5 years ago
Hi @johnbizokk, thank you for filling this issue.
Hi @johnbizokk we tracked that bug and found it is related to the yaml parser which parses strings like "no" or "off" as boolean and render them with their canonical values "true" and "false". Actually this issue has a deeper impact than we initially thought. We are now working on fix but it would take some time. Unfortunately so far I do not have any workaround for the 0.8.0 version 😭
Description
When we try to use
no
as the value of a variable, the docker app interpolates the value as thefalse
. When we cover the value of the variable with single or double quotes - the problem disappears (with the v0.7.3 binary / with the v0.8.0 binary, the workaround does not work).I also attached the working examples - see the Annex №5,6,7,8 below (for v0.7.3).
Steps to reproduce the issue: - v0.7.3
Steps to reproduce the issue: - v0.8.0
Describe the results you received:
Unfortunately, we've got the invalid output. It took some time to figure out why we have got the wrong value in the rendered compose file. As a temporary crutch, we have covered this value with single or double quotes, and we have switched to the older version.
Describe the results you expected:
We expect correct interpolation of the values of the variables from the docker-app binary.
Output of
docker version
:Output of
docker-app version
: - latest binaryOutput of
docker-app version
: - binary in useOutput of
docker info
:Annex №1 (docker-compose.yml) - invalid interpolation - group №1 - v0.7.3
Annex №2 (parameters.yml) - invalid interpolation - group №1 - v0.7.3
Annex №3 (metadata.yml) - invalid interpolation - group №1 - v0.7.3
Annex №4 (stdout output) - invalid interpolation - group №1 - v0.7.3
Annex №5 (docker-compose.yml) - valid interpolation - group №2 - v0.7.3
Annex №6 (parameters.yml) - valid interpolation - group №2 - v0.7.3
Annex №7 (metadata.yml) - valid interpolation - group №2 - v0.7.3
Annex №8 (stdout output) - valid interpolation - group №2 - v0.7.3
Annex №9 (docker-compose.yml) - invalid interpolation - group №3 - v0.8.0
Annex №10 (parameters.yml) - invalid interpolation - group №3 - v0.8.0
Annex №11 (metadata.yml) - invalid interpolation - group №3 - v0.8.0
Annex №12 (stdout output) - invalid interpolation - group №3 - v0.8.0