[Ubuntu] Expand oc only in openshift installation (#3841)

This commit is contained in:
Aleksandr Chebotov
2021-08-03 15:30:56 +03:00
committed by GitHub
parent 32184fd850
commit 0768aa2d0d

View File

@@ -10,6 +10,6 @@ source $HELPER_SCRIPTS/install.sh
DOWNLOAD_URL="https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz"
PACKAGE_TAR_NAME="oc.tar.gz"
download_with_retries $DOWNLOAD_URL "/tmp" $PACKAGE_TAR_NAME
tar xzf "/tmp/$PACKAGE_TAR_NAME" -C "/usr/local/bin"
tar xzf "/tmp/$PACKAGE_TAR_NAME" -C "/usr/local/bin" oc
invoke_tests "CLI.Tools" "OC CLI"