Skip to content

Commit 17371a2

Browse files
committed
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.
1 parent 7d67e51 commit 17371a2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/test/extensions/binary.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,10 @@ var extensionBinaries = []TestBinary{
263263
imageTag: "cluster-node-tuning-operator",
264264
binaryPath: "/usr/bin/cluster-node-tuning-operator-test-ext.gz",
265265
},
266+
{
267+
imageTag: "cli",
268+
binaryPath: "/usr/bin/oc-tests-ext.gz",
269+
},
266270
}
267271

268272
// Info returns information about this particular extension.

0 commit comments

Comments
 (0)