Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Commit c86b761

Browse files
committed
e2e: fix OLM version skew testing
#1052 simplified the make rules for the OLM bundle. However, that had the effect that those rules now no longer can build the OLM bundle for the previous release, 1.0.1, which caused version skew testing to fail. The solution is to run make in the 1.0.1 source directory and thus use the make rules from that release. This is cleaner, too.
1 parent 0e10a85 commit c86b761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/deploy/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ func EnsureDeploymentNow(f *framework.Framework, deployment *Deployment) {
12461246
// generated oln-bundles under /deploy in the source tree.
12471247
if deployment.HasOLM {
12481248
make := exec.Command("make", "operator-generate-bundle", "VERSION="+tag, "REPO_ROOT="+workRoot)
1249-
make.Dir = root
1249+
make.Dir = workRoot
12501250
make.Env = env
12511251
_, err := pmemexec.Run(ctx, make)
12521252
framework.ExpectNoError(err, "%s: generate bundle for operator version %s", deployment.Name(), deployment.Version)

0 commit comments

Comments
 (0)