InstallOLMVersion runs 'operator-sdk olm install' for specific version and returns any errors emitted by that command.
(version string)
| 92 | // InstallOLMVersion runs 'operator-sdk olm install' for specific version |
| 93 | // and returns any errors emitted by that command. |
| 94 | func (tc TestContext) InstallOLMVersion(version string) error { |
| 95 | cmd := exec.Command(tc.BinaryName, "olm", "install", "--version", version, "--timeout", "4m") |
| 96 | _, err := tc.Run(cmd) |
| 97 | return err |
| 98 | } |
| 99 | |
| 100 | // UninstallOLM runs 'operator-sdk olm uninstall' and logs any errors emitted by that command. |
| 101 | func (tc TestContext) UninstallOLM() { |
no test coverage detected