Closed johnbizokk closed 5 years ago
Hello @johnbizokk, thank you for this issue 👍
We tracked it down into the docker/cli
compose interpolation library, and the bug lies there. There are some casting instructions for update_config
, but nothing for rollback_config
.
We'll fix this directly in docker/cli
. Thanks again 👍
The fix has been submitted here https://github.com/docker/cli/pull/1973
@silvin-lubecki Hello! Is there any visible date of the next release of the Docker App, which will include the latest fixes (for example - this one)? Is there any release cycle of the Docker App or some interconnection between the Docker App and some significant updates of the Docker CE? From my point of view, the release cycle of the subordinate projects strongly connected to the final release stage of the new Docker CE version.
Hello @johnbizokk , yes right now the release of docker-app
is tight to the docker release, see docker-app as a part of the docker cli.
Description
Currently, we adopt the Docker App project to our software development needs to power up the multiple environments (production, staging, feature branches, etc.). First, we faced was the rendering problem. We can't parameterize the values of the following keys rollback_config - parallelism and max_failure_ratio. We have to store the values for these keys in the docker-compose.yml file. I also tried to replace the values with variables from the other blocks, for example,
"${deploy.update-config.parallelism}"
but have not got any success. Summarizing the above, we have the only one working declaration - see the Annex №3.Steps to reproduce the issue:
docker-app-standalone-linux render
.Describe the results you received:
Unfortunately we receive the following errors:
Error: render failed: Action "com.docker.app.render" failed: failed to load Compose file: services.application-BRANCH_NAME.deploy.rollback_config.max_failure_ratio must be a number
Error: render failed: Action "com.docker.app.render" failed: failed to load Compose file: services.application-BRANCH_NAME.deploy.rollback_config.parallelism must be a integer
Describe the results you expected:
We expect from docker app binary to render values correctly.
Additional information you seem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker-app version
:Output of
docker info
:Annex №1 (docker-compose.yml)
Annex №2 (parameters.yml)
Annex №3 (docker-compose.yml)