From 17371a2c6a91e0426045fdd0ab3455c5b457622a Mon Sep 17 00:00:00 2001 From: gangwgr Date: Tue, 6 Jan 2026 10:51:26 +0530 Subject: [PATCH] Add oc-tests-ext to extension binaries Add support for extracting and running oc-tests-ext from the cli-tests image in the release payload. Changes: - Add cli-tests image tag to extensionBinaries list - Configure binary path as /usr/bin/oc-tests-ext.gz This enables the test framework to automatically: - Extract oc-tests-ext binary from the cli-tests image - Decompress and execute extension tests - Integrate oc CLI tests with the OpenShift test suite The cli-tests image keeps the test binary separate from the main CLI product image, avoiding size bloat while making tests available for CI. --- pkg/test/extensions/binary.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/test/extensions/binary.go b/pkg/test/extensions/binary.go index fb0ab06396f9..0e59358b326a 100644 --- a/pkg/test/extensions/binary.go +++ b/pkg/test/extensions/binary.go @@ -263,6 +263,10 @@ var extensionBinaries = []TestBinary{ imageTag: "cluster-node-tuning-operator", binaryPath: "/usr/bin/cluster-node-tuning-operator-test-ext.gz", }, + { + imageTag: "cli", + binaryPath: "/usr/bin/oc-tests-ext.gz", + }, } // Info returns information about this particular extension.