This website requires JavaScript.
Explore
Help
Register
Sign In
tyler.durden
/
compose
mirror of
https://github.com/docker/compose.git
Watch
1
Star
0
Fork
You've already forked compose
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
bbc76e6034
compose
/
tests
/
fixtures
/
extends
/
service-with-invalid-schema...
5 lines
73 B
YAML
Raw
Normal View
History
Unescape
Escape
Validate extended service against our schema Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-08-25 18:54:06 +02:00
myweb
:
extends
:
Split validation into fields and service We want to give feedback to the user as soon as possible about the validity of the config supplied for the services. When extending a service, we can validate that the fields are correct against our schema but we must wait until the *end* of the extends cycle once all of the extended dicts have been merged into the service dict, to perform the final validation check on the config to ensure it is a complete valid service. Doing this before that had happened resulted in false reports of invalid config, as common config when split out, by itself, is not a valid service but *is* valid config to be included. Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-08-28 19:49:17 +02:00
file
:
valid-composite-extends.yml
Validate extended service against our schema Signed-off-by: Mazz Mosley <mazz@houseofmnowster.com>
2015-08-25 18:54:06 +02:00
service
:
web