Skip to content

Commit 9df7be5

Browse files
committed
cli/compose: add schema 3.12 (no changes with 3.11 yet)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 3e5f6ba commit 9df7be5

8 files changed

Lines changed: 680 additions & 7 deletions

File tree

cli/compose/loader/full-example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.10"
1+
version: "3.12"
22

33
services:
44
foo:

cli/compose/loader/full-struct_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
func fullExampleConfig(workingDir, homeDir string) *types.Config {
1010
return &types.Config{
11-
Version: "3.10",
11+
Version: "3.12",
1212
Services: services(workingDir, homeDir),
1313
Networks: networks(),
1414
Volumes: volumes(),

cli/compose/loader/loader_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ func strPtr(val string) *string {
181181
}
182182

183183
var sampleConfig = types.Config{
184-
Version: "3.11",
184+
Version: "3.12",
185185
Services: []types.ServiceConfig{
186186
{
187187
Name: "foo",

cli/compose/loader/testdata/full-example.json.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@
508508
"working_dir": "/code"
509509
}
510510
},
511-
"version": "3.10",
511+
"version": "3.12",
512512
"volumes": {
513513
"another-volume": {
514514
"name": "user_specified_name",

cli/compose/loader/testdata/full-example.yaml.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3.10"
1+
version: "3.12"
22
services:
33
foo:
44
build:

0 commit comments

Comments
 (0)