Feat support compose files (#1595)

* fix: support host port and protocol in functional tests

* feat: support compose.yaml and compose.yml files

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: implement functional tests of the support of compose files

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati
2023-04-05 23:29:08 +01:00
committed by GitHub
parent 59d5532181
commit c2a020eb13
6 changed files with 92 additions and 6 deletions
+3 -3
View File
@@ -35,10 +35,10 @@ import (
var (
// DefaultComposeFiles is a list of filenames that kompose will use if no file is explicitly set
DefaultComposeFiles = []string{
"docker-compose.yml",
"compose.yaml",
"compose.yml",
"docker-compose.yaml",
"container-compose.yml",
"container-compose.yaml",
"docker-compose.yml",
}
)