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

Commit

Permalink
Merge pull request #1060 from intel/olm-skew-fix
Browse files Browse the repository at this point in the history
e2e: fix OLM version skew testing
  • Loading branch information
pohly authored Jan 3, 2022
2 parents 70ecb2b + ede0900 commit db5801e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions 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
1 change: 1 addition & 0 deletions test/start-stop-olm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ if [ $cmd == install ]; then
# checks for.
${BIN_DIR}/operator-sdk olm uninstall
${KUBECTL} delete -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${OLM_VERSION}/olm.yaml
${KUBECTL} delete -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/${OLM_VERSION}/crds.yaml
${KUBECTL} delete ns olm
fi
done
Expand Down

0 comments on commit db5801e

Please sign in to comment.