Closed johnbizokk closed 4 years ago
Hello @johnbizokk thank you for catching that 👍 Do you feel confident enough to open a PR with a fix inspired by https://github.com/docker/cli/pull/1973 (I can assist you on it if needed) ? Otherwise I will of course fix it 😄
@silvin-lubecki Thanks for the suggestion. I hope to send the PR in the next couple of days.
Thanks a lot @johnbizokk 👍 Feel free to ask anything if you are blocked.
I opened a PR on the cli for this
Reopening this since we need to update our dependency to get this change.
probably needs to be reopened again; sorry I didn't spot you included it in the commit message, otherwise I'd have warned you for this
No problem :)
Description
The latest version of the Docker CE distribution introduced the schema version (3.8) which supports the new key in the deploy section of the service declaration - max_replicas_per_node. In the meantime, this key doesn't have a related interpolation type in the - interpolate.go. Also, it looks similar to the following issue - https://github.com/docker/app/issues/559.
Steps to reproduce the issue:
Describe the results you received:
Unfortunately, we have received the following errors:
render failed: Action "com.docker.app.render" failed: failed to load Compose file: services.php-fpm.deploy.placement.max_replicas_per_node must be a integer
Describe the results you expected:
We are expecting from the docker app binary to render the values correctly.
Additional information you deem important (e.g. issue happens only occasionally):
Output of
docker version
:Output of
docker app version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.):
Annex №1 (docker-compose.yml)
Annex №2 (parameters.yml)
Annex №3 (metadata.yml)