From 65b919cf08d1c760fe8c4a6aa7057377667183e8 Mon Sep 17 00:00:00 2001 From: Joffrey F Date: Mon, 3 Apr 2017 11:54:12 -0700 Subject: [PATCH] Add 3.2 schema to docker-compose.spec Signed-off-by: Joffrey F --- compose/config/errors.py | 4 ++-- docker-compose.spec | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/compose/config/errors.py b/compose/config/errors.py index 0f78d4a94..9b82df0ab 100644 --- a/compose/config/errors.py +++ b/compose/config/errors.py @@ -4,8 +4,8 @@ from __future__ import unicode_literals VERSION_EXPLANATION = ( '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 ' - 'service definitions under the `services` key, or omit the `version` key ' + 'Either specify a supported version ("2.0", "2.1", "3.0", "3.1", "3.2") and place ' + '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 ' 'version 1.\nFor more on the Compose file format versions, see ' 'https://docs.docker.com/compose/compose-file/') diff --git a/docker-compose.spec b/docker-compose.spec index ef0e2593e..f4280dd42 100644 --- a/docker-compose.spec +++ b/docker-compose.spec @@ -42,6 +42,11 @@ exe = EXE(pyz, 'compose/config/config_schema_v3.1.json', 'DATA' ), + ( + 'compose/config/config_schema_v3.2.json', + 'compose/config/config_schema_v3.2.json', + 'DATA' + ), ( 'compose/GITSHA', 'compose/GITSHA',