Add 3.2 schema to docker-compose.spec

Signed-off-by: Joffrey F <joffrey@docker.com>
This commit is contained in:
Joffrey F 2017-04-03 11:54:12 -07:00
parent 2506b72508
commit 65b919cf08
2 changed files with 7 additions and 2 deletions

View File

@ -4,8 +4,8 @@ from __future__ import unicode_literals
VERSION_EXPLANATION = ( VERSION_EXPLANATION = (
'You might be seeing this error because you\'re using the wrong Compose file version. ' 'You might be seeing this error because you\'re using the wrong Compose file version. '
'Either specify a supported version ("2.0", "2.1", "3.0", "3.1") and place your ' 'Either specify a supported version ("2.0", "2.1", "3.0", "3.1", "3.2") and place '
'service definitions under the `services` key, or omit the `version` key ' 'your service definitions under the `services` key, or omit the `version` key '
'and place your service definitions at the root of the file to use ' 'and place your service definitions at the root of the file to use '
'version 1.\nFor more on the Compose file format versions, see ' 'version 1.\nFor more on the Compose file format versions, see '
'https://docs.docker.com/compose/compose-file/') 'https://docs.docker.com/compose/compose-file/')

View File

@ -42,6 +42,11 @@ exe = EXE(pyz,
'compose/config/config_schema_v3.1.json', 'compose/config/config_schema_v3.1.json',
'DATA' 'DATA'
), ),
(
'compose/config/config_schema_v3.2.json',
'compose/config/config_schema_v3.2.json',
'DATA'
),
( (
'compose/GITSHA', 'compose/GITSHA',
'compose/GITSHA', 'compose/GITSHA',