Test self referencing 'file'
When specifying the 'file' key to a value of it's own name, test that this works and does not cause a false positive circular reference error. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
This commit is contained in:
parent
6a6e7934bd
commit
c6e03d739d
2 changed files with 43 additions and 0 deletions
16
tests/fixtures/extends/specify-file-as-self.yml
vendored
Normal file
16
tests/fixtures/extends/specify-file-as-self.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
myweb:
|
||||
extends:
|
||||
file: specify-file-as-self.yml
|
||||
service: web
|
||||
environment:
|
||||
- "BAR=1"
|
||||
web:
|
||||
extends:
|
||||
file: specify-file-as-self.yml
|
||||
service: otherweb
|
||||
image: busybox
|
||||
environment:
|
||||
- "BAZ=3"
|
||||
otherweb:
|
||||
environment:
|
||||
- "YEP=1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue