mirror of https://github.com/docker/compose.git
Assume /src/pkg/compose/testdata absolute workingdir to make tests reproducible
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
0ab21a2080
commit
b1a26dac1d
|
@ -114,7 +114,7 @@ func testContainer(service string, id string, oneOff bool) moby.Container {
|
||||||
}
|
}
|
||||||
|
|
||||||
func containerLabels(service string, oneOff bool) map[string]string {
|
func containerLabels(service string, oneOff bool) map[string]string {
|
||||||
workingdir, _ := filepath.Abs("testdata")
|
workingdir := "/src/pkg/compose/testdata"
|
||||||
composefile := filepath.Join(workingdir, "compose.yaml")
|
composefile := filepath.Join(workingdir, "compose.yaml")
|
||||||
labels := map[string]string{
|
labels := map[string]string{
|
||||||
compose.ServiceLabel: service,
|
compose.ServiceLabel: service,
|
||||||
|
|
Loading…
Reference in New Issue