Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Substitute parameters before validation #811

Open
eliaskoromilas opened this issue Mar 10, 2021 · 0 comments
Open

Substitute parameters before validation #811

eliaskoromilas opened this issue Mar 10, 2021 · 0 comments

Comments

@eliaskoromilas
Copy link

Description

docker app build/validate does not involve parameter substitution -> false negatives

Steps to reproduce the issue:

  1. docker-compose.yml
version: '3.2'
services:
  hello-world:
    image: hello-world
    volumes:
    - ${test}:/path/to/bar
  1. parameters.yml
test: /path/to/foo
  1. docker app build . / docker app validate

Describe the results you received:

Compose file validation failed:
* can't use relative path as volume source ("${test}:/path/to/bar") in service "hello-world"

Describe the results you expected:

Validated "hello-world.dockerapp"

Output of docker version:

Docker version 20.10.5, build 55c4c88

Output of docker app version:

Version:               v0.9.1-beta3
Git commit:            9d2c67f8
OS/Arch:               linux/amd64
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant