Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ test-conformance:
.PHONY: test-conformance

test-reconciler:
echo "Disabled for now"
sh openshift/e2e-rekt-tests.sh
.PHONY: test-reconciler

# Requires ko 0.2.0 or newer.
Expand Down
26 changes: 26 additions & 0 deletions openshift/patches/018-rekt-test-override-kopublish.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
diff --git a/vendor/knative.dev/reconciler-test/pkg/images/ko.go b/vendor/knative.dev/reconciler-test/pkg/images/ko.go
index adde2080f..ff57c9d6b 100644
--- a/vendor/knative.dev/reconciler-test/pkg/images/ko.go
+++ b/vendor/knative.dev/reconciler-test/pkg/images/ko.go
@@ -16,20 +16,7 @@ limitations under the License.

package images

-import (
- "fmt"
- "os"
-)
-
// Use ko to publish the image.
func KoPublish(path string) (string, error) {
- platform := os.Getenv("PLATFORM")
- if len(platform) > 0 {
- platform = " --platform=" + platform
- }
- out, err := runCmd(fmt.Sprintf("ko publish%s -B %s", platform, path))
- if err != nil {
- return "", err
- }
- return out, nil
+ return "", nil
}