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

Commit

Permalink
e2e: fix OLM version skew testing
Browse files Browse the repository at this point in the history
#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.
  • Loading branch information
pohly committed Jan 2, 2022
1 parent 0e10a85 commit c86b761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/deploy/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -1246,7 +1246,7 @@ func EnsureDeploymentNow(f *framework.Framework, deployment *Deployment) {
// generated oln-bundles under /deploy in the source tree.
if deployment.HasOLM {
make := exec.Command("make", "operator-generate-bundle", "VERSION="+tag, "REPO_ROOT="+workRoot)
make.Dir = root
make.Dir = workRoot
make.Env = env
_, err := pmemexec.Run(ctx, make)
framework.ExpectNoError(err, "%s: generate bundle for operator version %s", deployment.Name(), deployment.Version)
Expand Down

0 comments on commit c86b761

Please sign in to comment.