for custom cluster tests (i.e. those not using default docker-compose.yml)
(pkg string)
| 937 | |
| 938 | // for custom cluster tests (i.e. those not using default docker-compose.yml) |
| 939 | func composeFileFor(pkg string) string { |
| 940 | dir := strings.Replace(pkg, "github.com/dgraph-io/dgraph/v25/", "", 1) |
| 941 | // Return the pristine source path; ComposeFileArgs (called from |
| 942 | // startCluster/stopCluster) handles the overlay rewrite + project- |
| 943 | // directory anchoring when the file is in the generator manifest. |
| 944 | return filepath.Join(*baseDir, dir, "docker-compose.yml") |
| 945 | } |
| 946 | |
| 947 | func getPackages() []task { |
| 948 | has := func(list []string, in string) bool { |
no outgoing calls
no test coverage detected