e2e: try to load the Make-built crds before the Bazel-built crds
Since bazel-bin systematically exists, the Make-based CRDs were never picked up, since the bazel-bin folder gets recreated on every invocation of Bazel. Signed-off-by: Maël Valais <mael@vls.dev>
This commit is contained in:
parent
8fd19044f2
commit
05f3cf51f1
@ -77,12 +77,12 @@ func CRDDirectory() (string, error) {
|
||||
var dir string
|
||||
var err error
|
||||
|
||||
dir, err = bazelCRDDirectory()
|
||||
dir, err = makefileCRDDirectory()
|
||||
if err == nil {
|
||||
return dir, nil
|
||||
}
|
||||
|
||||
dir, err = makefileCRDDirectory()
|
||||
dir, err = bazelCRDDirectory()
|
||||
if err == nil {
|
||||
return dir, nil
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user