Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 695509b

Browse files
author
Ulysses Souza
authored
Merge pull request #634 from ulyssessouza/remove-redundant-envfile
Remove redundant envfile
2 parents 856c60a + 54fa534 commit 695509b

File tree

14 files changed

+197
-55
lines changed

14 files changed

+197
-55
lines changed

Gopkg.lock

Lines changed: 40 additions & 41 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Gopkg.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ required = ["github.com/wadey/gocovmerge"]
3737

3838
[[override]]
3939
name = "github.com/docker/cli"
40-
branch = "19.03"
40+
revision = "83751b978155dc889c35e0e49654f76e7cf8d951"
4141

4242
[[override]]
4343
name = "github.com/deislabs/cnab-go"

e2e/envfile_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,5 @@ services:
2020
COMPANY: mycompany
2121
SOME_FILE: /some/file
2222
USER: myuser
23-
env_file:
24-
- myvars.env
2523
image: busybox:1.30.1`})
2624
}

render/render.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ func render(appPath string, composeContent string, imageMap map[string]bundle.Im
102102
rendered, err := loader.Load(composetypes.ConfigDetails{
103103
WorkingDir: appPath,
104104
ConfigFiles: configFiles,
105-
})
105+
}, loader.WithDiscardEnvFiles)
106106
if err != nil {
107107
return nil, errors.Wrap(err, "failed to load Compose file")
108108
}

0 commit comments

Comments
 (0)